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
@font-face { | |
font-family: 'fontello'; | |
src: url('../font/fontello.eot?14391850'); | |
src: url('../font/fontello.woff?14391850') format('woff'), | |
url('../font/fontello.ttf?14391850') format('truetype'), | |
url('../font/fontello.svg?14391850#fontello') format('svg'); | |
font-weight: normal; | |
font-style: normal; | |
} | |
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
module.exports = function(config) { | |
config.set({ | |
basePath: '', | |
frameworks: ['jasmine'], | |
files: [ | |
'build/js/**/*.js', | |
'build/tests/**/test_*.js' | |
], | |
exclude: [ | |
], |
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
window.IDE.appControllers.helloworld = function() { | |
time = new Date().toString().match(/(\d\d:\d\d:\d\d)/)[0]; | |
view = new KDCustomHTMLView({ | |
tagName: 'h2', | |
partial: 'HELLO WORLD APP LOADED at ' + time + ' !!!' | |
}); | |
return 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
{ | |
"close_windows_when_empty": false, | |
"color_scheme": "Packages/One Dark Color Scheme/One Dark.tmTheme", | |
"detect_indentation": false, | |
"enable_tab_scrolling": false, | |
"ensure_newline_at_eof_on_save": true, | |
"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/" | |
}, |