浏览代码

Spy some more jQuery functions : animations

Gaël Métais 10 年之前
父节点
当前提交
5732a8ffc8
共有 1 个文件被更改,包括 13 次插入1 次删除
  1. 13 1
      lib/tools/phantomas/custom_modules/modules/jQYLT/jQYLT.js

+ 13 - 1
lib/tools/phantomas/custom_modules/modules/jQYLT/jQYLT.js

@@ -55,6 +55,19 @@ exports.module = function(phantomas) {
         'scrollLeft',
         'scrollTop',
 
+        // Animations
+        'hide',
+        'show',
+        'toggle',
+        'animate',
+        'fadeIn',
+        'fadeOut',
+        'fadeTo',
+        'fadeToggle',
+        'slideDown',
+        'slideUp',
+        'slideToggle',
+
         // generic events
         'on',
         'off',
@@ -91,7 +104,6 @@ exports.module = function(phantomas) {
         'scroll',
         'select',
         'submit',
-        'toggle',
         'unload',
 
         // attributes