ある数値を監視してブレークポイントリスト内のインデックスと値を返す人。
ブレークポイントをまたいだらファイヤーします。
Backbone.js使えば半分以下になるに違いない。
きがむいたらちゃんと体裁を整える。
/** | |
* Grunt task for pngquant | |
* ----------------------- | |
*/ | |
// @example: | |
// | |
// pngquant: { | |
// options: { | |
// preserve_mtime: true |
(function($, undefined){ | |
/** | |
* Get all custom attributes | |
* @param HTMLElement el | |
* @return Object | |
*/ | |
$.getAttributes = function(el){ | |
var $el, data, add, i; | |
$el = $(el); |
(function($){ | |
/** | |
* Detect support of css transition, event name | |
*/ | |
$.support.transitionInfo = (function(){ | |
var el, names, name, info = null; | |
el = document.createElement("div"); | |
names = { | |
"WebkitTransition": "webkitTransitionEnd", |
(function($){ | |
/** | |
* Detect supports | |
*/ | |
$.support.touchEvents = "ontouchstart" in document; | |
$.support.msPointerEvents = window.navigator.msPointerEnabled; | |
/** | |
* Swipe event object |
(function(win, doc){ | |
var Assets = function(){ | |
this.items = []; | |
this.nodes = []; | |
this.attrs = { | |
callback: null, | |
append: true | |
}; | |
}; |
(function(win, doc){ | |
/** | |
* Namespace | |
* --------- | |
*/ | |
var ns = win._harvest = {}; | |
/** | |
* Loader |
(function($, win, doc){ | |
$.peekaboo = { | |
DATA_INIT: "peekabooInit", | |
DATA_MODE_FULL: "peekabooFullMode", | |
DATA_SHOW: "peekabooShow", | |
EVENT_SHOW: "peekabooShow", | |
EVENT_HIDE: "peekabooHide", |
(function(global){ | |
/** | |
* ZenHan | |
* ------ | |
*/ | |
var ZenHan = Backbone.Model.extend({ | |
/** | |
* Attributes: |
(function($, doc){ | |
/** | |
* vmlImage | |
* -------- | |
*/ | |
var vmlImage = { | |
/** | |
* Attributes: |
ある数値を監視してブレークポイントリスト内のインデックスと値を返す人。
ブレークポイントをまたいだらファイヤーします。
Backbone.js使えば半分以下になるに違いない。
きがむいたらちゃんと体裁を整える。