vendor/assets/javascripts/greensock/plugins/AttrPlugin.js in greensock-rails-1.12.1.0 vs vendor/assets/javascripts/greensock/plugins/AttrPlugin.js in greensock-rails-1.13.1.0
- old
+ new
@@ -1,24 +1,25 @@
/*!
- * VERSION: 0.3.2
- * DATE: 2014-05-23
+ * VERSION: 0.3.3
+ * DATE: 2014-07-17
* UPDATES AND DOCS AT: http://www.greensock.com
*
* @license Copyright (c) 2008-2014, GreenSock. All rights reserved.
* This work is subject to the terms at http://www.greensock.com/terms_of_use.html or for
* Club GreenSock members, the software agreement that was issued with your membership.
*
* @author: Jack Doyle, jack@greensock.com
*/
-(window._gsQueue || (window._gsQueue = [])).push( function() {
+var _gsScope = (typeof(module) !== "undefined" && module.exports && typeof(global) !== "undefined") ? global : this || window; //helps ensure compatibility with AMD/RequireJS and CommonJS/Node
+(_gsScope._gsQueue || (_gsScope._gsQueue = [])).push( function() {
"use strict";
- window._gsDefine.plugin({
+ _gsScope._gsDefine.plugin({
propName: "attr",
API: 2,
- version: "0.3.2",
+ version: "0.3.3",
//called when the tween renders for the first time. This is where initial values should be recorded and any setup routines should run.
init: function(target, value, tween) {
var p, start, end;
if (typeof(target.setAttribute) !== "function") {
@@ -50,6 +51,6 @@
}
}
});
-}); if (window._gsDefine) { window._gsQueue.pop()(); }
+}); if (_gsScope._gsDefine) { _gsScope._gsQueue.pop()(); }
\ No newline at end of file