trusty-cms 4.3.4 → 4.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (188) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +8 -6
  3. data/config/database.yml +2 -2
  4. data/coverage/index.html +1 -1
  5. data/lib/trusty_cms/deprecation.rb +13 -0
  6. data/lib/trusty_cms.rb +1 -1
  7. data/node_modules/path-parse/index.js +17 -35
  8. data/node_modules/path-parse/package.json +1 -1
  9. data/node_modules/postcss/CHANGELOG.md +27 -0
  10. data/node_modules/postcss/README.md +21 -0
  11. data/node_modules/postcss/lib/at-rule.js +2 -4
  12. data/node_modules/postcss/lib/comment.js +2 -4
  13. data/node_modules/postcss/lib/container.js +27 -122
  14. data/node_modules/postcss/lib/css-syntax-error.js +5 -7
  15. data/node_modules/postcss/lib/declaration.js +2 -4
  16. data/node_modules/postcss/lib/input.js +3 -5
  17. data/node_modules/postcss/lib/lazy-result.js +10 -17
  18. data/node_modules/postcss/lib/map-generator.js +10 -17
  19. data/node_modules/postcss/lib/node.js +2 -4
  20. data/node_modules/postcss/lib/parser.js +2 -4
  21. data/node_modules/postcss/lib/postcss.d.ts +25 -19
  22. data/node_modules/postcss/lib/previous-map.js +17 -6
  23. data/node_modules/postcss/lib/processor.js +16 -15
  24. data/node_modules/postcss/lib/result.js +2 -4
  25. data/node_modules/postcss/lib/root.js +10 -17
  26. data/node_modules/postcss/lib/rule.js +2 -4
  27. data/node_modules/postcss/lib/stringifier.js +2 -4
  28. data/node_modules/postcss/lib/warning.js +2 -4
  29. data/node_modules/postcss/package.json +16 -12
  30. data/spec/dummy/log/test.log +542 -443
  31. data/spec/dummy/tmp/cache/747/A70/TrustyCms%3A%3AConfig +0 -0
  32. data/spec/dummy/tmp/cache/85C/FA0/TrustyCms.cache_mtime +1 -1
  33. data/trusty-cms-5.0.0.gem +0 -0
  34. metadata +4 -306
  35. data/node_modules/path-parse/test.js +0 -77
  36. data/node_modules/postcss/docs/api/assets/scripts.min.js +0 -8
  37. data/node_modules/postcss/docs/api/assets/styles.min.css +0 -1
  38. data/node_modules/postcss/docs/api/index.html +0 -22716
  39. data/spec/dummy/log/development.log +0 -158
  40. data/spec/dummy/node_modules/jquery/AUTHORS.txt +0 -327
  41. data/spec/dummy/node_modules/jquery/LICENSE.txt +0 -20
  42. data/spec/dummy/node_modules/jquery/README.md +0 -62
  43. data/spec/dummy/node_modules/jquery/bower.json +0 -14
  44. data/spec/dummy/node_modules/jquery/dist/jquery.js +0 -10872
  45. data/spec/dummy/node_modules/jquery/dist/jquery.min.js +0 -2
  46. data/spec/dummy/node_modules/jquery/dist/jquery.min.map +0 -1
  47. data/spec/dummy/node_modules/jquery/dist/jquery.slim.js +0 -8777
  48. data/spec/dummy/node_modules/jquery/dist/jquery.slim.min.js +0 -2
  49. data/spec/dummy/node_modules/jquery/dist/jquery.slim.min.map +0 -1
  50. data/spec/dummy/node_modules/jquery/external/sizzle/LICENSE.txt +0 -36
  51. data/spec/dummy/node_modules/jquery/external/sizzle/dist/sizzle.js +0 -2478
  52. data/spec/dummy/node_modules/jquery/external/sizzle/dist/sizzle.min.js +0 -3
  53. data/spec/dummy/node_modules/jquery/external/sizzle/dist/sizzle.min.map +0 -1
  54. data/spec/dummy/node_modules/jquery/package.json +0 -117
  55. data/spec/dummy/node_modules/jquery/src/ajax/jsonp.js +0 -103
  56. data/spec/dummy/node_modules/jquery/src/ajax/load.js +0 -77
  57. data/spec/dummy/node_modules/jquery/src/ajax/script.js +0 -74
  58. data/spec/dummy/node_modules/jquery/src/ajax/var/location.js +0 -5
  59. data/spec/dummy/node_modules/jquery/src/ajax/var/nonce.js +0 -5
  60. data/spec/dummy/node_modules/jquery/src/ajax/var/rquery.js +0 -5
  61. data/spec/dummy/node_modules/jquery/src/ajax/xhr.js +0 -170
  62. data/spec/dummy/node_modules/jquery/src/ajax.js +0 -873
  63. data/spec/dummy/node_modules/jquery/src/attributes/attr.js +0 -141
  64. data/spec/dummy/node_modules/jquery/src/attributes/classes.js +0 -186
  65. data/spec/dummy/node_modules/jquery/src/attributes/prop.js +0 -143
  66. data/spec/dummy/node_modules/jquery/src/attributes/support.js +0 -33
  67. data/spec/dummy/node_modules/jquery/src/attributes/val.js +0 -191
  68. data/spec/dummy/node_modules/jquery/src/attributes.js +0 -13
  69. data/spec/dummy/node_modules/jquery/src/callbacks.js +0 -236
  70. data/spec/dummy/node_modules/jquery/src/core/DOMEval.js +0 -43
  71. data/spec/dummy/node_modules/jquery/src/core/access.js +0 -72
  72. data/spec/dummy/node_modules/jquery/src/core/camelCase.js +0 -23
  73. data/spec/dummy/node_modules/jquery/src/core/init.js +0 -129
  74. data/spec/dummy/node_modules/jquery/src/core/isAttached.js +0 -26
  75. data/spec/dummy/node_modules/jquery/src/core/nodeName.js +0 -13
  76. data/spec/dummy/node_modules/jquery/src/core/parseHTML.js +0 -65
  77. data/spec/dummy/node_modules/jquery/src/core/parseXML.js +0 -30
  78. data/spec/dummy/node_modules/jquery/src/core/ready-no-deferred.js +0 -97
  79. data/spec/dummy/node_modules/jquery/src/core/ready.js +0 -86
  80. data/spec/dummy/node_modules/jquery/src/core/readyException.js +0 -13
  81. data/spec/dummy/node_modules/jquery/src/core/stripAndCollapse.js +0 -14
  82. data/spec/dummy/node_modules/jquery/src/core/support.js +0 -20
  83. data/spec/dummy/node_modules/jquery/src/core/toType.js +0 -20
  84. data/spec/dummy/node_modules/jquery/src/core/var/rsingleTag.js +0 -7
  85. data/spec/dummy/node_modules/jquery/src/core.js +0 -400
  86. data/spec/dummy/node_modules/jquery/src/css/addGetHookIf.js +0 -26
  87. data/spec/dummy/node_modules/jquery/src/css/adjustCSS.js +0 -74
  88. data/spec/dummy/node_modules/jquery/src/css/curCSS.js +0 -65
  89. data/spec/dummy/node_modules/jquery/src/css/finalPropName.js +0 -42
  90. data/spec/dummy/node_modules/jquery/src/css/hiddenVisibleSelectors.js +0 -15
  91. data/spec/dummy/node_modules/jquery/src/css/showHide.js +0 -105
  92. data/spec/dummy/node_modules/jquery/src/css/support.js +0 -133
  93. data/spec/dummy/node_modules/jquery/src/css/var/cssExpand.js +0 -5
  94. data/spec/dummy/node_modules/jquery/src/css/var/getStyles.js +0 -17
  95. data/spec/dummy/node_modules/jquery/src/css/var/isHiddenWithinTree.js +0 -34
  96. data/spec/dummy/node_modules/jquery/src/css/var/rboxStyle.js +0 -7
  97. data/spec/dummy/node_modules/jquery/src/css/var/rnumnonpx.js +0 -7
  98. data/spec/dummy/node_modules/jquery/src/css/var/swap.js +0 -26
  99. data/spec/dummy/node_modules/jquery/src/css.js +0 -494
  100. data/spec/dummy/node_modules/jquery/src/data/Data.js +0 -162
  101. data/spec/dummy/node_modules/jquery/src/data/var/acceptData.js +0 -19
  102. data/spec/dummy/node_modules/jquery/src/data/var/dataPriv.js +0 -7
  103. data/spec/dummy/node_modules/jquery/src/data/var/dataUser.js +0 -7
  104. data/spec/dummy/node_modules/jquery/src/data.js +0 -180
  105. data/spec/dummy/node_modules/jquery/src/deferred/exceptionHook.js +0 -21
  106. data/spec/dummy/node_modules/jquery/src/deferred.js +0 -399
  107. data/spec/dummy/node_modules/jquery/src/deprecated/ajax-event-alias.js +0 -22
  108. data/spec/dummy/node_modules/jquery/src/deprecated/event.js +0 -48
  109. data/spec/dummy/node_modules/jquery/src/deprecated.js +0 -87
  110. data/spec/dummy/node_modules/jquery/src/dimensions.js +0 -57
  111. data/spec/dummy/node_modules/jquery/src/effects/Tween.js +0 -125
  112. data/spec/dummy/node_modules/jquery/src/effects/animatedSelector.js +0 -15
  113. data/spec/dummy/node_modules/jquery/src/effects.js +0 -701
  114. data/spec/dummy/node_modules/jquery/src/event/focusin.js +0 -58
  115. data/spec/dummy/node_modules/jquery/src/event/support.js +0 -11
  116. data/spec/dummy/node_modules/jquery/src/event/trigger.js +0 -201
  117. data/spec/dummy/node_modules/jquery/src/event.js +0 -892
  118. data/spec/dummy/node_modules/jquery/src/exports/amd.js +0 -26
  119. data/spec/dummy/node_modules/jquery/src/exports/global.js +0 -34
  120. data/spec/dummy/node_modules/jquery/src/jquery.js +0 -41
  121. data/spec/dummy/node_modules/jquery/src/manipulation/_evalUrl.js +0 -32
  122. data/spec/dummy/node_modules/jquery/src/manipulation/buildFragment.js +0 -106
  123. data/spec/dummy/node_modules/jquery/src/manipulation/getAll.js +0 -32
  124. data/spec/dummy/node_modules/jquery/src/manipulation/setGlobalEval.js +0 -22
  125. data/spec/dummy/node_modules/jquery/src/manipulation/support.js +0 -41
  126. data/spec/dummy/node_modules/jquery/src/manipulation/var/rscriptType.js +0 -5
  127. data/spec/dummy/node_modules/jquery/src/manipulation/var/rtagName.js +0 -8
  128. data/spec/dummy/node_modules/jquery/src/manipulation/wrapMap.js +0 -30
  129. data/spec/dummy/node_modules/jquery/src/manipulation.js +0 -480
  130. data/spec/dummy/node_modules/jquery/src/offset.js +0 -238
  131. data/spec/dummy/node_modules/jquery/src/queue/delay.js +0 -24
  132. data/spec/dummy/node_modules/jquery/src/queue.js +0 -145
  133. data/spec/dummy/node_modules/jquery/src/selector-native.js +0 -241
  134. data/spec/dummy/node_modules/jquery/src/selector-sizzle.js +0 -19
  135. data/spec/dummy/node_modules/jquery/src/selector.js +0 -3
  136. data/spec/dummy/node_modules/jquery/src/serialize.js +0 -136
  137. data/spec/dummy/node_modules/jquery/src/traversing/findFilter.js +0 -97
  138. data/spec/dummy/node_modules/jquery/src/traversing/var/dir.js +0 -22
  139. data/spec/dummy/node_modules/jquery/src/traversing/var/rneedsContext.js +0 -8
  140. data/spec/dummy/node_modules/jquery/src/traversing/var/siblings.js +0 -17
  141. data/spec/dummy/node_modules/jquery/src/traversing.js +0 -198
  142. data/spec/dummy/node_modules/jquery/src/var/ObjectFunctionString.js +0 -7
  143. data/spec/dummy/node_modules/jquery/src/var/arr.js +0 -5
  144. data/spec/dummy/node_modules/jquery/src/var/class2type.js +0 -6
  145. data/spec/dummy/node_modules/jquery/src/var/document.js +0 -5
  146. data/spec/dummy/node_modules/jquery/src/var/documentElement.js +0 -7
  147. data/spec/dummy/node_modules/jquery/src/var/flat.js +0 -16
  148. data/spec/dummy/node_modules/jquery/src/var/fnToString.js +0 -7
  149. data/spec/dummy/node_modules/jquery/src/var/getProto.js +0 -5
  150. data/spec/dummy/node_modules/jquery/src/var/hasOwn.js +0 -7
  151. data/spec/dummy/node_modules/jquery/src/var/indexOf.js +0 -7
  152. data/spec/dummy/node_modules/jquery/src/var/isFunction.js +0 -13
  153. data/spec/dummy/node_modules/jquery/src/var/isWindow.js +0 -8
  154. data/spec/dummy/node_modules/jquery/src/var/pnum.js +0 -5
  155. data/spec/dummy/node_modules/jquery/src/var/push.js +0 -7
  156. data/spec/dummy/node_modules/jquery/src/var/rcheckableType.js +0 -5
  157. data/spec/dummy/node_modules/jquery/src/var/rcssNum.js +0 -9
  158. data/spec/dummy/node_modules/jquery/src/var/rnothtmlwhite.js +0 -8
  159. data/spec/dummy/node_modules/jquery/src/var/slice.js +0 -7
  160. data/spec/dummy/node_modules/jquery/src/var/support.js +0 -6
  161. data/spec/dummy/node_modules/jquery/src/var/toString.js +0 -7
  162. data/spec/dummy/node_modules/jquery/src/wrap.js +0 -78
  163. data/spec/dummy/node_modules/jquery-ui-bundle/AUTHORS.txt +0 -333
  164. data/spec/dummy/node_modules/jquery-ui-bundle/LICENSE.txt +0 -43
  165. data/spec/dummy/node_modules/jquery-ui-bundle/external/jquery/jquery.js +0 -11008
  166. data/spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_444444_256x240.png +0 -0
  167. data/spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_555555_256x240.png +0 -0
  168. data/spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_777620_256x240.png +0 -0
  169. data/spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_777777_256x240.png +0 -0
  170. data/spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_cc0000_256x240.png +0 -0
  171. data/spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_ffffff_256x240.png +0 -0
  172. data/spec/dummy/node_modules/jquery-ui-bundle/index.html +0 -559
  173. data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.css +0 -1312
  174. data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.js +0 -18706
  175. data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.min.css +0 -7
  176. data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.min.js +0 -13
  177. data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.structure.css +0 -886
  178. data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.structure.min.css +0 -5
  179. data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.theme.css +0 -443
  180. data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.theme.min.css +0 -5
  181. data/spec/dummy/node_modules/jquery-ui-bundle/package.json +0 -33
  182. data/spec/dummy/node_modules/jquery-ujs/CONTRIBUTING.md +0 -109
  183. data/spec/dummy/node_modules/jquery-ujs/MIT-LICENSE +0 -20
  184. data/spec/dummy/node_modules/jquery-ujs/README.md +0 -86
  185. data/spec/dummy/node_modules/jquery-ujs/RELEASE.md +0 -23
  186. data/spec/dummy/node_modules/jquery-ujs/bower.json +0 -19
  187. data/spec/dummy/node_modules/jquery-ujs/package.json +0 -26
  188. data/spec/dummy/node_modules/jquery-ujs/src/rails.js +0 -555
