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
new Vue({ | |
el: '#app', | |
methods: { | |
validate() { | |
VueValidator(this, () => { | |
console.log('single input is valid'); | |
}); | |
} | |
} | |
}) |
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
$white_foo_bar: #FFF; | |
$map: ( | |
foo: 'foo', | |
bar: 'bar', | |
baz: 'white', | |
foowhite: 'foowhitecolor' | |
); | |
@mixin foo($type) { |
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
//import the selenium web driver | |
var webdriver = require('selenium-webdriver'); | |
var chromeCapabilities = webdriver.Capabilities.chrome(); | |
//setting chrome options to start the browser fully maximized | |
var chromeOptions = { | |
'args': ['--test-type', '--start-maximized'] | |
}; | |
chromeCapabilities.set('chromeOptions', chromeOptions); | |
var driver = new webdriver.Builder().withCapabilities(chromeCapabilities).build(); |
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
{ | |
"name": "themeswitch", | |
"version": "0.0.1", | |
"description": "Easily switch between your two predefined themes for Sublime Text.", | |
"dependencies": {}, | |
"devDependencies": { | |
"coffee-script": "^1.9.3", | |
"json-format": "0.0.1" | |
}, | |
"author": "Fatih Acet <[email protected]>" |
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/" | |
}, |
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
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
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
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
module.exports = (grunt) -> | |
grunt.initConfig | |
coffee : | |
options : | |
bare : yes | |
src : | |
files : [ | |
expand : yes |
NewerOlder