From 956ac46dab3acb94af487bfa201595ec16c8bab3 Mon Sep 17 00:00:00 2001 From: Kevin Brown Date: Tue, 17 Feb 2015 14:29:26 -0500 Subject: [PATCH 1/3] Added compatibility with `` tags This adds backwards compatibility back into Select2 for `` tags. The compatibility modules are only available in the full version and will trigger a warning if a hidden input is being used. With the new decorator, Select2 should support the basic operations that it previously did, with the exception of completely overriding the internal objects. As we no longer expose `data` as a writable method, it is no longer possible to completely override the selected data. The state is still managed internally, but in order to prevent data corruption issues in the past, it is not exposed to the public. Some small changes needed to be made to how Select2 was dynamically generating new `