This file contains 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
Show hidden characters
{ | |
"color_scheme": "Packages/Colorsublime-Themes/deep_blue_see.tmTheme", | |
"enable_tab_scrolling": false, | |
"env": { | |
"PATH": "/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/share/npm/bin/" | |
}, | |
"folder_exclude_patterns": [ | |
".svn", | |
".git", | |
".hg", |
This file contains 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
console.clear() | |
diff = (a, b) -> | |
deleted = [] | |
added = [] | |
# deleted.push item for item in a when b.indexOf(item) is -1 | |
# added.push item for item in b when a.indexOf(item) is -1 | |
clone = b.slice 0 |
This file contains 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
class CoffeetojsMainView extends KDView | |
constructor: (options = {}, data) -> | |
super options, data | |
@loading = new KDLoaderView | |
size : | |
width : 48 | |
showLoader : yes |
This file contains 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
goog.provide 'spark.components.Modal' | |
goog.require 'spark.core.View' | |
goog.require 'spark.components.Overlay' | |
class spark.components.Modal extends spark.core.View | |
###* |
This file contains 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
acetz:fe-ci facet$ npm init | |
This utility will walk you through creating a package.json file. | |
It only covers the most common items, and tries to guess sane defaults. | |
See `npm help json` for definitive documentation on these fields | |
and exactly what they do. | |
Use `npm install <pkg> --save` afterwards to install a package and | |
save it as a dependency in the package.json file. |
This file contains 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
module.exports = (grunt) -> | |
grunt.initConfig | |
grunt.loadNpmTasks 'grunt-npm' | |
grunt.registerTask 'default', 'Default task',-> | |
grunt.task.run [] |
This file contains 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
module.exports = (grunt) -> | |
grunt.initConfig | |
coffee : | |
options : | |
bare : yes | |
src : | |
files : [ | |
expand : yes |
This file contains 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
class Box | |
###* | |
Class for representing a box. A box is specified as a top, right, bottom | |
and left. | |
@constructor | |
@param {Object} options Options object to hold top, right, bottom | |
and left values. | |
### |
This file contains 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
describe 'Box', -> | |
beforeEach -> | |
box = new Box | |
top : 200 | |
right : 400 | |
bottom : 400 | |
left : 100 | |
This file contains 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
var fio = {}; | |
fio.deneme = function(xxx){ | |
alert(xxx); | |
} | |
var oldfunction = fio.deneme; | |
fio.deneme = function(){ |
OlderNewer