vendor/assets/javascripts/webshims/shims/plugins/jquery.ui.position.js in webshims-rails-1.14.5 vs vendor/assets/javascripts/webshims/shims/plugins/jquery.ui.position.js in webshims-rails-1.14.6
- old
+ new
@@ -7,18 +7,10 @@
* http://jquery.org/license
*
* http://api.jqueryui.com/position/
*/
(function( factory ) {
- if ( typeof define === "function" && define.amd ) {
-
- // AMD. Register as an anonymous module.
- define( [ "jquery" ], factory );
- } else {
-
- // Browser globals
- factory( window.webshims && window.webshims.$ || jQuery );
- }
+ factory( window.webshims && window.webshims.$ || jQuery );
}(function( $ ) {
(function() {
$.ui = $.ui || {};