This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getStyle(obj, name){ | |
return (obj.currentStyle || getComputedStyle(obj, false))[name]; | |
} | |
function startMove(obj,json, options){ | |
clearInterval(obj.timer); | |
var json= json || {}; | |
var options= options || {}; | |
options.time = options.time || 700; | |
options.type = options.type || 'ease-out'; | |
var count= Math.floor(options.time/30); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
h1. Sublime Text 2 - Useful Shortcuts (Mac OS X) | |
h2. General | |
| *⌘T* | go to file | | |
| *⌘⌃P* | go to project | | |
| *⌘R* | go to methods | | |
| *⌃G* | go to line | | |
| *⌘KB* | toggle side bar | | |
| *⌘⇧P* | command prompt | |