id stringlengths 34 124 | type stringclasses 4
values | prompt stringlengths 0 4.95k | response stringlengths 21 4.89k | source_lang stringclasses 3
values | target_lang stringclasses 2
values | repo stringclasses 75
values | path stringlengths 10 88 | license stringclasses 1
value | commit stringlengths 40 40 | stars int64 431 18.7k | source_url stringlengths 86 176 | line_start int64 1 214 | line_end int64 3 253 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
gss/engine:Gruntfile.coffee:4:raw_corpus | raw_corpus | # Grunt plugins used for testing
@loadNpmTasks 'grunt-coffeelint'
@loadNpmTasks 'grunt-mocha-phantomjs'
@loadNpmTasks 'grunt-contrib-watch'
# Cross-browser testing in the cloud
@loadNpmTasks 'grunt-contrib-connect'
@loadNpmTasks 'grunt-saucelabs'
@registerTask 'build', ['coffeelint:src', 'coffeelint:bun... | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | be430ea249f8030e11c8e03a8e170dcc8b8cf5fb | 2,854 | https://github.com/gss/engine/blob/be430ea249f8030e11c8e03a8e170dcc8b8cf5fb/Gruntfile.coffee | 151 | 164 | ||
gss/engine:Gruntfile.coffee:4:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
# Grunt plugins used for testing
@loadNpmTasks 'grunt-coffeelint'
@loadNpmTasks 'grunt-mocha-phantomjs'
@loadNpmTasks 'grunt-contrib-watch'
# Cross-browser testing in the cloud
@loadNpmTasks 'grunt-contrib-connect'
@loadNpmTasks 'grunt-saucelabs'
... | // Grunt plugins used for testing
this.loadNpmTasks('grunt-coffeelint');
this.loadNpmTasks('grunt-mocha-phantomjs');
this.loadNpmTasks('grunt-contrib-watch');
// Cross-browser testing in the cloud
this.loadNpmTasks('grunt-contrib-connect');
this.loadNpmTasks('grunt-saucelabs');
this.registerTask('build', ['coffeel... | CoffeeScript | JavaScript | gss/engine | Gruntfile.coffee | MIT | be430ea249f8030e11c8e03a8e170dcc8b8cf5fb | 2,854 | https://github.com/gss/engine/blob/be430ea249f8030e11c8e03a8e170dcc8b8cf5fb/Gruntfile.coffee | 151 | 164 |
gss/engine:Gruntfile.coffee:4:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
// Grunt plugins used for testing
this.loadNpmTasks('grunt-coffeelint');
this.loadNpmTasks('grunt-mocha-phantomjs');
this.loadNpmTasks('grunt-contrib-watch');
// Cross-browser testing in the cloud
this.loadNpmTasks('grunt-contrib-connect');
this.loadNpmTasks('g... | # Grunt plugins used for testing
@loadNpmTasks 'grunt-coffeelint'
@loadNpmTasks 'grunt-mocha-phantomjs'
@loadNpmTasks 'grunt-contrib-watch'
# Cross-browser testing in the cloud
@loadNpmTasks 'grunt-contrib-connect'
@loadNpmTasks 'grunt-saucelabs'
@registerTask 'build', ['coffeelint:src', 'coffeelint:bun... | JavaScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | be430ea249f8030e11c8e03a8e170dcc8b8cf5fb | 2,854 | https://github.com/gss/engine/blob/be430ea249f8030e11c8e03a8e170dcc8b8cf5fb/Gruntfile.coffee | 151 | 164 |
gss/engine:Gruntfile.coffee:4:completion | completion | # Grunt plugins used for testing
@loadNpmTasks 'grunt-coffeelint'
@loadNpmTasks 'grunt-mocha-phantomjs'
@loadNpmTasks 'grunt-contrib-watch'
# Cross-browser testing in the cloud
@loadNpmTasks 'grunt-contrib-connect' | @loadNpmTasks 'grunt-saucelabs'
@registerTask 'build', ['coffeelint:src', 'coffeelint:bundle', 'clean:dist', 'browserify:dist', 'uglify:dist', 'usebanner:dist']
@registerTask 'test', ['coffeelint:spec', 'clean:spec', 'browserify:spec', 'build', 'phantom']
@registerTask 'phantom', ['connect', 'mocha_phantomjs']
... | CoffeeScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | be430ea249f8030e11c8e03a8e170dcc8b8cf5fb | 2,854 | https://github.com/gss/engine/blob/be430ea249f8030e11c8e03a8e170dcc8b8cf5fb/Gruntfile.coffee | 151 | 164 |
gss/engine:Gruntfile.coffee:1:raw_corpus | raw_corpus | module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
clean:
nuke_components:
src: ['components/*/']
nuke_bower:
src: ['bower_components']
nuke_built:
src: ['dist']
browserify:
dist:
files:
'dist/gss... | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 1374bde72eebf209fe469386f7acb7d91fa920fb | 2,854 | https://github.com/gss/engine/blob/1374bde72eebf209fe469386f7acb7d91fa920fb/Gruntfile.coffee | 1 | 50 | ||
gss/engine:Gruntfile.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
clean:
nuke_components:
src: ['components/*/']
nuke_bower:
src: ['bower_components']
nuke_built:
src: ['dist']
b... | module.exports = function() {
// Project configuration
return this.initConfig({
pkg: this.file.readJSON('package.json'),
clean: {
nuke_components: {
src: ['components/*/']
},
nuke_bower: {
src: ['bower_components']
},
nuke_built: {
src: ['dist']
}
... | CoffeeScript | JavaScript | gss/engine | Gruntfile.coffee | MIT | 1374bde72eebf209fe469386f7acb7d91fa920fb | 2,854 | https://github.com/gss/engine/blob/1374bde72eebf209fe469386f7acb7d91fa920fb/Gruntfile.coffee | 1 | 50 |
gss/engine:Gruntfile.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
module.exports = function() {
// Project configuration
return this.initConfig({
pkg: this.file.readJSON('package.json'),
clean: {
nuke_components: {
src: ['components/*/']
},
nuke_bower: {
src: ['bower_components']
... | module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
clean:
nuke_components:
src: ['components/*/']
nuke_bower:
src: ['bower_components']
nuke_built:
src: ['dist']
browserify:
dist:
files:
'dist/gss... | JavaScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 1374bde72eebf209fe469386f7acb7d91fa920fb | 2,854 | https://github.com/gss/engine/blob/1374bde72eebf209fe469386f7acb7d91fa920fb/Gruntfile.coffee | 1 | 50 |
gss/engine:Gruntfile.coffee:1:completion | completion | module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
clean:
nuke_components:
src: ['components/*/']
nuke_bower:
src: ['bower_components']
nuke_built:
src: ['dist']
browserify:
dist:
files:
'dist/gss... | 'spec/js/specs.js': ['spec/specs.coffee']
options:
transform: ['coffeeify']
browserifyOptions:
#debug: true
extensions: ['.coffee']
fullPaths: false
debug:
options:
debug: true
# Automated recompilation and testing when d... | CoffeeScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 1374bde72eebf209fe469386f7acb7d91fa920fb | 2,854 | https://github.com/gss/engine/blob/1374bde72eebf209fe469386f7acb7d91fa920fb/Gruntfile.coffee | 1 | 50 |
gss/engine:Gruntfile.coffee:4:raw_corpus | raw_corpus | # Grunt plugins used for building
@loadNpmTasks 'grunt-browserify'
@loadNpmTasks 'grunt-contrib-uglify'
@loadNpmTasks 'grunt-contrib-clean'
@loadNpmTasks 'grunt-docco'
@loadNpmTasks 'grunt-banner'
# Grunt plugins used for testing
@loadNpmTasks 'grunt-coffeelint'
@loadNpmTasks 'grunt-mocha-phantomjs'
... | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 1374bde72eebf209fe469386f7acb7d91fa920fb | 2,854 | https://github.com/gss/engine/blob/1374bde72eebf209fe469386f7acb7d91fa920fb/Gruntfile.coffee | 151 | 172 | ||
gss/engine:Gruntfile.coffee:4:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
# Grunt plugins used for building
@loadNpmTasks 'grunt-browserify'
@loadNpmTasks 'grunt-contrib-uglify'
@loadNpmTasks 'grunt-contrib-clean'
@loadNpmTasks 'grunt-docco'
@loadNpmTasks 'grunt-banner'
# Grunt plugins used for testing
@loadNpmTasks 'gru... | // Grunt plugins used for building
this.loadNpmTasks('grunt-browserify');
this.loadNpmTasks('grunt-contrib-uglify');
this.loadNpmTasks('grunt-contrib-clean');
this.loadNpmTasks('grunt-docco');
this.loadNpmTasks('grunt-banner');
// Grunt plugins used for testing
this.loadNpmTasks('grunt-coffeelint');
this.loadNpmT... | CoffeeScript | JavaScript | gss/engine | Gruntfile.coffee | MIT | 1374bde72eebf209fe469386f7acb7d91fa920fb | 2,854 | https://github.com/gss/engine/blob/1374bde72eebf209fe469386f7acb7d91fa920fb/Gruntfile.coffee | 151 | 172 |
gss/engine:Gruntfile.coffee:4:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
// Grunt plugins used for building
this.loadNpmTasks('grunt-browserify');
this.loadNpmTasks('grunt-contrib-uglify');
this.loadNpmTasks('grunt-contrib-clean');
this.loadNpmTasks('grunt-docco');
this.loadNpmTasks('grunt-banner');
// Grunt plugins used for testin... | # Grunt plugins used for building
@loadNpmTasks 'grunt-browserify'
@loadNpmTasks 'grunt-contrib-uglify'
@loadNpmTasks 'grunt-contrib-clean'
@loadNpmTasks 'grunt-docco'
@loadNpmTasks 'grunt-banner'
# Grunt plugins used for testing
@loadNpmTasks 'grunt-coffeelint'
@loadNpmTasks 'grunt-mocha-phantomjs'
... | JavaScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 1374bde72eebf209fe469386f7acb7d91fa920fb | 2,854 | https://github.com/gss/engine/blob/1374bde72eebf209fe469386f7acb7d91fa920fb/Gruntfile.coffee | 151 | 172 |
gss/engine:Gruntfile.coffee:4:completion | completion | # Grunt plugins used for building
@loadNpmTasks 'grunt-browserify'
@loadNpmTasks 'grunt-contrib-uglify'
@loadNpmTasks 'grunt-contrib-clean'
@loadNpmTasks 'grunt-docco'
@loadNpmTasks 'grunt-banner'
# Grunt plugins used for testing
@loadNpmTasks 'grunt-coffeelint'
@loadNpmTasks 'grunt-mocha-phantomjs'
... | # Cross-browser testing in the cloud
@loadNpmTasks 'grunt-contrib-connect'
@loadNpmTasks 'grunt-saucelabs'
@registerTask 'build', ['browserify:spec', 'uglify:engine', 'usebanner']
@registerTask 'test', ['coffeelint', 'build', 'phantom']
@registerTask 'phantom', ['connect', 'mocha_phantomjs']
@registerTask ... | CoffeeScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 1374bde72eebf209fe469386f7acb7d91fa920fb | 2,854 | https://github.com/gss/engine/blob/1374bde72eebf209fe469386f7acb7d91fa920fb/Gruntfile.coffee | 151 | 172 |
gss/engine:Gruntfile.coffee:3:raw_corpus | raw_corpus | options:
base: ''
port: 9999
# BDD tests on browser
mocha_phantomjs:
all:
options:
reporter: 'node_modules/mocha/lib/reporters/spec.js'
urls: ['http://127.0.0.1:9999/spec/runner.html']
'saucelabs-mocha':
all:
options:
urls: ['ht... | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 1f37ca0767cf9f72cc5da5e4f00c766f3126f930 | 2,854 | https://github.com/gss/engine/blob/1f37ca0767cf9f72cc5da5e4f00c766f3126f930/Gruntfile.coffee | 101 | 150 | ||
gss/engine:Gruntfile.coffee:3:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
options:
base: ''
port: 9999
# BDD tests on browser
mocha_phantomjs:
all:
options:
reporter: 'node_modules/mocha/lib/reporters/spec.js'
urls: ['http://127.0.0.1:9999/spec/runner.html']
'saucelabs... | ({
options: {
base: '',
port: 9999
},
// BDD tests on browser
mocha_phantomjs: {
all: {
options: {
reporter: 'node_modules/mocha/lib/reporters/spec.js',
urls: ['http://127.0.0.1:9999/spec/runner.html']
}
}
},
'saucelabs-mocha': {
all: {
options: {
... | CoffeeScript | JavaScript | gss/engine | Gruntfile.coffee | MIT | 1f37ca0767cf9f72cc5da5e4f00c766f3126f930 | 2,854 | https://github.com/gss/engine/blob/1f37ca0767cf9f72cc5da5e4f00c766f3126f930/Gruntfile.coffee | 101 | 150 |
gss/engine:Gruntfile.coffee:3:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
({
options: {
base: '',
port: 9999
},
// BDD tests on browser
mocha_phantomjs: {
all: {
options: {
reporter: 'node_modules/mocha/lib/reporters/spec.js',
urls: ['http://127.0.0.1:9999/spec/runner.html']
}
}
},
... | options:
base: ''
port: 9999
# BDD tests on browser
mocha_phantomjs:
all:
options:
reporter: 'node_modules/mocha/lib/reporters/spec.js'
urls: ['http://127.0.0.1:9999/spec/runner.html']
'saucelabs-mocha':
all:
options:
urls: ['ht... | JavaScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 1f37ca0767cf9f72cc5da5e4f00c766f3126f930 | 2,854 | https://github.com/gss/engine/blob/1f37ca0767cf9f72cc5da5e4f00c766f3126f930/Gruntfile.coffee | 101 | 150 |
gss/engine:Gruntfile.coffee:3:completion | completion | options:
base: ''
port: 9999
# BDD tests on browser
mocha_phantomjs:
all:
options:
reporter: 'node_modules/mocha/lib/reporters/spec.js'
urls: ['http://127.0.0.1:9999/spec/runner.html']
'saucelabs-mocha':
all:
options:
urls: ['ht... | platform: 'OS X 10.9'
version: '7'
,
browserName: 'internet explorer'
platform: 'Windows 8.1',
version: '11'
,
browserName: 'internet explorer'
version: '10'
,
browserName: 'internet explorer'
v... | CoffeeScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 1f37ca0767cf9f72cc5da5e4f00c766f3126f930 | 2,854 | https://github.com/gss/engine/blob/1f37ca0767cf9f72cc5da5e4f00c766f3126f930/Gruntfile.coffee | 101 | 150 |
gss/engine:Gruntfile.coffee:4:raw_corpus | raw_corpus | @loadNpmTasks 'grunt-browserify'
@loadNpmTasks 'grunt-contrib-uglify'
@loadNpmTasks 'grunt-contrib-clean'
@loadNpmTasks 'grunt-docco'
@loadNpmTasks 'grunt-banner'
# Grunt plugins used for testing
@loadNpmTasks 'grunt-coffeelint'
@loadNpmTasks 'grunt-mocha-phantomjs'
@loadNpmTasks 'grunt-contrib-watch'
... | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 1f37ca0767cf9f72cc5da5e4f00c766f3126f930 | 2,854 | https://github.com/gss/engine/blob/1f37ca0767cf9f72cc5da5e4f00c766f3126f930/Gruntfile.coffee | 151 | 171 | ||
gss/engine:Gruntfile.coffee:4:completion | completion | @loadNpmTasks 'grunt-browserify'
@loadNpmTasks 'grunt-contrib-uglify'
@loadNpmTasks 'grunt-contrib-clean'
@loadNpmTasks 'grunt-docco'
@loadNpmTasks 'grunt-banner'
# Grunt plugins used for testing
@loadNpmTasks 'grunt-coffeelint'
@loadNpmTasks 'grunt-mocha-phantomjs'
@loadNpmTasks 'grunt-contrib-watch' | # Cross-browser testing in the cloud
@loadNpmTasks 'grunt-contrib-connect'
@loadNpmTasks 'grunt-saucelabs'
@registerTask 'build', ['browserify:spec', 'uglify:engine', 'usebanner']
@registerTask 'test', ['coffeelint', 'build', 'phantom']
@registerTask 'phantom', ['connect', 'mocha_phantomjs']
@registerTask ... | CoffeeScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 1f37ca0767cf9f72cc5da5e4f00c766f3126f930 | 2,854 | https://github.com/gss/engine/blob/1f37ca0767cf9f72cc5da5e4f00c766f3126f930/Gruntfile.coffee | 151 | 171 |
gss/engine:Gruntfile.coffee:3:raw_corpus | raw_corpus | options:
base: ''
port: 9999
# BDD tests on browser
mocha_phantomjs:
all:
options:
reporter: 'node_modules/mocha/lib/reporters/spec.js'
urls: ['http://127.0.0.1:9999/spec/runner.html']
'saucelabs-mocha':
all:
options:
urls: ['ht... | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | c46926f2b205c2c30a4b73a047d6efd70f569404 | 2,854 | https://github.com/gss/engine/blob/c46926f2b205c2c30a4b73a047d6efd70f569404/Gruntfile.coffee | 101 | 150 | ||
gss/engine:Gruntfile.coffee:3:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
options:
base: ''
port: 9999
# BDD tests on browser
mocha_phantomjs:
all:
options:
reporter: 'node_modules/mocha/lib/reporters/spec.js'
urls: ['http://127.0.0.1:9999/spec/runner.html']
'saucelabs... | ({
options: {
base: '',
port: 9999
},
// BDD tests on browser
mocha_phantomjs: {
all: {
options: {
reporter: 'node_modules/mocha/lib/reporters/spec.js',
urls: ['http://127.0.0.1:9999/spec/runner.html']
}
}
},
'saucelabs-mocha': {
all: {
options: {
... | CoffeeScript | JavaScript | gss/engine | Gruntfile.coffee | MIT | c46926f2b205c2c30a4b73a047d6efd70f569404 | 2,854 | https://github.com/gss/engine/blob/c46926f2b205c2c30a4b73a047d6efd70f569404/Gruntfile.coffee | 101 | 150 |
gss/engine:Gruntfile.coffee:3:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
({
options: {
base: '',
port: 9999
},
// BDD tests on browser
mocha_phantomjs: {
all: {
options: {
reporter: 'node_modules/mocha/lib/reporters/spec.js',
urls: ['http://127.0.0.1:9999/spec/runner.html']
}
}
},
... | options:
base: ''
port: 9999
# BDD tests on browser
mocha_phantomjs:
all:
options:
reporter: 'node_modules/mocha/lib/reporters/spec.js'
urls: ['http://127.0.0.1:9999/spec/runner.html']
'saucelabs-mocha':
all:
options:
urls: ['ht... | JavaScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | c46926f2b205c2c30a4b73a047d6efd70f569404 | 2,854 | https://github.com/gss/engine/blob/c46926f2b205c2c30a4b73a047d6efd70f569404/Gruntfile.coffee | 101 | 150 |
gss/engine:Gruntfile.coffee:3:completion | completion | options:
base: ''
port: 9999
# BDD tests on browser
mocha_phantomjs:
all:
options:
reporter: 'node_modules/mocha/lib/reporters/spec.js'
urls: ['http://127.0.0.1:9999/spec/runner.html']
'saucelabs-mocha':
all:
options:
urls: ['ht... | platform: 'OS X 10.9'
version: '7'
,
browserName: 'internet explorer'
platform: 'Windows 8.1',
version: '11'
,
browserName: 'internet explorer'
version: '10'
,
browserName: 'internet explorer'
v... | CoffeeScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | c46926f2b205c2c30a4b73a047d6efd70f569404 | 2,854 | https://github.com/gss/engine/blob/c46926f2b205c2c30a4b73a047d6efd70f569404/Gruntfile.coffee | 101 | 150 |
gss/engine:Gruntfile.coffee:3:raw_corpus | raw_corpus | options:
base: ''
port: 9999
# BDD tests on browser
mocha_phantomjs:
all:
options:
reporter: 'node_modules/mocha/lib/reporters/spec.js'
urls: ['http://127.0.0.1:9999/spec/runner.html']
'saucelabs-mocha':
all:
options:
urls: ['ht... | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | c1cc7a47411618e3fa2df7a6713b24a574e248e8 | 2,854 | https://github.com/gss/engine/blob/c1cc7a47411618e3fa2df7a6713b24a574e248e8/Gruntfile.coffee | 101 | 150 | ||
gss/engine:Gruntfile.coffee:3:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
options:
base: ''
port: 9999
# BDD tests on browser
mocha_phantomjs:
all:
options:
reporter: 'node_modules/mocha/lib/reporters/spec.js'
urls: ['http://127.0.0.1:9999/spec/runner.html']
'saucelabs... | ({
options: {
base: '',
port: 9999
},
// BDD tests on browser
mocha_phantomjs: {
all: {
options: {
reporter: 'node_modules/mocha/lib/reporters/spec.js',
urls: ['http://127.0.0.1:9999/spec/runner.html']
}
}
},
'saucelabs-mocha': {
all: {
options: {
... | CoffeeScript | JavaScript | gss/engine | Gruntfile.coffee | MIT | c1cc7a47411618e3fa2df7a6713b24a574e248e8 | 2,854 | https://github.com/gss/engine/blob/c1cc7a47411618e3fa2df7a6713b24a574e248e8/Gruntfile.coffee | 101 | 150 |
gss/engine:Gruntfile.coffee:3:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
({
options: {
base: '',
port: 9999
},
// BDD tests on browser
mocha_phantomjs: {
all: {
options: {
reporter: 'node_modules/mocha/lib/reporters/spec.js',
urls: ['http://127.0.0.1:9999/spec/runner.html']
}
}
},
... | options:
base: ''
port: 9999
# BDD tests on browser
mocha_phantomjs:
all:
options:
reporter: 'node_modules/mocha/lib/reporters/spec.js'
urls: ['http://127.0.0.1:9999/spec/runner.html']
'saucelabs-mocha':
all:
options:
urls: ['ht... | JavaScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | c1cc7a47411618e3fa2df7a6713b24a574e248e8 | 2,854 | https://github.com/gss/engine/blob/c1cc7a47411618e3fa2df7a6713b24a574e248e8/Gruntfile.coffee | 101 | 150 |
gss/engine:Gruntfile.coffee:3:completion | completion | options:
base: ''
port: 9999
# BDD tests on browser
mocha_phantomjs:
all:
options:
reporter: 'node_modules/mocha/lib/reporters/spec.js'
urls: ['http://127.0.0.1:9999/spec/runner.html']
'saucelabs-mocha':
all:
options:
urls: ['ht... | browserName: 'safari'
platform: 'OS X 10.9'
version: '7'
,
browserName: 'internet explorer'
platform: 'Windows 8.1',
version: '11'
,
browserName: 'internet explorer'
version: '10'
,
browserName:... | CoffeeScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | c1cc7a47411618e3fa2df7a6713b24a574e248e8 | 2,854 | https://github.com/gss/engine/blob/c1cc7a47411618e3fa2df7a6713b24a574e248e8/Gruntfile.coffee | 101 | 150 |
gss/engine:Gruntfile.coffee:4:raw_corpus | raw_corpus | # Grunt plugins used for testing
@loadNpmTasks 'grunt-coffeelint'
@loadNpmTasks 'grunt-mocha-phantomjs'
@loadNpmTasks 'grunt-contrib-watch'
# Cross-browser testing in the cloud
@loadNpmTasks 'grunt-contrib-connect'
@loadNpmTasks 'grunt-saucelabs'
@registerTask 'build', ['browserify:spec', 'uglify:engine... | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | c1cc7a47411618e3fa2df7a6713b24a574e248e8 | 2,854 | https://github.com/gss/engine/blob/c1cc7a47411618e3fa2df7a6713b24a574e248e8/Gruntfile.coffee | 151 | 165 | ||
gss/engine:Gruntfile.coffee:4:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
# Grunt plugins used for testing
@loadNpmTasks 'grunt-coffeelint'
@loadNpmTasks 'grunt-mocha-phantomjs'
@loadNpmTasks 'grunt-contrib-watch'
# Cross-browser testing in the cloud
@loadNpmTasks 'grunt-contrib-connect'
@loadNpmTasks 'grunt-saucelabs'
... | // Grunt plugins used for testing
this.loadNpmTasks('grunt-coffeelint');
this.loadNpmTasks('grunt-mocha-phantomjs');
this.loadNpmTasks('grunt-contrib-watch');
// Cross-browser testing in the cloud
this.loadNpmTasks('grunt-contrib-connect');
this.loadNpmTasks('grunt-saucelabs');
this.registerTask('build', ['browser... | CoffeeScript | JavaScript | gss/engine | Gruntfile.coffee | MIT | c1cc7a47411618e3fa2df7a6713b24a574e248e8 | 2,854 | https://github.com/gss/engine/blob/c1cc7a47411618e3fa2df7a6713b24a574e248e8/Gruntfile.coffee | 151 | 165 |
gss/engine:Gruntfile.coffee:4:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
// Grunt plugins used for testing
this.loadNpmTasks('grunt-coffeelint');
this.loadNpmTasks('grunt-mocha-phantomjs');
this.loadNpmTasks('grunt-contrib-watch');
// Cross-browser testing in the cloud
this.loadNpmTasks('grunt-contrib-connect');
this.loadNpmTasks('g... | # Grunt plugins used for testing
@loadNpmTasks 'grunt-coffeelint'
@loadNpmTasks 'grunt-mocha-phantomjs'
@loadNpmTasks 'grunt-contrib-watch'
# Cross-browser testing in the cloud
@loadNpmTasks 'grunt-contrib-connect'
@loadNpmTasks 'grunt-saucelabs'
@registerTask 'build', ['browserify:spec', 'uglify:engine... | JavaScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | c1cc7a47411618e3fa2df7a6713b24a574e248e8 | 2,854 | https://github.com/gss/engine/blob/c1cc7a47411618e3fa2df7a6713b24a574e248e8/Gruntfile.coffee | 151 | 165 |
gss/engine:Gruntfile.coffee:4:completion | completion | # Grunt plugins used for testing
@loadNpmTasks 'grunt-coffeelint'
@loadNpmTasks 'grunt-mocha-phantomjs'
@loadNpmTasks 'grunt-contrib-watch'
# Cross-browser testing in the cloud
@loadNpmTasks 'grunt-contrib-connect' | @loadNpmTasks 'grunt-saucelabs'
@registerTask 'build', ['browserify:spec', 'uglify:engine', 'usebanner']
@registerTask 'test', ['coffeelint', 'build', 'phantom']
@registerTask 'phantom', ['connect', 'mocha_phantomjs']
@registerTask 'crossbrowser', ['build', 'coffeelint', 'connect', 'mocha_phantomjs', 'saucelab... | CoffeeScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | c1cc7a47411618e3fa2df7a6713b24a574e248e8 | 2,854 | https://github.com/gss/engine/blob/c1cc7a47411618e3fa2df7a6713b24a574e248e8/Gruntfile.coffee | 151 | 165 |
gss/engine:Gruntfile.coffee:3:raw_corpus | raw_corpus | options:
base: ''
port: 9999
# BDD tests on browser
mocha_phantomjs:
all:
options:
reporter: 'node_modules/mocha/lib/reporters/spec.js'
urls: ['http://127.0.0.1:9999/spec/runner.html']
'saucelabs-mocha':
all:
options:
urls: ['ht... | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 09b49f3c5cbd638db96150799ac750b54f9feb08 | 2,854 | https://github.com/gss/engine/blob/09b49f3c5cbd638db96150799ac750b54f9feb08/Gruntfile.coffee | 101 | 150 | ||
gss/engine:Gruntfile.coffee:3:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
options:
base: ''
port: 9999
# BDD tests on browser
mocha_phantomjs:
all:
options:
reporter: 'node_modules/mocha/lib/reporters/spec.js'
urls: ['http://127.0.0.1:9999/spec/runner.html']
'saucelabs... | ({
options: {
base: '',
port: 9999
},
// BDD tests on browser
mocha_phantomjs: {
all: {
options: {
reporter: 'node_modules/mocha/lib/reporters/spec.js',
urls: ['http://127.0.0.1:9999/spec/runner.html']
}
}
},
'saucelabs-mocha': {
all: {
options: {
... | CoffeeScript | JavaScript | gss/engine | Gruntfile.coffee | MIT | 09b49f3c5cbd638db96150799ac750b54f9feb08 | 2,854 | https://github.com/gss/engine/blob/09b49f3c5cbd638db96150799ac750b54f9feb08/Gruntfile.coffee | 101 | 150 |
gss/engine:Gruntfile.coffee:3:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
({
options: {
base: '',
port: 9999
},
// BDD tests on browser
mocha_phantomjs: {
all: {
options: {
reporter: 'node_modules/mocha/lib/reporters/spec.js',
urls: ['http://127.0.0.1:9999/spec/runner.html']
}
}
},
... | options:
base: ''
port: 9999
# BDD tests on browser
mocha_phantomjs:
all:
options:
reporter: 'node_modules/mocha/lib/reporters/spec.js'
urls: ['http://127.0.0.1:9999/spec/runner.html']
'saucelabs-mocha':
all:
options:
urls: ['ht... | JavaScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 09b49f3c5cbd638db96150799ac750b54f9feb08 | 2,854 | https://github.com/gss/engine/blob/09b49f3c5cbd638db96150799ac750b54f9feb08/Gruntfile.coffee | 101 | 150 |
gss/engine:Gruntfile.coffee:3:completion | completion | options:
base: ''
port: 9999
# BDD tests on browser
mocha_phantomjs:
all:
options:
reporter: 'node_modules/mocha/lib/reporters/spec.js'
urls: ['http://127.0.0.1:9999/spec/runner.html']
'saucelabs-mocha':
all:
options:
urls: ['ht... | platform: 'OS X 10.9'
version: '7'
,
browserName: 'internet explorer'
platform: 'Windows 8.1',
version: '11'
,
browserName: 'internet explorer'
version: '10'
]
build: process.env.TRAVIS_JOB_ID
testn... | CoffeeScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 09b49f3c5cbd638db96150799ac750b54f9feb08 | 2,854 | https://github.com/gss/engine/blob/09b49f3c5cbd638db96150799ac750b54f9feb08/Gruntfile.coffee | 101 | 150 |
gss/engine:Gruntfile.coffee:4:raw_corpus | raw_corpus | @loadNpmTasks 'grunt-contrib-watch'
# Cross-browser testing in the cloud
@loadNpmTasks 'grunt-contrib-connect'
@loadNpmTasks 'grunt-saucelabs'
@registerTask 'build', ['browserify:spec', 'uglify:engine', 'usebanner']
@registerTask 'test', ['coffeelint', 'build', 'phantom']
@registerTask 'phantom', ['connec... | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 09b49f3c5cbd638db96150799ac750b54f9feb08 | 2,854 | https://github.com/gss/engine/blob/09b49f3c5cbd638db96150799ac750b54f9feb08/Gruntfile.coffee | 151 | 162 | ||
gss/engine:Gruntfile.coffee:4:completion | completion | @loadNpmTasks 'grunt-contrib-watch'
# Cross-browser testing in the cloud
@loadNpmTasks 'grunt-contrib-connect'
@loadNpmTasks 'grunt-saucelabs' | @registerTask 'build', ['browserify:spec', 'uglify:engine', 'usebanner']
@registerTask 'test', ['coffeelint', 'build', 'phantom']
@registerTask 'phantom', ['connect', 'mocha_phantomjs']
@registerTask 'crossbrowser', ['build', 'coffeelint', 'connect', 'mocha_phantomjs', 'saucelabs-mocha']
@registerTask 'default'... | CoffeeScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 09b49f3c5cbd638db96150799ac750b54f9feb08 | 2,854 | https://github.com/gss/engine/blob/09b49f3c5cbd638db96150799ac750b54f9feb08/Gruntfile.coffee | 151 | 162 |
gss/engine:Gruntfile.coffee:4:raw_corpus | raw_corpus | @loadNpmTasks 'grunt-contrib-watch'
# Cross-browser testing in the cloud
@loadNpmTasks 'grunt-contrib-connect'
@loadNpmTasks 'grunt-saucelabs'
@registerTask 'build', ['browserify', 'uglify:engine', 'usebanner']
@registerTask 'test', ['coffeelint', 'build', 'phantom']
@registerTask 'phantom', ['connect', '... | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | d39aa8df2c73aaa313cca62135f308e49d09c3ab | 2,854 | https://github.com/gss/engine/blob/d39aa8df2c73aaa313cca62135f308e49d09c3ab/Gruntfile.coffee | 151 | 162 | ||
gss/engine:Gruntfile.coffee:4:completion | completion | @loadNpmTasks 'grunt-contrib-watch'
# Cross-browser testing in the cloud
@loadNpmTasks 'grunt-contrib-connect'
@loadNpmTasks 'grunt-saucelabs' | @registerTask 'build', ['browserify', 'uglify:engine', 'usebanner']
@registerTask 'test', ['coffeelint', 'build', 'phantom']
@registerTask 'phantom', ['connect', 'mocha_phantomjs']
@registerTask 'crossbrowser', ['connect', 'mocha_phantomjs', 'saucelabs-mocha']
@registerTask 'default', ['build']
@registerTask ... | CoffeeScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | d39aa8df2c73aaa313cca62135f308e49d09c3ab | 2,854 | https://github.com/gss/engine/blob/d39aa8df2c73aaa313cca62135f308e49d09c3ab/Gruntfile.coffee | 151 | 162 |
gss/engine:Gruntfile.coffee:1:raw_corpus | raw_corpus | module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
clean:
nuke_components:
src: ['components/*/']
nuke_bower:
src: ['bower_components']
nuke_built:
src: ['dist']
browserify:
dist:
files:
'dist/gss... | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 3d5c01571e7c02c902c87d3273342de641d2a9e0 | 2,854 | https://github.com/gss/engine/blob/3d5c01571e7c02c902c87d3273342de641d2a9e0/Gruntfile.coffee | 1 | 50 | ||
gss/engine:Gruntfile.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
clean:
nuke_components:
src: ['components/*/']
nuke_bower:
src: ['bower_components']
nuke_built:
src: ['dist']
b... | module.exports = function() {
// Project configuration
return this.initConfig({
pkg: this.file.readJSON('package.json'),
clean: {
nuke_components: {
src: ['components/*/']
},
nuke_bower: {
src: ['bower_components']
},
nuke_built: {
src: ['dist']
}
... | CoffeeScript | JavaScript | gss/engine | Gruntfile.coffee | MIT | 3d5c01571e7c02c902c87d3273342de641d2a9e0 | 2,854 | https://github.com/gss/engine/blob/3d5c01571e7c02c902c87d3273342de641d2a9e0/Gruntfile.coffee | 1 | 50 |
gss/engine:Gruntfile.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
module.exports = function() {
// Project configuration
return this.initConfig({
pkg: this.file.readJSON('package.json'),
clean: {
nuke_components: {
src: ['components/*/']
},
nuke_bower: {
src: ['bower_components']
... | module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
clean:
nuke_components:
src: ['components/*/']
nuke_bower:
src: ['bower_components']
nuke_built:
src: ['dist']
browserify:
dist:
files:
'dist/gss... | JavaScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 3d5c01571e7c02c902c87d3273342de641d2a9e0 | 2,854 | https://github.com/gss/engine/blob/3d5c01571e7c02c902c87d3273342de641d2a9e0/Gruntfile.coffee | 1 | 50 |
gss/engine:Gruntfile.coffee:1:completion | completion | module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
clean:
nuke_components:
src: ['components/*/']
nuke_bower:
src: ['bower_components']
nuke_built:
src: ['dist']
browserify:
dist:
files:
'dist/gss... | 'spec/js/specs.js': ['spec/specs.coffee']
options:
transform: ['coffeeify']
browserifyOptions:
#debug: true
extensions: ['.coffee']
fullPaths: false
debug:
options:
debug: true
# Automated recompilation and testing when d... | CoffeeScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 3d5c01571e7c02c902c87d3273342de641d2a9e0 | 2,854 | https://github.com/gss/engine/blob/3d5c01571e7c02c902c87d3273342de641d2a9e0/Gruntfile.coffee | 1 | 50 |
gss/engine:Gruntfile.coffee:4:raw_corpus | raw_corpus | @loadNpmTasks 'grunt-contrib-watch'
# Cross-browser testing in the cloud
@loadNpmTasks 'grunt-contrib-connect'
@loadNpmTasks 'grunt-saucelabs'
@registerTask 'build', ['browserify', 'uglify:engine', 'usebanner']
@registerTask 'test', ['coffeelint', 'build', 'phantom']
@registerTask 'phantom', ['connect', '... | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 3d5c01571e7c02c902c87d3273342de641d2a9e0 | 2,854 | https://github.com/gss/engine/blob/3d5c01571e7c02c902c87d3273342de641d2a9e0/Gruntfile.coffee | 151 | 162 | ||
gss/engine:Gruntfile.coffee:4:completion | completion | @loadNpmTasks 'grunt-contrib-watch'
# Cross-browser testing in the cloud
@loadNpmTasks 'grunt-contrib-connect'
@loadNpmTasks 'grunt-saucelabs' | @registerTask 'build', ['browserify', 'uglify:engine', 'usebanner']
@registerTask 'test', ['coffeelint', 'build', 'phantom']
@registerTask 'phantom', ['connect', 'mocha_phantomjs']
@registerTask 'crossbrowser', ['build', 'coffeelint', 'connect', 'mocha_phantomjs', 'saucelabs-mocha']
@registerTask 'default', ['b... | CoffeeScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 3d5c01571e7c02c902c87d3273342de641d2a9e0 | 2,854 | https://github.com/gss/engine/blob/3d5c01571e7c02c902c87d3273342de641d2a9e0/Gruntfile.coffee | 151 | 162 |
gss/engine:Gruntfile.coffee:3:raw_corpus | raw_corpus | options:
base: ''
port: 9999
# BDD tests on browser
mocha_phantomjs:
all:
options:
reporter: 'node_modules/mocha/lib/reporters/spec.js'
urls: ['http://127.0.0.1:9999/spec/runner.html']
'saucelabs-mocha':
all:
options:
urls: ['ht... | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 7ace74f603693f419074e36d75961d07a16817ed | 2,854 | https://github.com/gss/engine/blob/7ace74f603693f419074e36d75961d07a16817ed/Gruntfile.coffee | 101 | 150 | ||
gss/engine:Gruntfile.coffee:3:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
options:
base: ''
port: 9999
# BDD tests on browser
mocha_phantomjs:
all:
options:
reporter: 'node_modules/mocha/lib/reporters/spec.js'
urls: ['http://127.0.0.1:9999/spec/runner.html']
'saucelabs... | ({
options: {
base: '',
port: 9999
},
// BDD tests on browser
mocha_phantomjs: {
all: {
options: {
reporter: 'node_modules/mocha/lib/reporters/spec.js',
urls: ['http://127.0.0.1:9999/spec/runner.html']
}
}
},
'saucelabs-mocha': {
all: {
options: {
... | CoffeeScript | JavaScript | gss/engine | Gruntfile.coffee | MIT | 7ace74f603693f419074e36d75961d07a16817ed | 2,854 | https://github.com/gss/engine/blob/7ace74f603693f419074e36d75961d07a16817ed/Gruntfile.coffee | 101 | 150 |
gss/engine:Gruntfile.coffee:3:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
({
options: {
base: '',
port: 9999
},
// BDD tests on browser
mocha_phantomjs: {
all: {
options: {
reporter: 'node_modules/mocha/lib/reporters/spec.js',
urls: ['http://127.0.0.1:9999/spec/runner.html']
}
}
},
... | options:
base: ''
port: 9999
# BDD tests on browser
mocha_phantomjs:
all:
options:
reporter: 'node_modules/mocha/lib/reporters/spec.js'
urls: ['http://127.0.0.1:9999/spec/runner.html']
'saucelabs-mocha':
all:
options:
urls: ['ht... | JavaScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 7ace74f603693f419074e36d75961d07a16817ed | 2,854 | https://github.com/gss/engine/blob/7ace74f603693f419074e36d75961d07a16817ed/Gruntfile.coffee | 101 | 150 |
gss/engine:Gruntfile.coffee:3:completion | completion | options:
base: ''
port: 9999
# BDD tests on browser
mocha_phantomjs:
all:
options:
reporter: 'node_modules/mocha/lib/reporters/spec.js'
urls: ['http://127.0.0.1:9999/spec/runner.html']
'saucelabs-mocha':
all:
options:
urls: ['ht... | browserName: 'internet explorer'
version: '11'
,
browserName: 'internet explorer'
version: '10'
]
build: process.env.TRAVIS_JOB_ID
testname: 'GSS browser tests'
tunnelTimeout: 5
concurrency: 6
# Grunt plugins used for bui... | CoffeeScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 7ace74f603693f419074e36d75961d07a16817ed | 2,854 | https://github.com/gss/engine/blob/7ace74f603693f419074e36d75961d07a16817ed/Gruntfile.coffee | 101 | 150 |
gss/engine:Gruntfile.coffee:4:raw_corpus | raw_corpus | @loadNpmTasks 'grunt-saucelabs'
@registerTask 'build', ['browserify', 'uglify:engine', 'usebanner']
@registerTask 'test', ['coffeelint', 'build', 'phantom']
@registerTask 'phantom', ['connect', 'mocha_phantomjs']
@registerTask 'crossbrowser', ['build', 'coffeelint', 'connect', 'mocha_phantomjs', 'saucelabs-moc... | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 7ace74f603693f419074e36d75961d07a16817ed | 2,854 | https://github.com/gss/engine/blob/7ace74f603693f419074e36d75961d07a16817ed/Gruntfile.coffee | 151 | 158 | ||
gss/engine:Gruntfile.coffee:4:completion | completion | @loadNpmTasks 'grunt-saucelabs'
@registerTask 'build', ['browserify', 'uglify:engine', 'usebanner']
@registerTask 'test', ['coffeelint', 'build', 'phantom'] | @registerTask 'phantom', ['connect', 'mocha_phantomjs']
@registerTask 'crossbrowser', ['build', 'coffeelint', 'connect', 'mocha_phantomjs', 'saucelabs-mocha']
@registerTask 'default', ['build']
@registerTask 'nuke', ['clean'] | CoffeeScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 7ace74f603693f419074e36d75961d07a16817ed | 2,854 | https://github.com/gss/engine/blob/7ace74f603693f419074e36d75961d07a16817ed/Gruntfile.coffee | 151 | 158 |
gss/engine:Gruntfile.coffee:4:raw_corpus | raw_corpus | @loadNpmTasks 'grunt-saucelabs'
@registerTask 'build', ['browserify', 'uglify:engine', 'usebanner']
@registerTask 'test', ['coffeelint', 'build:js', 'phantom']
@registerTask 'phantom', ['connect', 'mocha_phantomjs']
@registerTask 'crossbrowser', ['build', 'coffeelint', 'connect', 'mocha_phantomjs', 'saucelabs-... | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | daa2a82301cb1696b74d4bda01f1eefdbc0a3151 | 2,854 | https://github.com/gss/engine/blob/daa2a82301cb1696b74d4bda01f1eefdbc0a3151/Gruntfile.coffee | 151 | 158 | ||
gss/engine:Gruntfile.coffee:4:completion | completion | @loadNpmTasks 'grunt-saucelabs'
@registerTask 'build', ['browserify', 'uglify:engine', 'usebanner']
@registerTask 'test', ['coffeelint', 'build:js', 'phantom'] | @registerTask 'phantom', ['connect', 'mocha_phantomjs']
@registerTask 'crossbrowser', ['build', 'coffeelint', 'connect', 'mocha_phantomjs', 'saucelabs-mocha']
@registerTask 'default', ['build']
@registerTask 'nuke', ['clean'] | CoffeeScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | daa2a82301cb1696b74d4bda01f1eefdbc0a3151 | 2,854 | https://github.com/gss/engine/blob/daa2a82301cb1696b74d4bda01f1eefdbc0a3151/Gruntfile.coffee | 151 | 158 |
gss/engine:Gruntfile.coffee:1:raw_corpus | raw_corpus | module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
clean:
nuke_components:
src: ['components/*/']
nuke_bower:
src: ['bower_components']
nuke_built:
src: ['dist']
browserify:
dist:
files:
'dist/gss... | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 1d0275e78e77ffa28f37bd351c363c5ee87bf1f3 | 2,854 | https://github.com/gss/engine/blob/1d0275e78e77ffa28f37bd351c363c5ee87bf1f3/Gruntfile.coffee | 1 | 50 | ||
gss/engine:Gruntfile.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
clean:
nuke_components:
src: ['components/*/']
nuke_bower:
src: ['bower_components']
nuke_built:
src: ['dist']
b... | module.exports = function() {
// Project configuration
return this.initConfig({
pkg: this.file.readJSON('package.json'),
clean: {
nuke_components: {
src: ['components/*/']
},
nuke_bower: {
src: ['bower_components']
},
nuke_built: {
src: ['dist']
}
... | CoffeeScript | JavaScript | gss/engine | Gruntfile.coffee | MIT | 1d0275e78e77ffa28f37bd351c363c5ee87bf1f3 | 2,854 | https://github.com/gss/engine/blob/1d0275e78e77ffa28f37bd351c363c5ee87bf1f3/Gruntfile.coffee | 1 | 50 |
gss/engine:Gruntfile.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
module.exports = function() {
// Project configuration
return this.initConfig({
pkg: this.file.readJSON('package.json'),
clean: {
nuke_components: {
src: ['components/*/']
},
nuke_bower: {
src: ['bower_components']
... | module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
clean:
nuke_components:
src: ['components/*/']
nuke_bower:
src: ['bower_components']
nuke_built:
src: ['dist']
browserify:
dist:
files:
'dist/gss... | JavaScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 1d0275e78e77ffa28f37bd351c363c5ee87bf1f3 | 2,854 | https://github.com/gss/engine/blob/1d0275e78e77ffa28f37bd351c363c5ee87bf1f3/Gruntfile.coffee | 1 | 50 |
gss/engine:Gruntfile.coffee:1:completion | completion | module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
clean:
nuke_components:
src: ['components/*/']
nuke_bower:
src: ['bower_components']
nuke_built:
src: ['dist']
browserify:
dist:
files:
'dist/gss... | 'spec/js/specs.js': ['spec/specs.coffee']
options:
transform: ['coffeeify']
browserifyOptions:
debug: true
extensions: ['.coffee']
fullPaths: false
debug:
options:
debug: true
# Automated recompilation and testing when de... | CoffeeScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 1d0275e78e77ffa28f37bd351c363c5ee87bf1f3 | 2,854 | https://github.com/gss/engine/blob/1d0275e78e77ffa28f37bd351c363c5ee87bf1f3/Gruntfile.coffee | 1 | 50 |
gss/engine:Gruntfile.coffee:1:raw_corpus | raw_corpus | module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
clean:
nuke_components:
src: ['components/*/']
nuke_bower:
src: ['bower_components']
nuke_built:
src: ['dist']
browserify:
dist:
files:
'dist/gss... | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 4f14c13fa32ff60858e56237167deda115e8743f | 2,854 | https://github.com/gss/engine/blob/4f14c13fa32ff60858e56237167deda115e8743f/Gruntfile.coffee | 1 | 50 | ||
gss/engine:Gruntfile.coffee:1:completion | completion | module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
clean:
nuke_components:
src: ['components/*/']
nuke_bower:
src: ['bower_components']
nuke_built:
src: ['dist']
browserify:
dist:
files:
'dist/gss... | options:
transform: ['coffeeify']
browserifyOptions:
debug: true
extensions: ['.coffee']
fullPaths: false
debug:
options:
debug: true
# Automated recompilation and testing when developing
watch:
spec:
files: ['s... | CoffeeScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 4f14c13fa32ff60858e56237167deda115e8743f | 2,854 | https://github.com/gss/engine/blob/4f14c13fa32ff60858e56237167deda115e8743f/Gruntfile.coffee | 1 | 50 |
gss/engine:Gruntfile.coffee:3:raw_corpus | raw_corpus | base: ''
port: 9999
# BDD tests on browser
mocha_phantomjs:
all:
options:
reporter: 'node_modules/mocha/lib/reporters/spec.js'
urls: ['http://127.0.0.1:9999/spec/runner.html']
'saucelabs-mocha':
all:
options:
urls: ['http://127.0.0.1:9999... | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 4f14c13fa32ff60858e56237167deda115e8743f | 2,854 | https://github.com/gss/engine/blob/4f14c13fa32ff60858e56237167deda115e8743f/Gruntfile.coffee | 101 | 150 | ||
gss/engine:Gruntfile.coffee:3:completion | completion | base: ''
port: 9999
# BDD tests on browser
mocha_phantomjs:
all:
options:
reporter: 'node_modules/mocha/lib/reporters/spec.js'
urls: ['http://127.0.0.1:9999/spec/runner.html']
'saucelabs-mocha':
all:
options:
urls: ['http://127.0.0.1:9999... | version: '11'
,
browserName: 'internet explorer'
version: '10'
]
build: process.env.TRAVIS_JOB_ID
testname: 'GSS browser tests'
tunnelTimeout: 5
concurrency: 6
# Grunt plugins used for building
@loadNpmTasks 'grunt-browserify'
@l... | CoffeeScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 4f14c13fa32ff60858e56237167deda115e8743f | 2,854 | https://github.com/gss/engine/blob/4f14c13fa32ff60858e56237167deda115e8743f/Gruntfile.coffee | 101 | 150 |
gss/engine:Gruntfile.coffee:4:raw_corpus | raw_corpus | @registerTask 'build', ['browserify', 'uglify:engine', 'usebanner']
@registerTask 'test', ['coffeelint', 'build:js', 'phantom']
@registerTask 'phantom', ['connect', 'mocha_phantomjs']
@registerTask 'crossbrowser', ['build', 'coffeelint', 'connect', 'mocha_phantomjs', 'saucelabs-mocha']
@registerTask 'default', ... | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 4f14c13fa32ff60858e56237167deda115e8743f | 2,854 | https://github.com/gss/engine/blob/4f14c13fa32ff60858e56237167deda115e8743f/Gruntfile.coffee | 151 | 157 | ||
gss/engine:Gruntfile.coffee:4:completion | completion | @registerTask 'build', ['browserify', 'uglify:engine', 'usebanner']
@registerTask 'test', ['coffeelint', 'build:js', 'phantom']
@registerTask 'phantom', ['connect', 'mocha_phantomjs'] | @registerTask 'crossbrowser', ['build', 'coffeelint', 'connect', 'mocha_phantomjs', 'saucelabs-mocha']
@registerTask 'default', ['build']
@registerTask 'nuke', ['clean'] | CoffeeScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 4f14c13fa32ff60858e56237167deda115e8743f | 2,854 | https://github.com/gss/engine/blob/4f14c13fa32ff60858e56237167deda115e8743f/Gruntfile.coffee | 151 | 157 |
gss/engine:Gruntfile.coffee:1:raw_corpus | raw_corpus | module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
clean:
nuke_components:
src: ['components/*/']
nuke_bower:
src: ['bower_components']
nuke_built:
src: ['dist']
browserify:
dist:
files:
'dist/gss... | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 762d6cc505c3db327679ac1574cbe4dacce62d51 | 2,854 | https://github.com/gss/engine/blob/762d6cc505c3db327679ac1574cbe4dacce62d51/Gruntfile.coffee | 1 | 50 | ||
gss/engine:Gruntfile.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
clean:
nuke_components:
src: ['components/*/']
nuke_bower:
src: ['bower_components']
nuke_built:
src: ['dist']
b... | module.exports = function() {
// Project configuration
return this.initConfig({
pkg: this.file.readJSON('package.json'),
clean: {
nuke_components: {
src: ['components/*/']
},
nuke_bower: {
src: ['bower_components']
},
nuke_built: {
src: ['dist']
}
... | CoffeeScript | JavaScript | gss/engine | Gruntfile.coffee | MIT | 762d6cc505c3db327679ac1574cbe4dacce62d51 | 2,854 | https://github.com/gss/engine/blob/762d6cc505c3db327679ac1574cbe4dacce62d51/Gruntfile.coffee | 1 | 50 |
gss/engine:Gruntfile.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
module.exports = function() {
// Project configuration
return this.initConfig({
pkg: this.file.readJSON('package.json'),
clean: {
nuke_components: {
src: ['components/*/']
},
nuke_bower: {
src: ['bower_components']
... | module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
clean:
nuke_components:
src: ['components/*/']
nuke_bower:
src: ['bower_components']
nuke_built:
src: ['dist']
browserify:
dist:
files:
'dist/gss... | JavaScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 762d6cc505c3db327679ac1574cbe4dacce62d51 | 2,854 | https://github.com/gss/engine/blob/762d6cc505c3db327679ac1574cbe4dacce62d51/Gruntfile.coffee | 1 | 50 |
gss/engine:Gruntfile.coffee:1:completion | completion | module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
clean:
nuke_components:
src: ['components/*/']
nuke_bower:
src: ['bower_components']
nuke_built:
src: ['dist']
browserify:
dist:
files:
'dist/gss... | transform: ['coffeeify']
browserifyOptions:
debug: true
extensions: ['.coffee']
debug:
options:
debug: true
# Automated recompilation and testing when developing
watch:
spec:
files: ['spec/**/*.coffee']
tasks: ['browserify:sp... | CoffeeScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 762d6cc505c3db327679ac1574cbe4dacce62d51 | 2,854 | https://github.com/gss/engine/blob/762d6cc505c3db327679ac1574cbe4dacce62d51/Gruntfile.coffee | 1 | 50 |
gss/engine:Gruntfile.coffee:3:raw_corpus | raw_corpus | # BDD tests on browser
mocha_phantomjs:
all:
options:
reporter: 'node_modules/mocha/lib/reporters/spec.js'
urls: ['http://127.0.0.1:9999/spec/runner.html']
'saucelabs-mocha':
all:
options:
urls: ['http://127.0.0.1:9999/spec/runner.html']
brows... | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 762d6cc505c3db327679ac1574cbe4dacce62d51 | 2,854 | https://github.com/gss/engine/blob/762d6cc505c3db327679ac1574cbe4dacce62d51/Gruntfile.coffee | 101 | 150 | ||
gss/engine:Gruntfile.coffee:3:completion | completion | # BDD tests on browser
mocha_phantomjs:
all:
options:
reporter: 'node_modules/mocha/lib/reporters/spec.js'
urls: ['http://127.0.0.1:9999/spec/runner.html']
'saucelabs-mocha':
all:
options:
urls: ['http://127.0.0.1:9999/spec/runner.html']
brows... | browserName: 'internet explorer'
version: '10'
]
build: process.env.TRAVIS_JOB_ID
testname: 'GSS browser tests'
tunnelTimeout: 5
concurrency: 6
# Grunt plugins used for building
@loadNpmTasks 'grunt-browserify'
@loadNpmTasks 'grunt-contrib-uglify'
@... | CoffeeScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 762d6cc505c3db327679ac1574cbe4dacce62d51 | 2,854 | https://github.com/gss/engine/blob/762d6cc505c3db327679ac1574cbe4dacce62d51/Gruntfile.coffee | 101 | 150 |
gss/engine:Gruntfile.coffee:4:raw_corpus | raw_corpus | @registerTask 'test', ['coffeelint', 'build:js', 'phantom']
@registerTask 'phantom', ['connect', 'mocha_phantomjs']
@registerTask 'crossbrowser', ['build', 'coffeelint', 'connect', 'mocha_phantomjs', 'saucelabs-mocha']
@registerTask 'default', ['build']
@registerTask 'nuke', ['clean'] | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 762d6cc505c3db327679ac1574cbe4dacce62d51 | 2,854 | https://github.com/gss/engine/blob/762d6cc505c3db327679ac1574cbe4dacce62d51/Gruntfile.coffee | 151 | 155 | ||
gss/engine:Gruntfile.coffee:4:completion | completion | @registerTask 'test', ['coffeelint', 'build:js', 'phantom']
@registerTask 'phantom', ['connect', 'mocha_phantomjs'] | @registerTask 'crossbrowser', ['build', 'coffeelint', 'connect', 'mocha_phantomjs', 'saucelabs-mocha']
@registerTask 'default', ['build']
@registerTask 'nuke', ['clean'] | CoffeeScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 762d6cc505c3db327679ac1574cbe4dacce62d51 | 2,854 | https://github.com/gss/engine/blob/762d6cc505c3db327679ac1574cbe4dacce62d51/Gruntfile.coffee | 151 | 155 |
gss/engine:Gruntfile.coffee:1:raw_corpus | raw_corpus | module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
clean:
nuke_components:
src: ['components/*/']
nuke_bower:
src: ['bower_components']
nuke_built:
src: ['dist']
browserify:
dist:
files:
'dist/gss... | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 6d270176b48de4d03cd4ce0d463824f8ac664ac6 | 2,854 | https://github.com/gss/engine/blob/6d270176b48de4d03cd4ce0d463824f8ac664ac6/Gruntfile.coffee | 1 | 50 | ||
gss/engine:Gruntfile.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
clean:
nuke_components:
src: ['components/*/']
nuke_bower:
src: ['bower_components']
nuke_built:
src: ['dist']
b... | module.exports = function() {
// Project configuration
return this.initConfig({
pkg: this.file.readJSON('package.json'),
clean: {
nuke_components: {
src: ['components/*/']
},
nuke_bower: {
src: ['bower_components']
},
nuke_built: {
src: ['dist']
}
... | CoffeeScript | JavaScript | gss/engine | Gruntfile.coffee | MIT | 6d270176b48de4d03cd4ce0d463824f8ac664ac6 | 2,854 | https://github.com/gss/engine/blob/6d270176b48de4d03cd4ce0d463824f8ac664ac6/Gruntfile.coffee | 1 | 50 |
gss/engine:Gruntfile.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
module.exports = function() {
// Project configuration
return this.initConfig({
pkg: this.file.readJSON('package.json'),
clean: {
nuke_components: {
src: ['components/*/']
},
nuke_bower: {
src: ['bower_components']
... | module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
clean:
nuke_components:
src: ['components/*/']
nuke_bower:
src: ['bower_components']
nuke_built:
src: ['dist']
browserify:
dist:
files:
'dist/gss... | JavaScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 6d270176b48de4d03cd4ce0d463824f8ac664ac6 | 2,854 | https://github.com/gss/engine/blob/6d270176b48de4d03cd4ce0d463824f8ac664ac6/Gruntfile.coffee | 1 | 50 |
gss/engine:Gruntfile.coffee:1:completion | completion | module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
clean:
nuke_components:
src: ['components/*/']
nuke_bower:
src: ['bower_components']
nuke_built:
src: ['dist']
browserify:
dist:
files:
'dist/gss... | transform: ['coffeeify']
browserifyOptions:
debug: true
extensions: ['.coffee']
debug:
options:
debug: true
# Automated recompilation and testing when developing
watch:
spec:
files: ['spec/**/*.coffee']
tasks: ['browserify:sp... | CoffeeScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 6d270176b48de4d03cd4ce0d463824f8ac664ac6 | 2,854 | https://github.com/gss/engine/blob/6d270176b48de4d03cd4ce0d463824f8ac664ac6/Gruntfile.coffee | 1 | 50 |
gss/engine:Gruntfile.coffee:1:raw_corpus | raw_corpus | module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
clean:
nuke_components:
src: ['components/*/']
nuke_bower:
src: ['bower_components']
nuke_built:
src: ['dist']
browserify:
dist:
files:
'dist/gss... | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 6d5c5b483a594c4dc584c8713ea32605096e2bb2 | 2,854 | https://github.com/gss/engine/blob/6d5c5b483a594c4dc584c8713ea32605096e2bb2/Gruntfile.coffee | 1 | 50 | ||
gss/engine:Gruntfile.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
clean:
nuke_components:
src: ['components/*/']
nuke_bower:
src: ['bower_components']
nuke_built:
src: ['dist']
b... | module.exports = function() {
// Project configuration
return this.initConfig({
pkg: this.file.readJSON('package.json'),
clean: {
nuke_components: {
src: ['components/*/']
},
nuke_bower: {
src: ['bower_components']
},
nuke_built: {
src: ['dist']
}
... | CoffeeScript | JavaScript | gss/engine | Gruntfile.coffee | MIT | 6d5c5b483a594c4dc584c8713ea32605096e2bb2 | 2,854 | https://github.com/gss/engine/blob/6d5c5b483a594c4dc584c8713ea32605096e2bb2/Gruntfile.coffee | 1 | 50 |
gss/engine:Gruntfile.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
module.exports = function() {
// Project configuration
return this.initConfig({
pkg: this.file.readJSON('package.json'),
clean: {
nuke_components: {
src: ['components/*/']
},
nuke_bower: {
src: ['bower_components']
... | module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
clean:
nuke_components:
src: ['components/*/']
nuke_bower:
src: ['bower_components']
nuke_built:
src: ['dist']
browserify:
dist:
files:
'dist/gss... | JavaScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 6d5c5b483a594c4dc584c8713ea32605096e2bb2 | 2,854 | https://github.com/gss/engine/blob/6d5c5b483a594c4dc584c8713ea32605096e2bb2/Gruntfile.coffee | 1 | 50 |
gss/engine:Gruntfile.coffee:1:completion | completion | module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
clean:
nuke_components:
src: ['components/*/']
nuke_bower:
src: ['bower_components']
nuke_built:
src: ['dist']
browserify:
dist:
files:
'dist/gss... | transform: ['coffeeify']
browserifyOptions:
debug: true
extensions: ['.coffee']
debug:
options:
debug: true
# Automated recompilation and testing when developing
watch:
specs:
files: ['spec/**/*.coffee']
tasks: ['browserify:s... | CoffeeScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 6d5c5b483a594c4dc584c8713ea32605096e2bb2 | 2,854 | https://github.com/gss/engine/blob/6d5c5b483a594c4dc584c8713ea32605096e2bb2/Gruntfile.coffee | 1 | 50 |
gss/engine:Gruntfile.coffee:1:raw_corpus | raw_corpus | module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
clean:
nuke_components:
src: ['components/*/']
nuke_bower:
src: ['bower_components']
nuke_built:
src: ['dist']
browserify:
dist:
files:
'dist/gss... | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 30cf5dd67f2e9873f576144de7f3d4e1f43ee269 | 2,854 | https://github.com/gss/engine/blob/30cf5dd67f2e9873f576144de7f3d4e1f43ee269/Gruntfile.coffee | 1 | 50 | ||
gss/engine:Gruntfile.coffee:1:completion | completion | module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
clean:
nuke_components:
src: ['components/*/']
nuke_bower:
src: ['bower_components']
nuke_built:
src: ['dist']
browserify:
dist:
files:
'dist/gss... | debug: true
# Automated recompilation and testing when developing
watch:
'specs':
files: ['src/*.coffee','spec/**/*.coffee']
tasks: ['browserify:dist:debug']
# JavaScript minification for the browser
uglify:
options:
report: 'min'
engine:
files:
... | CoffeeScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 30cf5dd67f2e9873f576144de7f3d4e1f43ee269 | 2,854 | https://github.com/gss/engine/blob/30cf5dd67f2e9873f576144de7f3d4e1f43ee269/Gruntfile.coffee | 1 | 50 |
gss/engine:Gruntfile.coffee:3:raw_corpus | raw_corpus | all:
options:
urls: ['http://127.0.0.1:9999/spec/runner.html']
browsers: [
browserName: 'googlechrome'
version: '34'
,
browserName: 'firefox'
version: '28'
,
browserName: 'safari'
version: '6'
... | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 30cf5dd67f2e9873f576144de7f3d4e1f43ee269 | 2,854 | https://github.com/gss/engine/blob/30cf5dd67f2e9873f576144de7f3d4e1f43ee269/Gruntfile.coffee | 101 | 146 | ||
gss/engine:Gruntfile.coffee:3:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
all:
options:
urls: ['http://127.0.0.1:9999/spec/runner.html']
browsers: [
browserName: 'googlechrome'
version: '34'
,
browserName: 'firefox'
version: '28'
,
... | ({
all: {
options: {
urls: ['http://127.0.0.1:9999/spec/runner.html'],
browsers: [
{
browserName: 'googlechrome',
version: '34'
},
{
browserName: 'firefox',
version: '28'
},
{
browserName: 'safari',
ver... | CoffeeScript | JavaScript | gss/engine | Gruntfile.coffee | MIT | 30cf5dd67f2e9873f576144de7f3d4e1f43ee269 | 2,854 | https://github.com/gss/engine/blob/30cf5dd67f2e9873f576144de7f3d4e1f43ee269/Gruntfile.coffee | 101 | 146 |
gss/engine:Gruntfile.coffee:3:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
({
all: {
options: {
urls: ['http://127.0.0.1:9999/spec/runner.html'],
browsers: [
{
browserName: 'googlechrome',
version: '34'
},
{
browserName: 'firefox',
version: '28'
},
... | all:
options:
urls: ['http://127.0.0.1:9999/spec/runner.html']
browsers: [
browserName: 'googlechrome'
version: '34'
,
browserName: 'firefox'
version: '28'
,
browserName: 'safari'
version: '6'
... | JavaScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 30cf5dd67f2e9873f576144de7f3d4e1f43ee269 | 2,854 | https://github.com/gss/engine/blob/30cf5dd67f2e9873f576144de7f3d4e1f43ee269/Gruntfile.coffee | 101 | 146 |
gss/engine:Gruntfile.coffee:3:completion | completion | all:
options:
urls: ['http://127.0.0.1:9999/spec/runner.html']
browsers: [
browserName: 'googlechrome'
version: '34'
,
browserName: 'firefox'
version: '28'
,
browserName: 'safari'
version: '6'
... | # Grunt plugins used for building
@loadNpmTasks 'grunt-browserify'
@loadNpmTasks 'grunt-contrib-uglify'
@loadNpmTasks 'grunt-contrib-clean'
@loadNpmTasks 'grunt-docco'
@loadNpmTasks 'grunt-banner'
# Grunt plugins used for testing
@loadNpmTasks 'grunt-coffeelint'
@loadNpmTasks 'grunt-mocha-phantomjs'
... | CoffeeScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 30cf5dd67f2e9873f576144de7f3d4e1f43ee269 | 2,854 | https://github.com/gss/engine/blob/30cf5dd67f2e9873f576144de7f3d4e1f43ee269/Gruntfile.coffee | 101 | 146 |
gss/engine:Gruntfile.coffee:1:raw_corpus | raw_corpus | module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
clean:
nuke_components:
src: ['components/*/']
nuke_bower:
src: ['bower_components']
nuke_built:
src: ['dist']
browserify:
dist:
files:
'dist/gss... | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 46d7f4fab6d9b171a2f3e5b2ebc1dd21cfd2fadd | 2,854 | https://github.com/gss/engine/blob/46d7f4fab6d9b171a2f3e5b2ebc1dd21cfd2fadd/Gruntfile.coffee | 1 | 50 | ||
gss/engine:Gruntfile.coffee:1:completion | completion | module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
clean:
nuke_components:
src: ['components/*/']
nuke_bower:
src: ['bower_components']
nuke_built:
src: ['dist']
browserify:
dist:
files:
'dist/gss... | debug: true
# Automated recompilation and testing when developing
watch:
'debug':
files: ['src/**/*.coffee','spec/**/*.coffee']
tasks: ['browserify:dist:debug']
'everything':
files: ['src/**/*.coffee','spec/**/*.coffee']
tasks: ['browserify:dist']
# JavaScript ... | CoffeeScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 46d7f4fab6d9b171a2f3e5b2ebc1dd21cfd2fadd | 2,854 | https://github.com/gss/engine/blob/46d7f4fab6d9b171a2f3e5b2ebc1dd21cfd2fadd/Gruntfile.coffee | 1 | 50 |
gss/engine:Gruntfile.coffee:3:raw_corpus | raw_corpus | urls: ['http://127.0.0.1:9999/spec/runner.html']
'saucelabs-mocha':
all:
options:
urls: ['http://127.0.0.1:9999/spec/runner.html']
browsers: [
browserName: 'googlechrome'
version: '34'
,
browserName: 'firefox'
version: '28'... | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 46d7f4fab6d9b171a2f3e5b2ebc1dd21cfd2fadd | 2,854 | https://github.com/gss/engine/blob/46d7f4fab6d9b171a2f3e5b2ebc1dd21cfd2fadd/Gruntfile.coffee | 101 | 150 | ||
gss/engine:Gruntfile.coffee:3:completion | completion | urls: ['http://127.0.0.1:9999/spec/runner.html']
'saucelabs-mocha':
all:
options:
urls: ['http://127.0.0.1:9999/spec/runner.html']
browsers: [
browserName: 'googlechrome'
version: '34'
,
browserName: 'firefox'
version: '28'... | concurrency: 6
# Grunt plugins used for building
@loadNpmTasks 'grunt-browserify'
@loadNpmTasks 'grunt-contrib-uglify'
@loadNpmTasks 'grunt-contrib-clean'
@loadNpmTasks 'grunt-docco'
@loadNpmTasks 'grunt-banner'
@loadNpmTasks 'grunt-watchify'
# Grunt plugins used for testing
@loadNpmTasks 'grunt-cof... | CoffeeScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 46d7f4fab6d9b171a2f3e5b2ebc1dd21cfd2fadd | 2,854 | https://github.com/gss/engine/blob/46d7f4fab6d9b171a2f3e5b2ebc1dd21cfd2fadd/Gruntfile.coffee | 101 | 150 |
gss/engine:Gruntfile.coffee:3:raw_corpus | raw_corpus | all:
options:
urls: ['http://127.0.0.1:9999/spec/runner.html']
browsers: [
browserName: 'googlechrome'
version: '34'
,
browserName: 'firefox'
version: '28'
,
browserName: 'safari'
version: '6'
... | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 2d4920f52a439e00c1f1b06d71317b1e3670ee94 | 2,854 | https://github.com/gss/engine/blob/2d4920f52a439e00c1f1b06d71317b1e3670ee94/Gruntfile.coffee | 101 | 147 | ||
gss/engine:Gruntfile.coffee:3:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
all:
options:
urls: ['http://127.0.0.1:9999/spec/runner.html']
browsers: [
browserName: 'googlechrome'
version: '34'
,
browserName: 'firefox'
version: '28'
,
... | ({
all: {
options: {
urls: ['http://127.0.0.1:9999/spec/runner.html'],
browsers: [
{
browserName: 'googlechrome',
version: '34'
},
{
browserName: 'firefox',
version: '28'
},
{
browserName: 'safari',
ver... | CoffeeScript | JavaScript | gss/engine | Gruntfile.coffee | MIT | 2d4920f52a439e00c1f1b06d71317b1e3670ee94 | 2,854 | https://github.com/gss/engine/blob/2d4920f52a439e00c1f1b06d71317b1e3670ee94/Gruntfile.coffee | 101 | 147 |
gss/engine:Gruntfile.coffee:3:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
({
all: {
options: {
urls: ['http://127.0.0.1:9999/spec/runner.html'],
browsers: [
{
browserName: 'googlechrome',
version: '34'
},
{
browserName: 'firefox',
version: '28'
},
... | all:
options:
urls: ['http://127.0.0.1:9999/spec/runner.html']
browsers: [
browserName: 'googlechrome'
version: '34'
,
browserName: 'firefox'
version: '28'
,
browserName: 'safari'
version: '6'
... | JavaScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 2d4920f52a439e00c1f1b06d71317b1e3670ee94 | 2,854 | https://github.com/gss/engine/blob/2d4920f52a439e00c1f1b06d71317b1e3670ee94/Gruntfile.coffee | 101 | 147 |
gss/engine:Gruntfile.coffee:3:completion | completion | all:
options:
urls: ['http://127.0.0.1:9999/spec/runner.html']
browsers: [
browserName: 'googlechrome'
version: '34'
,
browserName: 'firefox'
version: '28'
,
browserName: 'safari'
version: '6'
... | # Grunt plugins used for building
@loadNpmTasks 'grunt-browserify'
@loadNpmTasks 'grunt-contrib-uglify'
@loadNpmTasks 'grunt-contrib-clean'
@loadNpmTasks 'grunt-docco'
@loadNpmTasks 'grunt-banner'
@loadNpmTasks 'grunt-watchify'
# Grunt plugins used for testing
@loadNpmTasks 'grunt-coffeelint'
@loadNp... | CoffeeScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | 2d4920f52a439e00c1f1b06d71317b1e3670ee94 | 2,854 | https://github.com/gss/engine/blob/2d4920f52a439e00c1f1b06d71317b1e3670ee94/Gruntfile.coffee | 101 | 147 |
gss/engine:Gruntfile.coffee:1:raw_corpus | raw_corpus | module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
clean:
nuke_components:
src: ['components/*/']
nuke_bower:
src: ['bower_components']
nuke_built:
src: ['dist']
browserify:
dist:
files:
'dist/gss... | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | acfae7d2b3ba710f926b0434adea05707592c857 | 2,854 | https://github.com/gss/engine/blob/acfae7d2b3ba710f926b0434adea05707592c857/Gruntfile.coffee | 1 | 50 | ||
gss/engine:Gruntfile.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
clean:
nuke_components:
src: ['components/*/']
nuke_bower:
src: ['bower_components']
nuke_built:
src: ['dist']
b... | module.exports = function() {
// Project configuration
return this.initConfig({
pkg: this.file.readJSON('package.json'),
clean: {
nuke_components: {
src: ['components/*/']
},
nuke_bower: {
src: ['bower_components']
},
nuke_built: {
src: ['dist']
}
... | CoffeeScript | JavaScript | gss/engine | Gruntfile.coffee | MIT | acfae7d2b3ba710f926b0434adea05707592c857 | 2,854 | https://github.com/gss/engine/blob/acfae7d2b3ba710f926b0434adea05707592c857/Gruntfile.coffee | 1 | 50 |
gss/engine:Gruntfile.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
module.exports = function() {
// Project configuration
return this.initConfig({
pkg: this.file.readJSON('package.json'),
clean: {
nuke_components: {
src: ['components/*/']
},
nuke_bower: {
src: ['bower_components']
... | module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
clean:
nuke_components:
src: ['components/*/']
nuke_bower:
src: ['bower_components']
nuke_built:
src: ['dist']
browserify:
dist:
files:
'dist/gss... | JavaScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | acfae7d2b3ba710f926b0434adea05707592c857 | 2,854 | https://github.com/gss/engine/blob/acfae7d2b3ba710f926b0434adea05707592c857/Gruntfile.coffee | 1 | 50 |
gss/engine:Gruntfile.coffee:1:completion | completion | module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
clean:
nuke_components:
src: ['components/*/']
nuke_bower:
src: ['bower_components']
nuke_built:
src: ['dist']
browserify:
dist:
files:
'dist/gss... | report: 'min'
engine:
files:
'./dist/gss.min.js': ['./dist/gss.js']
# Adding version information to the generated files
banner: '/* <%= pkg.name %> - version <%= pkg.version %> (<%= grunt.template.today("yyyy-mm-dd") %>) - http://gridstylesheets.org */'
usebanner:
dist:
... | CoffeeScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | acfae7d2b3ba710f926b0434adea05707592c857 | 2,854 | https://github.com/gss/engine/blob/acfae7d2b3ba710f926b0434adea05707592c857/Gruntfile.coffee | 1 | 50 |
gss/engine:Gruntfile.coffee:3:raw_corpus | raw_corpus | cwd: 'spec'
src: ['*.coffee', '**/*.coffee']
dest: 'spec/js'
ext: '.js'
# Cross-browser testing
connect:
server:
options:
base: ''
port: 9999
# BDD tests on browser
mocha_phantomjs:
all:
options:
reporter: 'node_modules/... | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | acfae7d2b3ba710f926b0434adea05707592c857 | 2,854 | https://github.com/gss/engine/blob/acfae7d2b3ba710f926b0434adea05707592c857/Gruntfile.coffee | 101 | 150 | ||
gss/engine:Gruntfile.coffee:3:completion | completion | cwd: 'spec'
src: ['*.coffee', '**/*.coffee']
dest: 'spec/js'
ext: '.js'
# Cross-browser testing
connect:
server:
options:
base: ''
port: 9999
# BDD tests on browser
mocha_phantomjs:
all:
options:
reporter: 'node_modules/... | version: '34'
,
browserName: 'firefox'
version: '28'
,
browserName: 'safari'
version: '6'
,
browserName: 'internet explorer'
version: '11'
,
browserName: 'internet explorer'
version: '... | CoffeeScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | acfae7d2b3ba710f926b0434adea05707592c857 | 2,854 | https://github.com/gss/engine/blob/acfae7d2b3ba710f926b0434adea05707592c857/Gruntfile.coffee | 101 | 150 |
gss/engine:Gruntfile.coffee:4:raw_corpus | raw_corpus | @loadNpmTasks 'grunt-banner'
# Grunt plugins used for testing
@loadNpmTasks 'grunt-coffeelint'
@loadNpmTasks 'grunt-mocha-phantomjs'
@loadNpmTasks 'grunt-contrib-watch'
# Cross-browser testing in the cloud
@loadNpmTasks 'grunt-contrib-connect'
@loadNpmTasks 'grunt-saucelabs'
@registerTask 'build:lib'... | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | acfae7d2b3ba710f926b0434adea05707592c857 | 2,854 | https://github.com/gss/engine/blob/acfae7d2b3ba710f926b0434adea05707592c857/Gruntfile.coffee | 151 | 169 | ||
gss/engine:Gruntfile.coffee:4:completion | completion | @loadNpmTasks 'grunt-banner'
# Grunt plugins used for testing
@loadNpmTasks 'grunt-coffeelint'
@loadNpmTasks 'grunt-mocha-phantomjs'
@loadNpmTasks 'grunt-contrib-watch'
# Cross-browser testing in the cloud
@loadNpmTasks 'grunt-contrib-connect' | @loadNpmTasks 'grunt-saucelabs'
@registerTask 'build:lib', ['coffee:src']
@registerTask 'build:dist', ['browserify:dist']
@registerTask 'build', ['build:lib', 'build:dist', 'uglify:engine', 'usebanner']
@registerTask 'test', ['coffeelint', 'coffee:spec', 'build', 'phantom']
@registerTask 'phantom', ['connect... | CoffeeScript | CoffeeScript | gss/engine | Gruntfile.coffee | MIT | acfae7d2b3ba710f926b0434adea05707592c857 | 2,854 | https://github.com/gss/engine/blob/acfae7d2b3ba710f926b0434adea05707592c857/Gruntfile.coffee | 151 | 169 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.