@@ -1,87 +0,0 @@
1
- define( [
2
- "./core",
3
- "./core/nodeName",
4
- "./core/camelCase",
5
- "./core/toType",
6
- "./var/isFunction",
7
- "./var/isWindow",
8
- "./var/slice",
9
-
10
- "./deprecated/ajax-event-alias",
11
- "./deprecated/event"
12
- ], function( jQuery, nodeName, camelCase, toType, isFunction, isWindow, slice ) {
13
-
14
- "use strict";
15
-
16
- // Support: Android <=4.0 only
17
- // Make sure we trim BOM and NBSP
18
- var rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;
19
-
20
- // Bind a function to a context, optionally partially applying any
21
- // arguments.
22
- // jQuery.proxy is deprecated to promote standards (specifically Function#bind)
23
- // However, it is not slated for removal any time soon
24
- jQuery.proxy = function( fn, context ) {
25
- var tmp, args, proxy;
26
-
27
- if ( typeof context === "string" ) {
28
- tmp = fn[ context ];
29
- context = fn;
30
- fn = tmp;
31
- }
32
-
33
- // Quick check to determine if target is callable, in the spec
34
- // this throws a TypeError, but we will just return undefined.
35
- if ( !isFunction( fn ) ) {
36
- return undefined;
37
- }
38
-
39
- // Simulated bind
40
- args = slice.call( arguments, 2 );
41
- proxy = function() {
42
- return fn.apply( context || this, args.concat( slice.call( arguments ) ) );
43
- };
44
-
45
- // Set the guid of unique handler to the same of original handler, so it can be removed
46
- proxy.guid = fn.guid = fn.guid || jQuery.guid++;
47
-
48
- return proxy;
49
- };
50
-
51
- jQuery.holdReady = function( hold ) {
52
- if ( hold ) {
53
- jQuery.readyWait++;
54
- } else {
55
- jQuery.ready( true );
56
- }
57
- };
58
- jQuery.isArray = Array.isArray;
59
- jQuery.parseJSON = JSON.parse;
60
- jQuery.nodeName = nodeName;
61
- jQuery.isFunction = isFunction;
62
- jQuery.isWindow = isWindow;
63
- jQuery.camelCase = camelCase;
64
- jQuery.type = toType;
65
-
66
- jQuery.now = Date.now;
67
-
68
- jQuery.isNumeric = function( obj ) {
69
-
70
- // As of jQuery 3.0, isNumeric is limited to
71
- // strings and numbers (primitives or objects)
72
- // that can be coerced to finite numbers (gh-2662)
73
- var type = jQuery.type( obj );
74
- return ( type === "number" || type === "string" ) &&
75
-
76
- // parseFloat NaNs numeric-cast false positives ("")
77
- // ...but misinterprets leading-number strings, particularly hex literals ("0x...")
78
- // subtraction forces infinities to NaN
79
- !isNaN( obj - parseFloat( obj ) );
80
- };
81
-
82
- jQuery.trim = function( text ) {
83
- return text == null ?
84
- "" :
85
- ( text + "" ).replace( rtrim, "" );
86
- };
87
- } );
@@ -1,57 +0,0 @@
1
- define( [
2
- "./core",
3
- "./core/access",
4
- "./var/isWindow",
5
- "./css"
6
- ], function( jQuery, access, isWindow ) {
7
-
8
- "use strict";
9
-
10
- // Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods
11
- jQuery.each( { Height: "height", Width: "width" }, function( name, type ) {
12
- jQuery.each( { padding: "inner" + name, content: type, "": "outer" + name },
13
- function( defaultExtra, funcName ) {
14
-
15
- // Margin is only for outerHeight, outerWidth
16
- jQuery.fn[ funcName ] = function( margin, value ) {
17
- var chainable = arguments.length && ( defaultExtra || typeof margin !== "boolean" ),
18
- extra = defaultExtra || ( margin === true || value === true ? "margin" : "border" );
19
-
20
- return access( this, function( elem, type, value ) {
21
- var doc;
22
-
23
- if ( isWindow( elem ) ) {
24
-
25
- // $( window ).outerWidth/Height return w/h including scrollbars (gh-1729)
26
- return funcName.indexOf( "outer" ) === 0 ?
27
- elem[ "inner" + name ] :
28
- elem.document.documentElement[ "client" + name ];
29
- }
30
-
31
- // Get document width or height
32
- if ( elem.nodeType === 9 ) {
33
- doc = elem.documentElement;
34
-
35
- // Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height],
36
- // whichever is greatest
37
- return Math.max(
38
- elem.body[ "scroll" + name ], doc[ "scroll" + name ],
39
- elem.body[ "offset" + name ], doc[ "offset" + name ],
40
- doc[ "client" + name ]
41
- );
42
- }
43
-
44
- return value === undefined ?
45
-
46
- // Get width or height on the element, requesting but not forcing parseFloat
47
- jQuery.css( elem, type, extra ) :
48
-
49
- // Set width or height on the element
50
- jQuery.style( elem, type, value, extra );
51
- }, type, chainable ? margin : undefined, chainable );
52
- };
53
- } );
54
- } );
55
-
56
- return jQuery;
57
- } );
@@ -1,125 +0,0 @@
1
- define( [
2
- "../core",
3
- "../css/finalPropName",
4
-
5
- "../css"
6
- ], function( jQuery, finalPropName ) {
7
-
8
- "use strict";
9
-
10
- function Tween( elem, options, prop, end, easing ) {
11
- return new Tween.prototype.init( elem, options, prop, end, easing );
12
- }
13
- jQuery.Tween = Tween;
14
-
15
- Tween.prototype = {
16
- constructor: Tween,
17
- init: function( elem, options, prop, end, easing, unit ) {
18
- this.elem = elem;
19
- this.prop = prop;
20
- this.easing = easing || jQuery.easing._default;
21
- this.options = options;
22
- this.start = this.now = this.cur();
23
- this.end = end;
24
- this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" );
25
- },
26
- cur: function() {
27
- var hooks = Tween.propHooks[ this.prop ];
28
-
29
- return hooks && hooks.get ?
30
- hooks.get( this ) :
31
- Tween.propHooks._default.get( this );
32
- },
33
- run: function( percent ) {
34
- var eased,
35
- hooks = Tween.propHooks[ this.prop ];
36
-
37
- if ( this.options.duration ) {
38
- this.pos = eased = jQuery.easing[ this.easing ](
39
- percent, this.options.duration * percent, 0, 1, this.options.duration
40
- );
41
- } else {
42
- this.pos = eased = percent;
43
- }
44
- this.now = ( this.end - this.start ) * eased + this.start;
45
-
46
- if ( this.options.step ) {
47
- this.options.step.call( this.elem, this.now, this );
48
- }
49
-
50
- if ( hooks && hooks.set ) {
51
- hooks.set( this );
52
- } else {
53
- Tween.propHooks._default.set( this );
54
- }
55
- return this;
56
- }
57
- };
58
-
59
- Tween.prototype.init.prototype = Tween.prototype;
60
-
61
- Tween.propHooks = {
62
- _default: {
63
- get: function( tween ) {
64
- var result;
65
-
66
- // Use a property on the element directly when it is not a DOM element,
67
- // or when there is no matching style property that exists.
68
- if ( tween.elem.nodeType !== 1 ||
69
- tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) {
70
- return tween.elem[ tween.prop ];
71
- }
72
-
73
- // Passing an empty string as a 3rd parameter to .css will automatically
74
- // attempt a parseFloat and fallback to a string if the parse fails.
75
- // Simple values such as "10px" are parsed to Float;
76
- // complex values such as "rotate(1rad)" are returned as-is.
77
- result = jQuery.css( tween.elem, tween.prop, "" );
78
-
79
- // Empty strings, null, undefined and "auto" are converted to 0.
80
- return !result || result === "auto" ? 0 : result;
81
- },
82
- set: function( tween ) {
83
-
84
- // Use step hook for back compat.
85
- // Use cssHook if its there.
86
- // Use .style if available and use plain properties where available.
87
- if ( jQuery.fx.step[ tween.prop ] ) {
88
- jQuery.fx.step[ tween.prop ]( tween );
89
- } else if ( tween.elem.nodeType === 1 && (
90
- jQuery.cssHooks[ tween.prop ] ||
91
- tween.elem.style[ finalPropName( tween.prop ) ] != null ) ) {
92
- jQuery.style( tween.elem, tween.prop, tween.now + tween.unit );
93
- } else {
94
- tween.elem[ tween.prop ] = tween.now;
95
- }
96
- }
97
- }
98
- };
99
-
100
- // Support: IE <=9 only
101
- // Panic based approach to setting things on disconnected nodes
102
- Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = {
103
- set: function( tween ) {
104
- if ( tween.elem.nodeType && tween.elem.parentNode ) {
105
- tween.elem[ tween.prop ] = tween.now;
106
- }
107
- }
108
- };
109
-
110
- jQuery.easing = {
111
- linear: function( p ) {
112
- return p;
113
- },
114
- swing: function( p ) {
115
- return 0.5 - Math.cos( p * Math.PI ) / 2;
116
- },
117
- _default: "swing"
118
- };
119
-
120
- jQuery.fx = Tween.prototype.init;
121
-
122
- // Back compat <1.8 extension point
123
- jQuery.fx.step = {};
124
-
125
- } );
@@ -1,15 +0,0 @@
1
- define( [
2
- "../core",
3
- "../selector",
4
- "../effects"
5
- ], function( jQuery ) {
6
-
7
- "use strict";
8
-
9
- jQuery.expr.pseudos.animated = function( elem ) {
10
- return jQuery.grep( jQuery.timers, function( fn ) {
11
- return elem === fn.elem;
12
- } ).length;
13
- };
14
-
15
- } );