This website requires JavaScript.
Explore
Help
Sign In
RetailCRM-Mirror
/
select2
Watch
1
Star
0
Fork
0
You've already forked select2
mirror of
synced
2024-11-23 05:26:10 +03:00
Code
Issues
Projects
Releases
Wiki
Activity
f26cc14874
select2
/
.jshintignore
5 lines
74 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Overhaul of the AMD integration Now we do not have separate AMD builds, instead we use a UMD wrapper to support both AMD and CommonJS environments along with the browser. This has been tested with RequireJS and it correctly imports Select2 and hooks into jQuery. This means that all builds will include the Almond AMD loader, but this isn't that much of an issue when you consider the file sizes. The loader is namespaced so RequireJS and other AMD builders don't complain about `require` and `define` existing. This is also done so AMD loaders don't conflict, as Select2's AMD loader should operate independently of others. There are now two layers of wrappers that are applied to files, only one of which is used for the translation files. This allows us to only load in the internal Select2 modules once, and in general makes most things cleaner. These have also been pulled out into individual JS files instead of being stored in JSON files, allowing us to add comments and make things look readable. Because we use a few hacks, these files are heavily commented as well. This closes https://github.com/select2/select2/issues/2945. This closes https://github.com/select2/select2/issues/2946.
2015-03-15 02:05:24 +03:00
src/js/banner.*.js
src/js/wrapper.*.js
Added very basic jshint config
2014-09-21 23:21:43 +04:00
tests/vendor/*.js
Fix undefined variables There were a few undefined variables being referenced within the Select2 code. The JSHint configuration has been modified to fail if there are undefined variables being referenced, including any global variables. There is an exception that is being made for the jQuery shim, as it must try to find the global jQuery references. An exception is made for the test helpers, as the SauceLabs reporting variables are not camelCase, and would normally trigger warnings. This closes https://github.com/select2/select2/pull/3028.
2015-02-14 06:49:54 +03:00
tests/helpers.js
Reference in New Issue
Copy Permalink