更新: | 2013-11-05 |
---|---|
バージョン: | 0.1.7 |
作者: | @voluntas |
URL: | http://voluntas.github.io/ |
概要
@interface NSObject (Debounce) | |
- (void)debounce:(SEL)action delay:(NSTimeInterval)delay; | |
@end |
define(['utils', 'template'], function (Utils, JST) { | |
'use strict'; | |
function render() { | |
// テンプレート使ってレンダリングする例 | |
$('#target').html(JST['app/templates/fuga.ejs'], {images: [],....}); | |
// 画像を60px * 60pxの枠に納めるとする | |
var adjustFn = Utils.createImageAdjustFn(60, 60); | |
$('#target .profile img').on('load', function() { |
更新: | 2013-11-05 |
---|---|
バージョン: | 0.1.7 |
作者: | @voluntas |
URL: | http://voluntas.github.io/ |
概要