projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website]
/
web
/
core
/
assets
/
vendor
/
jquery-once
/
jquery.once.js
diff --git
a/web/core/assets/vendor/jquery-once/jquery.once.js
b/web/core/assets/vendor/jquery-once/jquery.once.js
index 471dd535cde286fd587ebe6c13a52f21396d945a..f0ed4d0a4b9c4b42001ef8e99869795ee78aa31f 100644
(file)
--- a/
web/core/assets/vendor/jquery-once/jquery.once.js
+++ b/
web/core/assets/vendor/jquery-once/jquery.once.js
@@
-1,5
+1,5
@@
/*!
/*!
- * jQuery Once v2.
1.1
- http://github.com/robloach/jquery-once
+ * jQuery Once v2.
2.0
- http://github.com/robloach/jquery-once
* @license MIT, GPL-2.0
* http://opensource.org/licenses/MIT
* http://opensource.org/licenses/GPL-2.0
* @license MIT, GPL-2.0
* http://opensource.org/licenses/MIT
* http://opensource.org/licenses/GPL-2.0
@@
-29,7
+29,7
@@
/* globals jQuery */
factory(jQuery);
}
/* globals jQuery */
factory(jQuery);
}
-}(function ($) {
+}
)
(function ($) {
'use strict';
/**
'use strict';
/**
@@
-40,13
+40,13
@@
*
* @returns The valid ID name.
*
*
* @returns The valid ID name.
*
- * @throws Error when an ID is provided, but not a string.
+ * @throws
Type
Error when an ID is provided, but not a string.
* @private
*/
var checkId = function (id) {
id = id || 'once';
if (typeof id !== 'string') {
* @private
*/
var checkId = function (id) {
id = id || 'once';
if (typeof id !== 'string') {
- throw new Error('The jQuery Once id parameter must be a string');
+ throw new
Type
Error('The jQuery Once id parameter must be a string');
}
return id;
};
}
return id;
};
@@
-173,4
+173,4
@@
return $(this).data(name) === true;
});
};
return $(this).data(name) === true;
});
};
-})
)
;
+});