hlzyWeb/obj/Debug/Package/PackageTmp/Admin/js/jquery.gridly.js

(开头部分) 15KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

// Generated by CoffeeScript 1.9.3

/*
jQuery Gridly
Copyright 2015 Kevin Sylvestre
1.2.9
 */
(function() {
  "use strict";
  var $, Animation, Draggable, Gridly,
    bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
    slice = [].slice;

  $ = jQuery;

  Animation = (function() {
    function Animation() {}

    Animation.transitions = {
      "webkitTransition": "webkitTransitionEnd",
      "mozTransition": "mozTransitionEnd",
      "oTransition": "oTransitionEnd",
      "transition": "transitionend"
    };

    Animation.transition = function($el) {
      var el, ref, result, type;
      el = $el[0];
      ref = this.transitions;
      for (type in ref) {
        result = ref[type];
        if (el.style[type] != null) {
          return result;
        }
      }
    };

    Animation.execute = function($el, callback) {
      var transition;
      transition = this.transition($el);
      if (transition != null) {
        return $el.one(transition, callback);
      } else {
        return callback();
      }
    };

    return Animation;

  })();

  Draggable = (function() {
    function Draggable($container, selector, callbacks) {
      this.touchend = bind(this.touchend, this);
      this.click = bind(this.click, this);
      this.moved = bind(this.moved, this);
      this.ended = bind(this.ended, this);
      this.began = bind(this.began, this);
      this.coordinate = bind(this.coordinate, this);
      this.off = bind(this.off, this);
后面还有 429 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。