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
Nedomas/databound:spec/spec_helper.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript global._ = require('lodash') global.mockDOM = (fn) -> jsdom = require('jsdom') jsdom.env( html: "<html><body></body></html>" scripts: ['../bower_components/jquery/dist/jquery.min.js'] done: (err, window) -> if err console.log(err) ...
var stringify; global._ = require('lodash'); global.mockDOM = function(fn) { var jsdom; jsdom = require('jsdom'); return jsdom.env({ html: "<html><body></body></html>", scripts: ['../bower_components/jquery/dist/jquery.min.js'], done: function(err, window) { var Databound; if (err) { ...
CoffeeScript
JavaScript
Nedomas/databound
spec/spec_helper.coffee
MIT
e8ca7dd05ec89ef852eb0f13e8cb6bf0b39f661e
452
https://github.com/Nedomas/databound/blob/e8ca7dd05ec89ef852eb0f13e8cb6bf0b39f661e/spec/spec_helper.coffee
1
44
Nedomas/databound:spec/spec_helper.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript var stringify; global._ = require('lodash'); global.mockDOM = function(fn) { var jsdom; jsdom = require('jsdom'); return jsdom.env({ html: "<html><body></body></html>", scripts: ['../bower_components/jquery/dist/jquery.min.js'], done: function(e...
global._ = require('lodash') global.mockDOM = (fn) -> jsdom = require('jsdom') jsdom.env( html: "<html><body></body></html>" scripts: ['../bower_components/jquery/dist/jquery.min.js'] done: (err, window) -> if err console.log(err) global.window = window global._ = require('lo...
JavaScript
CoffeeScript
Nedomas/databound
spec/spec_helper.coffee
MIT
e8ca7dd05ec89ef852eb0f13e8cb6bf0b39f661e
452
https://github.com/Nedomas/databound/blob/e8ca7dd05ec89ef852eb0f13e8cb6bf0b39f661e/spec/spec_helper.coffee
1
44
Nedomas/databound:spec/spec_helper.coffee:1:completion
completion
global._ = require('lodash') global.mockDOM = (fn) -> jsdom = require('jsdom') jsdom.env( html: "<html><body></body></html>" scripts: ['../bower_components/jquery/dist/jquery.min.js'] done: (err, window) -> if err console.log(err) global.window = window global._ = require('lo...
window.close() ) global.stubResponse = (resp, fn, type = 'resolve') -> mockDOM -> sinon = require('sinon') jQuery = require 'jquery' _.each ['records', 'scoped_records'], stringify(resp) stub = sinon.stub jQuery, 'post', -> deferred = jQuery.Deferred() deferred[type](resp) deferr...
CoffeeScript
CoffeeScript
Nedomas/databound
spec/spec_helper.coffee
MIT
e8ca7dd05ec89ef852eb0f13e8cb6bf0b39f661e
452
https://github.com/Nedomas/databound/blob/e8ca7dd05ec89ef852eb0f13e8cb6bf0b39f661e/spec/spec_helper.coffee
1
44
meltingice/psd.js:lib/psd/layer_info/artboard.coffee:1:raw_corpus
raw_corpus
LayerInfo = require '../layer_info.coffee' Descriptor = require '../descriptor.coffee' module.exports = class Artboard extends LayerInfo @shouldParse: (key) -> key is 'artb' parse: -> @file.seek 4, true @data = new Descriptor(@file).parse() export: -> coords: left: @data.artboardRect['Left'] ...
CoffeeScript
meltingice/psd.js
lib/psd/layer_info/artboard.coffee
MIT
7e8392d20fd5d66ad70ddda7309661b9a0ca67c8
2,846
https://github.com/meltingice/psd.js/blob/7e8392d20fd5d66ad70ddda7309661b9a0ca67c8/lib/psd/layer_info/artboard.coffee
1
16
meltingice/psd.js:lib/psd/layer_info/artboard.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript LayerInfo = require '../layer_info.coffee' Descriptor = require '../descriptor.coffee' module.exports = class Artboard extends LayerInfo @shouldParse: (key) -> key is 'artb' parse: -> @file.seek 4, true @data = new Descriptor(@file).parse() expor...
var Artboard, Descriptor, LayerInfo; LayerInfo = require('../layer_info.coffee'); Descriptor = require('../descriptor.coffee'); module.exports = Artboard = class Artboard extends LayerInfo { static shouldParse(key) { return key === 'artb'; } parse() { this.file.seek(4, true); return this.data = ne...
CoffeeScript
JavaScript
meltingice/psd.js
lib/psd/layer_info/artboard.coffee
MIT
7e8392d20fd5d66ad70ddda7309661b9a0ca67c8
2,846
https://github.com/meltingice/psd.js/blob/7e8392d20fd5d66ad70ddda7309661b9a0ca67c8/lib/psd/layer_info/artboard.coffee
1
16
meltingice/psd.js:lib/psd/layer_info/artboard.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript var Artboard, Descriptor, LayerInfo; LayerInfo = require('../layer_info.coffee'); Descriptor = require('../descriptor.coffee'); module.exports = Artboard = class Artboard extends LayerInfo { static shouldParse(key) { return key === 'artb'; } parse() {...
LayerInfo = require '../layer_info.coffee' Descriptor = require '../descriptor.coffee' module.exports = class Artboard extends LayerInfo @shouldParse: (key) -> key is 'artb' parse: -> @file.seek 4, true @data = new Descriptor(@file).parse() export: -> coords: left: @data.artboardRect['Left'] ...
JavaScript
CoffeeScript
meltingice/psd.js
lib/psd/layer_info/artboard.coffee
MIT
7e8392d20fd5d66ad70ddda7309661b9a0ca67c8
2,846
https://github.com/meltingice/psd.js/blob/7e8392d20fd5d66ad70ddda7309661b9a0ca67c8/lib/psd/layer_info/artboard.coffee
1
16
meltingice/psd.js:lib/psd/layer_info/artboard.coffee:1:completion
completion
LayerInfo = require '../layer_info.coffee' Descriptor = require '../descriptor.coffee' module.exports = class Artboard extends LayerInfo @shouldParse: (key) -> key is 'artb' parse: -> @file.seek 4, true
@data = new Descriptor(@file).parse() export: -> coords: left: @data.artboardRect['Left'] top: @data.artboardRect['Top '] right: @data.artboardRect['Rght'] bottom: @data.artboardRect['Btom']
CoffeeScript
CoffeeScript
meltingice/psd.js
lib/psd/layer_info/artboard.coffee
MIT
7e8392d20fd5d66ad70ddda7309661b9a0ca67c8
2,846
https://github.com/meltingice/psd.js/blob/7e8392d20fd5d66ad70ddda7309661b9a0ca67c8/lib/psd/layer_info/artboard.coffee
1
16
Glavin001/atom-beautify:src/beautifiers/goimports.coffee:1:raw_corpus
raw_corpus
### Requires https://godoc.org/golang.org/x/tools/cmd/goimports ### "use strict" Beautifier = require('./beautifier') module.exports = class Goimports extends Beautifier name: "goimports" link: "https://godoc.org/golang.org/x/tools/cmd/goimports" executables: [ { name: "goimports" cmd: "goimport...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/goimports.coffee
MIT
41d5051b399f7fe11efd149504a232df16179d60
1,503
https://github.com/Glavin001/atom-beautify/blob/41d5051b399f7fe11efd149504a232df16179d60/src/beautifiers/goimports.coffee
1
39
Glavin001/atom-beautify:src/beautifiers/goimports.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript ### Requires https://godoc.org/golang.org/x/tools/cmd/goimports ### "use strict" Beautifier = require('./beautifier') module.exports = class Goimports extends Beautifier name: "goimports" link: "https://godoc.org/golang.org/x/tools/cmd/goimports" executab...
/* Requires https://godoc.org/golang.org/x/tools/cmd/goimports */ "use strict"; var Beautifier, Goimports; Beautifier = require('./beautifier'); module.exports = Goimports = (function() { class Goimports extends Beautifier { beautify(text, language, options) { return this.exe("goimports").run([this.tempFi...
CoffeeScript
JavaScript
Glavin001/atom-beautify
src/beautifiers/goimports.coffee
MIT
41d5051b399f7fe11efd149504a232df16179d60
1,503
https://github.com/Glavin001/atom-beautify/blob/41d5051b399f7fe11efd149504a232df16179d60/src/beautifiers/goimports.coffee
1
39
Glavin001/atom-beautify:src/beautifiers/goimports.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript /* Requires https://godoc.org/golang.org/x/tools/cmd/goimports */ "use strict"; var Beautifier, Goimports; Beautifier = require('./beautifier'); module.exports = Goimports = (function() { class Goimports extends Beautifier { beautify(text, language, options...
### Requires https://godoc.org/golang.org/x/tools/cmd/goimports ### "use strict" Beautifier = require('./beautifier') module.exports = class Goimports extends Beautifier name: "goimports" link: "https://godoc.org/golang.org/x/tools/cmd/goimports" executables: [ { name: "goimports" cmd: "goimport...
JavaScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/goimports.coffee
MIT
41d5051b399f7fe11efd149504a232df16179d60
1,503
https://github.com/Glavin001/atom-beautify/blob/41d5051b399f7fe11efd149504a232df16179d60/src/beautifiers/goimports.coffee
1
39
Glavin001/atom-beautify:src/beautifiers/goimports.coffee:1:completion
completion
### Requires https://godoc.org/golang.org/x/tools/cmd/goimports ### "use strict" Beautifier = require('./beautifier') module.exports = class Goimports extends Beautifier name: "goimports" link: "https://godoc.org/golang.org/x/tools/cmd/goimports" executables: [ { name: "goimports" cmd: "goimport...
parse: (text) -> text.indexOf("usage: goimports") isnt -1 and "0.0.0", runOptions: { ignoreReturnCode: true, returnStderr: true } } docker: { image: "unibeautify/goimports" } } ] options: { Go: false } beautify: (text, language, options) ->...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/goimports.coffee
MIT
41d5051b399f7fe11efd149504a232df16179d60
1,503
https://github.com/Glavin001/atom-beautify/blob/41d5051b399f7fe11efd149504a232df16179d60/src/beautifiers/goimports.coffee
1
39
Glavin001/atom-beautify:src/beautifiers/goimports.coffee:1:raw_corpus
raw_corpus
### Requires https://godoc.org/golang.org/x/tools/cmd/goimports ### "use strict" Beautifier = require('./beautifier') module.exports = class Goimports extends Beautifier name: "goimports" link: "https://godoc.org/golang.org/x/tools/cmd/goimports" executables: [ { name: "goimports" cmd: "goimport...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/goimports.coffee
MIT
d2eaba720da720a593019d8c9f73fd82771f5bad
1,503
https://github.com/Glavin001/atom-beautify/blob/d2eaba720da720a593019d8c9f73fd82771f5bad/src/beautifiers/goimports.coffee
1
36
Glavin001/atom-beautify:src/beautifiers/goimports.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript ### Requires https://godoc.org/golang.org/x/tools/cmd/goimports ### "use strict" Beautifier = require('./beautifier') module.exports = class Goimports extends Beautifier name: "goimports" link: "https://godoc.org/golang.org/x/tools/cmd/goimports" executab...
/* Requires https://godoc.org/golang.org/x/tools/cmd/goimports */ "use strict"; var Beautifier, Goimports; Beautifier = require('./beautifier'); module.exports = Goimports = (function() { class Goimports extends Beautifier { beautify(text, language, options) { return this.exe("goimports").run([this.tempFi...
CoffeeScript
JavaScript
Glavin001/atom-beautify
src/beautifiers/goimports.coffee
MIT
d2eaba720da720a593019d8c9f73fd82771f5bad
1,503
https://github.com/Glavin001/atom-beautify/blob/d2eaba720da720a593019d8c9f73fd82771f5bad/src/beautifiers/goimports.coffee
1
36
Glavin001/atom-beautify:src/beautifiers/goimports.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript /* Requires https://godoc.org/golang.org/x/tools/cmd/goimports */ "use strict"; var Beautifier, Goimports; Beautifier = require('./beautifier'); module.exports = Goimports = (function() { class Goimports extends Beautifier { beautify(text, language, options...
### Requires https://godoc.org/golang.org/x/tools/cmd/goimports ### "use strict" Beautifier = require('./beautifier') module.exports = class Goimports extends Beautifier name: "goimports" link: "https://godoc.org/golang.org/x/tools/cmd/goimports" executables: [ { name: "goimports" cmd: "goimport...
JavaScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/goimports.coffee
MIT
d2eaba720da720a593019d8c9f73fd82771f5bad
1,503
https://github.com/Glavin001/atom-beautify/blob/d2eaba720da720a593019d8c9f73fd82771f5bad/src/beautifiers/goimports.coffee
1
36
Glavin001/atom-beautify:src/beautifiers/goimports.coffee:1:completion
completion
### Requires https://godoc.org/golang.org/x/tools/cmd/goimports ### "use strict" Beautifier = require('./beautifier') module.exports = class Goimports extends Beautifier name: "goimports" link: "https://godoc.org/golang.org/x/tools/cmd/goimports" executables: [ { name: "goimports" cmd: "goimport...
args: ['--help'], parse: (text) -> text.indexOf("usage: goimports") isnt -1 and "0.0.0", runOptions: { ignoreReturnCode: true, returnStderr: true } } } ] options: { Go: false } beautify: (text, language, options) -> @exe("goimports").run([ @t...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/goimports.coffee
MIT
d2eaba720da720a593019d8c9f73fd82771f5bad
1,503
https://github.com/Glavin001/atom-beautify/blob/d2eaba720da720a593019d8c9f73fd82771f5bad/src/beautifiers/goimports.coffee
1
36
twilson63/express-coffee:lib/coffee/lib/coffee-script/test/test_string_interpolation.coffee:1:raw_corpus
raw_corpus
hello: 'Hello' world: 'World' ok '$hello $world!' is '$hello $world!' ok '${hello} ${world}!' is '${hello} ${world}!' ok "$hello $world!" is 'Hello World!' ok "${hello} ${world}!" is 'Hello World!' ok "[$hello$world]" is '[HelloWorld]' ok "[${hello}${world}]" is '[HelloWorld]' ok "$hello$$world" is 'Hello$World' ok "${...
CoffeeScript
twilson63/express-coffee
lib/coffee/lib/coffee-script/test/test_string_interpolation.coffee
MIT
971837f7d7a5e96cf5a5fdb52e52748060ed2c68
622
https://github.com/twilson63/express-coffee/blob/971837f7d7a5e96cf5a5fdb52e52748060ed2c68/lib/coffee/lib/coffee-script/test/test_string_interpolation.coffee
1
50
twilson63/express-coffee:lib/coffee/lib/coffee-script/test/test_string_interpolation.coffee:1:completion
completion
hello: 'Hello' world: 'World' ok '$hello $world!' is '$hello $world!' ok '${hello} ${world}!' is '${hello} ${world}!' ok "$hello $world!" is 'Hello World!' ok "${hello} ${world}!" is 'Hello World!' ok "[$hello$world]" is '[HelloWorld]' ok "[${hello}${world}]" is '[HelloWorld]' ok "$hello$$world" is 'Hello$World' ok "${...
ok "Escaping \${in} middle" is 'Escaping ${in} middle' ok "Escaping \$last" is 'Escaping $last' ok "Escaping \${last}" is 'Escaping ${last}' ok "$$" is '$$' ok "${}" is '' ok "${}A${} ${} ${}B${}" is 'A B' ok "\\\\\$$" is '\\\\\$$' ok "\\\${}" is '\\${}' ok "I won $20 last night." is 'I won $20 last night.' ok "I wo...
CoffeeScript
CoffeeScript
twilson63/express-coffee
lib/coffee/lib/coffee-script/test/test_string_interpolation.coffee
MIT
971837f7d7a5e96cf5a5fdb52e52748060ed2c68
622
https://github.com/twilson63/express-coffee/blob/971837f7d7a5e96cf5a5fdb52e52748060ed2c68/lib/coffee/lib/coffee-script/test/test_string_interpolation.coffee
1
50
twilson63/express-coffee:lib/coffee/lib/coffee-script/test/test_string_interpolation.coffee:2:raw_corpus
raw_corpus
cya: -> "Hello $@name.".replace('Hello','Goodbye') } ok obj.hi() is "Hello Joe." ok obj.cya() is "Goodbye Joe." ok "With ${"quotes"}" is 'With quotes' ok 'With ${"quotes"}' is 'With ${"quotes"}' ok "Where is ${obj["name"] + '?'}" is 'Where is Joe?' ok "Where is $obj.name?" is 'Where is Joe?' ok "Where is ${"the nest...
CoffeeScript
twilson63/express-coffee
lib/coffee/lib/coffee-script/test/test_string_interpolation.coffee
MIT
971837f7d7a5e96cf5a5fdb52e52748060ed2c68
622
https://github.com/twilson63/express-coffee/blob/971837f7d7a5e96cf5a5fdb52e52748060ed2c68/lib/coffee/lib/coffee-script/test/test_string_interpolation.coffee
51
75
twilson63/express-coffee:lib/coffee/lib/coffee-script/test/test_string_interpolation.coffee:2:completion
completion
cya: -> "Hello $@name.".replace('Hello','Goodbye') } ok obj.hi() is "Hello Joe." ok obj.cya() is "Goodbye Joe." ok "With ${"quotes"}" is 'With quotes' ok 'With ${"quotes"}' is 'With ${"quotes"}' ok "Where is ${obj["name"] + '?'}" is 'Where is Joe?' ok "Where is $obj.name?" is 'Where is Joe?' ok "Where is ${"the nest...
ok "Hello ${world ? "$hello"}" is 'Hello World' ok "Hello ${"${"${obj["name"]}" + '!'}"}" is 'Hello Joe!' a: 1 b: 2 c: 3 ok "$a$b$c" is '123' result: null stash: (str) -> result: str stash "a ${ ('aa').replace /a/g, 'b' } c" ok result is 'a bb c'
CoffeeScript
CoffeeScript
twilson63/express-coffee
lib/coffee/lib/coffee-script/test/test_string_interpolation.coffee
MIT
971837f7d7a5e96cf5a5fdb52e52748060ed2c68
622
https://github.com/twilson63/express-coffee/blob/971837f7d7a5e96cf5a5fdb52e52748060ed2c68/lib/coffee/lib/coffee-script/test/test_string_interpolation.coffee
51
75
JoelBesada/activate-power-mode:lib/color-list.coffee:1:raw_corpus
raw_corpus
SelectListView = require "atom-select-list" module.exports = init: (colorHelper) -> @colorHelper = colorHelper @selectListView = new SelectListView({ emptyMessage: 'No colors options.', itemsClassList: ['mark-active'], items: [], filterKeyForItem: (item) -> item.value + item.descripti...
CoffeeScript
JoelBesada/activate-power-mode
lib/color-list.coffee
MIT
ac060c2476ba8b323ca932eda97da9bc0c051b34
3,570
https://github.com/JoelBesada/activate-power-mode/blob/ac060c2476ba8b323ca932eda97da9bc0c051b34/lib/color-list.coffee
1
50
JoelBesada/activate-power-mode:lib/color-list.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript SelectListView = require "atom-select-list" module.exports = init: (colorHelper) -> @colorHelper = colorHelper @selectListView = new SelectListView({ emptyMessage: 'No colors options.', itemsClassList: ['mark-active'], items: [], ...
var SelectListView; SelectListView = require("atom-select-list"); module.exports = { init: function(colorHelper) { this.colorHelper = colorHelper; this.selectListView = new SelectListView({ emptyMessage: 'No colors options.', itemsClassList: ['mark-active'], items: [], filterKeyForIt...
CoffeeScript
JavaScript
JoelBesada/activate-power-mode
lib/color-list.coffee
MIT
ac060c2476ba8b323ca932eda97da9bc0c051b34
3,570
https://github.com/JoelBesada/activate-power-mode/blob/ac060c2476ba8b323ca932eda97da9bc0c051b34/lib/color-list.coffee
1
50
JoelBesada/activate-power-mode:lib/color-list.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript var SelectListView; SelectListView = require("atom-select-list"); module.exports = { init: function(colorHelper) { this.colorHelper = colorHelper; this.selectListView = new SelectListView({ emptyMessage: 'No colors options.', itemsClassList:...
SelectListView = require "atom-select-list" module.exports = init: (colorHelper) -> @colorHelper = colorHelper @selectListView = new SelectListView({ emptyMessage: 'No colors options.', itemsClassList: ['mark-active'], items: [], filterKeyForItem: (item) -> item.value + item.descripti...
JavaScript
CoffeeScript
JoelBesada/activate-power-mode
lib/color-list.coffee
MIT
ac060c2476ba8b323ca932eda97da9bc0c051b34
3,570
https://github.com/JoelBesada/activate-power-mode/blob/ac060c2476ba8b323ca932eda97da9bc0c051b34/lib/color-list.coffee
1
50
JoelBesada/activate-power-mode:lib/color-list.coffee:1:completion
completion
SelectListView = require "atom-select-list" module.exports = init: (colorHelper) -> @colorHelper = colorHelper @selectListView = new SelectListView({ emptyMessage: 'No colors options.', itemsClassList: ['mark-active'], items: [], filterKeyForItem: (item) -> item.value + item.descripti...
dispose: -> @cancel() @selectListView.destroy() cancel: -> if @panel? @panel.destroy() @panel = null @currentColor = null if @previouslyFocusedElement @previouslyFocusedElement.focus() @previouslyFocusedElement = null attach: -> @previouslyFocusedElement = document.ac...
CoffeeScript
CoffeeScript
JoelBesada/activate-power-mode
lib/color-list.coffee
MIT
ac060c2476ba8b323ca932eda97da9bc0c051b34
3,570
https://github.com/JoelBesada/activate-power-mode/blob/ac060c2476ba8b323ca932eda97da9bc0c051b34/lib/color-list.coffee
1
50
JoelBesada/activate-power-mode:lib/color-list.coffee:2:raw_corpus
raw_corpus
colors = [] colorSchema = atom.config.getSchema(@colorHelper.key) for i, option of colorSchema.properties.type.enum colors.push(option) @selectListView.update({items: colors}) @attach()
CoffeeScript
JoelBesada/activate-power-mode
lib/color-list.coffee
MIT
ac060c2476ba8b323ca932eda97da9bc0c051b34
3,570
https://github.com/JoelBesada/activate-power-mode/blob/ac060c2476ba8b323ca932eda97da9bc0c051b34/lib/color-list.coffee
51
56
JoelBesada/activate-power-mode:lib/color-list.coffee:2:completion
completion
colors = [] colorSchema = atom.config.getSchema(@colorHelper.key) for i, option of colorSchema.properties.type.enum
colors.push(option) @selectListView.update({items: colors}) @attach()
CoffeeScript
CoffeeScript
JoelBesada/activate-power-mode
lib/color-list.coffee
MIT
ac060c2476ba8b323ca932eda97da9bc0c051b34
3,570
https://github.com/JoelBesada/activate-power-mode/blob/ac060c2476ba8b323ca932eda97da9bc0c051b34/lib/color-list.coffee
51
56
Glavin001/atom-beautify:src/beautifiers/elm-format.coffee:1:raw_corpus
raw_corpus
### Requires https://github.com/avh4/elm-format ### "use strict" Beautifier = require('./beautifier') module.exports = class ElmFormat extends Beautifier name: "elm-format" link: "https://github.com/avh4/elm-format" executables: [ { name: "elm-format" cmd: "elm-format" homepage: "https://gi...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/elm-format.coffee
MIT
41d5051b399f7fe11efd149504a232df16179d60
1,503
https://github.com/Glavin001/atom-beautify/blob/41d5051b399f7fe11efd149504a232df16179d60/src/beautifiers/elm-format.coffee
1
43
Glavin001/atom-beautify:src/beautifiers/elm-format.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript ### Requires https://github.com/avh4/elm-format ### "use strict" Beautifier = require('./beautifier') module.exports = class ElmFormat extends Beautifier name: "elm-format" link: "https://github.com/avh4/elm-format" executables: [ { name: "elm-fo...
/* Requires https://github.com/avh4/elm-format */ "use strict"; var Beautifier, ElmFormat; Beautifier = require('./beautifier'); module.exports = ElmFormat = (function() { class ElmFormat extends Beautifier { beautify(text, language, options) { var tempfile; return tempfile = this.tempFile("input", ...
CoffeeScript
JavaScript
Glavin001/atom-beautify
src/beautifiers/elm-format.coffee
MIT
41d5051b399f7fe11efd149504a232df16179d60
1,503
https://github.com/Glavin001/atom-beautify/blob/41d5051b399f7fe11efd149504a232df16179d60/src/beautifiers/elm-format.coffee
1
43
Glavin001/atom-beautify:src/beautifiers/elm-format.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript /* Requires https://github.com/avh4/elm-format */ "use strict"; var Beautifier, ElmFormat; Beautifier = require('./beautifier'); module.exports = ElmFormat = (function() { class ElmFormat extends Beautifier { beautify(text, language, options) { var te...
### Requires https://github.com/avh4/elm-format ### "use strict" Beautifier = require('./beautifier') module.exports = class ElmFormat extends Beautifier name: "elm-format" link: "https://github.com/avh4/elm-format" executables: [ { name: "elm-format" cmd: "elm-format" homepage: "https://gi...
JavaScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/elm-format.coffee
MIT
41d5051b399f7fe11efd149504a232df16179d60
1,503
https://github.com/Glavin001/atom-beautify/blob/41d5051b399f7fe11efd149504a232df16179d60/src/beautifiers/elm-format.coffee
1
43
Glavin001/atom-beautify:src/beautifiers/elm-format.coffee:1:completion
completion
### Requires https://github.com/avh4/elm-format ### "use strict" Beautifier = require('./beautifier') module.exports = class ElmFormat extends Beautifier name: "elm-format" link: "https://github.com/avh4/elm-format" executables: [ { name: "elm-format" cmd: "elm-format" homepage: "https://gi...
return text.match(/elm-format (\d+\.\d+\.\d+)/)[1] } docker: { image: "unibeautify/elm-format" } } ] options: { Elm: true } beautify: (text, language, options) -> tempfile = @tempFile("input", text, ".elm") .then (name) => @exe("elm-format") .run([ ...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/elm-format.coffee
MIT
41d5051b399f7fe11efd149504a232df16179d60
1,503
https://github.com/Glavin001/atom-beautify/blob/41d5051b399f7fe11efd149504a232df16179d60/src/beautifiers/elm-format.coffee
1
43
Glavin001/atom-beautify:src/beautifiers/elm-format.coffee:1:raw_corpus
raw_corpus
### Requires https://github.com/avh4/elm-format ### "use strict" Beautifier = require('./beautifier') module.exports = class ElmFormat extends Beautifier name: "elm-format" link: "https://github.com/avh4/elm-format" executables: [ { name: "elm-format" cmd: "elm-format" homepage: "https://gi...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/elm-format.coffee
MIT
26bbef04a682cf748cafc22a88e2f9afcc2440b6
1,503
https://github.com/Glavin001/atom-beautify/blob/26bbef04a682cf748cafc22a88e2f9afcc2440b6/src/beautifiers/elm-format.coffee
1
40
Glavin001/atom-beautify:src/beautifiers/elm-format.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript ### Requires https://github.com/avh4/elm-format ### "use strict" Beautifier = require('./beautifier') module.exports = class ElmFormat extends Beautifier name: "elm-format" link: "https://github.com/avh4/elm-format" executables: [ { name: "elm-fo...
/* Requires https://github.com/avh4/elm-format */ "use strict"; var Beautifier, ElmFormat; Beautifier = require('./beautifier'); module.exports = ElmFormat = (function() { class ElmFormat extends Beautifier { beautify(text, language, options) { var tempfile; return tempfile = this.tempFile("input", ...
CoffeeScript
JavaScript
Glavin001/atom-beautify
src/beautifiers/elm-format.coffee
MIT
26bbef04a682cf748cafc22a88e2f9afcc2440b6
1,503
https://github.com/Glavin001/atom-beautify/blob/26bbef04a682cf748cafc22a88e2f9afcc2440b6/src/beautifiers/elm-format.coffee
1
40
Glavin001/atom-beautify:src/beautifiers/elm-format.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript /* Requires https://github.com/avh4/elm-format */ "use strict"; var Beautifier, ElmFormat; Beautifier = require('./beautifier'); module.exports = ElmFormat = (function() { class ElmFormat extends Beautifier { beautify(text, language, options) { var te...
### Requires https://github.com/avh4/elm-format ### "use strict" Beautifier = require('./beautifier') module.exports = class ElmFormat extends Beautifier name: "elm-format" link: "https://github.com/avh4/elm-format" executables: [ { name: "elm-format" cmd: "elm-format" homepage: "https://gi...
JavaScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/elm-format.coffee
MIT
26bbef04a682cf748cafc22a88e2f9afcc2440b6
1,503
https://github.com/Glavin001/atom-beautify/blob/26bbef04a682cf748cafc22a88e2f9afcc2440b6/src/beautifiers/elm-format.coffee
1
40
Glavin001/atom-beautify:src/beautifiers/elm-format.coffee:1:completion
completion
### Requires https://github.com/avh4/elm-format ### "use strict" Beautifier = require('./beautifier') module.exports = class ElmFormat extends Beautifier name: "elm-format" link: "https://github.com/avh4/elm-format" executables: [ { name: "elm-format" cmd: "elm-format" homepage: "https://gi...
catch return text.match(/elm-format (\d+\.\d+\.\d+)/)[1] } } ] options: { Elm: true } beautify: (text, language, options) -> tempfile = @tempFile("input", text, ".elm") .then (name) => @exe("elm-format") .run([ '--yes', name ]) ...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/elm-format.coffee
MIT
26bbef04a682cf748cafc22a88e2f9afcc2440b6
1,503
https://github.com/Glavin001/atom-beautify/blob/26bbef04a682cf748cafc22a88e2f9afcc2440b6/src/beautifiers/elm-format.coffee
1
40
Glavin001/atom-beautify:src/beautifiers/elm-format.coffee:1:raw_corpus
raw_corpus
### Requires https://github.com/avh4/elm-format ### "use strict" Beautifier = require('./beautifier') module.exports = class ElmFormat extends Beautifier name: "elm-format" link: "https://github.com/avh4/elm-format" executables: [ { name: "elm-format" cmd: "elm-format" homepage: "https://gi...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/elm-format.coffee
MIT
dc5f4a20dcef83ab457a6c1e76a2a7ba1c5a5b4a
1,503
https://github.com/Glavin001/atom-beautify/blob/dc5f4a20dcef83ab457a6c1e76a2a7ba1c5a5b4a/src/beautifiers/elm-format.coffee
1
36
Glavin001/atom-beautify:src/beautifiers/elm-format.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript ### Requires https://github.com/avh4/elm-format ### "use strict" Beautifier = require('./beautifier') module.exports = class ElmFormat extends Beautifier name: "elm-format" link: "https://github.com/avh4/elm-format" executables: [ { name: "elm-fo...
/* Requires https://github.com/avh4/elm-format */ "use strict"; var Beautifier, ElmFormat; Beautifier = require('./beautifier'); module.exports = ElmFormat = (function() { class ElmFormat extends Beautifier { beautify(text, language, options) { var tempfile; return tempfile = this.tempFile("input", ...
CoffeeScript
JavaScript
Glavin001/atom-beautify
src/beautifiers/elm-format.coffee
MIT
dc5f4a20dcef83ab457a6c1e76a2a7ba1c5a5b4a
1,503
https://github.com/Glavin001/atom-beautify/blob/dc5f4a20dcef83ab457a6c1e76a2a7ba1c5a5b4a/src/beautifiers/elm-format.coffee
1
36
Glavin001/atom-beautify:src/beautifiers/elm-format.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript /* Requires https://github.com/avh4/elm-format */ "use strict"; var Beautifier, ElmFormat; Beautifier = require('./beautifier'); module.exports = ElmFormat = (function() { class ElmFormat extends Beautifier { beautify(text, language, options) { var te...
### Requires https://github.com/avh4/elm-format ### "use strict" Beautifier = require('./beautifier') module.exports = class ElmFormat extends Beautifier name: "elm-format" link: "https://github.com/avh4/elm-format" executables: [ { name: "elm-format" cmd: "elm-format" homepage: "https://gi...
JavaScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/elm-format.coffee
MIT
dc5f4a20dcef83ab457a6c1e76a2a7ba1c5a5b4a
1,503
https://github.com/Glavin001/atom-beautify/blob/dc5f4a20dcef83ab457a6c1e76a2a7ba1c5a5b4a/src/beautifiers/elm-format.coffee
1
36
Glavin001/atom-beautify:src/beautifiers/elm-format.coffee:1:completion
completion
### Requires https://github.com/avh4/elm-format ### "use strict" Beautifier = require('./beautifier') module.exports = class ElmFormat extends Beautifier name: "elm-format" link: "https://github.com/avh4/elm-format" executables: [ { name: "elm-format" cmd: "elm-format" homepage: "https://gi...
} } ] options: { Elm: true } beautify: (text, language, options) -> tempfile = @tempFile("input", text, ".elm") .then (name) => @exe("elm-format") .run([ '--yes', name ]) .then () => @readFile(name)
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/elm-format.coffee
MIT
dc5f4a20dcef83ab457a6c1e76a2a7ba1c5a5b4a
1,503
https://github.com/Glavin001/atom-beautify/blob/dc5f4a20dcef83ab457a6c1e76a2a7ba1c5a5b4a/src/beautifiers/elm-format.coffee
1
36
Glavin001/atom-beautify:src/beautifiers/elm-format.coffee:1:raw_corpus
raw_corpus
### Requires https://github.com/avh4/elm-format ### "use strict" Beautifier = require('./beautifier') module.exports = class ElmFormat extends Beautifier name: "elm-format" link: "https://github.com/avh4/elm-format" isPreInstalled: false options: { Elm: true } beautify: (text, language, options) -> ...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/elm-format.coffee
MIT
ba2198675cbcc1ecd05f18e28e97133cdd2d5319
1,503
https://github.com/Glavin001/atom-beautify/blob/ba2198675cbcc1ecd05f18e28e97133cdd2d5319/src/beautifiers/elm-format.coffee
1
26
Glavin001/atom-beautify:src/beautifiers/elm-format.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript ### Requires https://github.com/avh4/elm-format ### "use strict" Beautifier = require('./beautifier') module.exports = class ElmFormat extends Beautifier name: "elm-format" link: "https://github.com/avh4/elm-format" isPreInstalled: false options: { ...
/* Requires https://github.com/avh4/elm-format */ "use strict"; var Beautifier, ElmFormat; Beautifier = require('./beautifier'); module.exports = ElmFormat = (function() { class ElmFormat extends Beautifier { beautify(text, language, options) { var tempfile; return tempfile = this.tempFile("input", ...
CoffeeScript
JavaScript
Glavin001/atom-beautify
src/beautifiers/elm-format.coffee
MIT
ba2198675cbcc1ecd05f18e28e97133cdd2d5319
1,503
https://github.com/Glavin001/atom-beautify/blob/ba2198675cbcc1ecd05f18e28e97133cdd2d5319/src/beautifiers/elm-format.coffee
1
26
Glavin001/atom-beautify:src/beautifiers/elm-format.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript /* Requires https://github.com/avh4/elm-format */ "use strict"; var Beautifier, ElmFormat; Beautifier = require('./beautifier'); module.exports = ElmFormat = (function() { class ElmFormat extends Beautifier { beautify(text, language, options) { var te...
### Requires https://github.com/avh4/elm-format ### "use strict" Beautifier = require('./beautifier') module.exports = class ElmFormat extends Beautifier name: "elm-format" link: "https://github.com/avh4/elm-format" isPreInstalled: false options: { Elm: true } beautify: (text, language, options) -> ...
JavaScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/elm-format.coffee
MIT
ba2198675cbcc1ecd05f18e28e97133cdd2d5319
1,503
https://github.com/Glavin001/atom-beautify/blob/ba2198675cbcc1ecd05f18e28e97133cdd2d5319/src/beautifiers/elm-format.coffee
1
26
Glavin001/atom-beautify:src/beautifiers/elm-format.coffee:1:completion
completion
### Requires https://github.com/avh4/elm-format ### "use strict" Beautifier = require('./beautifier') module.exports = class ElmFormat extends Beautifier name: "elm-format" link: "https://github.com/avh4/elm-format" isPreInstalled: false options: { Elm: true
} beautify: (text, language, options) -> tempfile = @tempFile("input", text, ".elm") .then (name) => @run("elm-format", [ '--yes', name ], { help: { link: 'https://github.com/avh4/elm-format#installation-' } } ) .then () => @readFile(name)
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/elm-format.coffee
MIT
ba2198675cbcc1ecd05f18e28e97133cdd2d5319
1,503
https://github.com/Glavin001/atom-beautify/blob/ba2198675cbcc1ecd05f18e28e97133cdd2d5319/src/beautifiers/elm-format.coffee
1
26
maxwells/bootstrap-tags:src/templates/2/input.coffee:1:raw_corpus
raw_corpus
window.Tags ||= {} Tags.Templates ||= {} Tags.Templates["2"] ||= {} Tags.Templates["2"].input = (options = {}) -> tagSize = switch options.tagSize when 'sm' then 'small' when 'md' then 'medium' when 'lg' then 'large' "<input type='text' class='tags-input input-#{tagSize}' />"
CoffeeScript
maxwells/bootstrap-tags
src/templates/2/input.coffee
MIT
9fcc5f6c1cada03cbf284e4b78162fd47a882384
543
https://github.com/maxwells/bootstrap-tags/blob/9fcc5f6c1cada03cbf284e4b78162fd47a882384/src/templates/2/input.coffee
1
9
maxwells/bootstrap-tags:src/templates/2/input.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript window.Tags ||= {} Tags.Templates ||= {} Tags.Templates["2"] ||= {} Tags.Templates["2"].input = (options = {}) -> tagSize = switch options.tagSize when 'sm' then 'small' when 'md' then 'medium' when 'lg' then 'large' "<input type='text' class='tag...
var base; window.Tags || (window.Tags = {}); Tags.Templates || (Tags.Templates = {}); (base = Tags.Templates)["2"] || (base["2"] = {}); Tags.Templates["2"].input = function(options = {}) { var tagSize; tagSize = (function() { switch (options.tagSize) { case 'sm': return 'small'; case 'md...
CoffeeScript
JavaScript
maxwells/bootstrap-tags
src/templates/2/input.coffee
MIT
9fcc5f6c1cada03cbf284e4b78162fd47a882384
543
https://github.com/maxwells/bootstrap-tags/blob/9fcc5f6c1cada03cbf284e4b78162fd47a882384/src/templates/2/input.coffee
1
9
maxwells/bootstrap-tags:src/templates/2/input.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript var base; window.Tags || (window.Tags = {}); Tags.Templates || (Tags.Templates = {}); (base = Tags.Templates)["2"] || (base["2"] = {}); Tags.Templates["2"].input = function(options = {}) { var tagSize; tagSize = (function() { switch (options.tagSize) { ...
window.Tags ||= {} Tags.Templates ||= {} Tags.Templates["2"] ||= {} Tags.Templates["2"].input = (options = {}) -> tagSize = switch options.tagSize when 'sm' then 'small' when 'md' then 'medium' when 'lg' then 'large' "<input type='text' class='tags-input input-#{tagSize}' />"
JavaScript
CoffeeScript
maxwells/bootstrap-tags
src/templates/2/input.coffee
MIT
9fcc5f6c1cada03cbf284e4b78162fd47a882384
543
https://github.com/maxwells/bootstrap-tags/blob/9fcc5f6c1cada03cbf284e4b78162fd47a882384/src/templates/2/input.coffee
1
9
maxwells/bootstrap-tags:src/templates/2/input.coffee:1:completion
completion
window.Tags ||= {} Tags.Templates ||= {} Tags.Templates["2"] ||= {} Tags.Templates["2"].input = (options = {}) ->
tagSize = switch options.tagSize when 'sm' then 'small' when 'md' then 'medium' when 'lg' then 'large' "<input type='text' class='tags-input input-#{tagSize}' />"
CoffeeScript
CoffeeScript
maxwells/bootstrap-tags
src/templates/2/input.coffee
MIT
9fcc5f6c1cada03cbf284e4b78162fd47a882384
543
https://github.com/maxwells/bootstrap-tags/blob/9fcc5f6c1cada03cbf284e4b78162fd47a882384/src/templates/2/input.coffee
1
9
maxwells/bootstrap-tags:src/templates/2/input.coffee:1:raw_corpus
raw_corpus
window.Tags ||= {} Tags.Templates ||= {} Tags.Templates["2"] ||= {} Tags.Templates["2"].input = (options = {}) -> "<input type='text' class='tags-input' />"
CoffeeScript
maxwells/bootstrap-tags
src/templates/2/input.coffee
MIT
23509c0e8bcb2e9bf7a4e5558dfbca7fc5c353b1
543
https://github.com/maxwells/bootstrap-tags/blob/23509c0e8bcb2e9bf7a4e5558dfbca7fc5c353b1/src/templates/2/input.coffee
1
5
maxwells/bootstrap-tags:src/templates/2/input.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript window.Tags ||= {} Tags.Templates ||= {} Tags.Templates["2"] ||= {} Tags.Templates["2"].input = (options = {}) -> "<input type='text' class='tags-input' />" ```
var base; window.Tags || (window.Tags = {}); Tags.Templates || (Tags.Templates = {}); (base = Tags.Templates)["2"] || (base["2"] = {}); Tags.Templates["2"].input = function(options = {}) { return "<input type='text' class='tags-input' />"; };
CoffeeScript
JavaScript
maxwells/bootstrap-tags
src/templates/2/input.coffee
MIT
23509c0e8bcb2e9bf7a4e5558dfbca7fc5c353b1
543
https://github.com/maxwells/bootstrap-tags/blob/23509c0e8bcb2e9bf7a4e5558dfbca7fc5c353b1/src/templates/2/input.coffee
1
5
maxwells/bootstrap-tags:src/templates/2/input.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript var base; window.Tags || (window.Tags = {}); Tags.Templates || (Tags.Templates = {}); (base = Tags.Templates)["2"] || (base["2"] = {}); Tags.Templates["2"].input = function(options = {}) { return "<input type='text' class='tags-input' />"; }; ```
window.Tags ||= {} Tags.Templates ||= {} Tags.Templates["2"] ||= {} Tags.Templates["2"].input = (options = {}) -> "<input type='text' class='tags-input' />"
JavaScript
CoffeeScript
maxwells/bootstrap-tags
src/templates/2/input.coffee
MIT
23509c0e8bcb2e9bf7a4e5558dfbca7fc5c353b1
543
https://github.com/maxwells/bootstrap-tags/blob/23509c0e8bcb2e9bf7a4e5558dfbca7fc5c353b1/src/templates/2/input.coffee
1
5
maxwells/bootstrap-tags:src/templates/2/input.coffee:1:completion
completion
window.Tags ||= {} Tags.Templates ||= {}
Tags.Templates["2"] ||= {} Tags.Templates["2"].input = (options = {}) -> "<input type='text' class='tags-input' />"
CoffeeScript
CoffeeScript
maxwells/bootstrap-tags
src/templates/2/input.coffee
MIT
23509c0e8bcb2e9bf7a4e5558dfbca7fc5c353b1
543
https://github.com/maxwells/bootstrap-tags/blob/23509c0e8bcb2e9bf7a4e5558dfbca7fc5c353b1/src/templates/2/input.coffee
1
5
Atraci/Atraci:Gruntfile.coffee:1:raw_corpus
raw_corpus
module.exports = (grunt) -> buildPlatforms = parseBuildPlatforms(grunt.option('platforms')) packageJson = grunt.file.readJSON('package.json') ataciVersion = packageJson.version grunt.log.writeln 'Building ' + packageJson.version grunt.initConfig clean: ['build/releases/**'] coffee: compileBar...
CoffeeScript
Atraci/Atraci
Gruntfile.coffee
MIT
d3fd00622f5f2e6c5d402c7a1ef2cd693f35e9ca
800
https://github.com/Atraci/Atraci/blob/d3fd00622f5f2e6c5d402c7a1ef2cd693f35e9ca/Gruntfile.coffee
1
50
Atraci/Atraci:Gruntfile.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript module.exports = (grunt) -> buildPlatforms = parseBuildPlatforms(grunt.option('platforms')) packageJson = grunt.file.readJSON('package.json') ataciVersion = packageJson.version grunt.log.writeln 'Building ' + packageJson.version grunt.initConfig c...
module.exports = function(grunt) { var ataciVersion, buildPlatforms, packageJson; buildPlatforms = parseBuildPlatforms(grunt.option('platforms')); packageJson = grunt.file.readJSON('package.json'); ataciVersion = packageJson.version; grunt.log.writeln('Building ' + packageJson.version); return grunt.initCon...
CoffeeScript
JavaScript
Atraci/Atraci
Gruntfile.coffee
MIT
d3fd00622f5f2e6c5d402c7a1ef2cd693f35e9ca
800
https://github.com/Atraci/Atraci/blob/d3fd00622f5f2e6c5d402c7a1ef2cd693f35e9ca/Gruntfile.coffee
1
50
Atraci/Atraci:Gruntfile.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript module.exports = function(grunt) { var ataciVersion, buildPlatforms, packageJson; buildPlatforms = parseBuildPlatforms(grunt.option('platforms')); packageJson = grunt.file.readJSON('package.json'); ataciVersion = packageJson.version; grunt.log.writeln('Bu...
module.exports = (grunt) -> buildPlatforms = parseBuildPlatforms(grunt.option('platforms')) packageJson = grunt.file.readJSON('package.json') ataciVersion = packageJson.version grunt.log.writeln 'Building ' + packageJson.version grunt.initConfig clean: ['build/releases/**'] coffee: compileBar...
JavaScript
CoffeeScript
Atraci/Atraci
Gruntfile.coffee
MIT
d3fd00622f5f2e6c5d402c7a1ef2cd693f35e9ca
800
https://github.com/Atraci/Atraci/blob/d3fd00622f5f2e6c5d402c7a1ef2cd693f35e9ca/Gruntfile.coffee
1
50
Atraci/Atraci:Gruntfile.coffee:1:completion
completion
module.exports = (grunt) -> buildPlatforms = parseBuildPlatforms(grunt.option('platforms')) packageJson = grunt.file.readJSON('package.json') ataciVersion = packageJson.version grunt.log.writeln 'Building ' + packageJson.version grunt.initConfig clean: ['build/releases/**'] coffee: compileBar...
target: files: 'js/app.js': 'js/app.js' cssmin: minify: files: 'css/app.css': 'css/app.css' shell: runnw: options: stdout: true command: [ '.\\cache\\0\.10\.1\\win\\nw.exe . --debug', './cache/0.10.1/osx/node-webkit....
CoffeeScript
CoffeeScript
Atraci/Atraci
Gruntfile.coffee
MIT
d3fd00622f5f2e6c5d402c7a1ef2cd693f35e9ca
800
https://github.com/Atraci/Atraci/blob/d3fd00622f5f2e6c5d402c7a1ef2cd693f35e9ca/Gruntfile.coffee
1
50
Atraci/Atraci:Gruntfile.coffee:4:raw_corpus
raw_corpus
parseBuildPlatforms = (argumentPlatform) -> # this will make it build no platform when the platform option is specified # without a value which makes argumentPlatform into a boolean inputPlatforms = argumentPlatform or process.platform + ';' + process.arch # Do some scrubbing to make it easier to match in the...
CoffeeScript
Atraci/Atraci
Gruntfile.coffee
MIT
d3fd00622f5f2e6c5d402c7a1ef2cd693f35e9ca
800
https://github.com/Atraci/Atraci/blob/d3fd00622f5f2e6c5d402c7a1ef2cd693f35e9ca/Gruntfile.coffee
146
162
Atraci/Atraci:Gruntfile.coffee:4:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript parseBuildPlatforms = (argumentPlatform) -> # this will make it build no platform when the platform option is specified # without a value which makes argumentPlatform into a boolean inputPlatforms = argumentPlatform or process.platform + ';' + process.arch...
var parseBuildPlatforms; parseBuildPlatforms = function(argumentPlatform) { var buildAll, buildPlatforms, inputPlatforms; // this will make it build no platform when the platform option is specified // without a value which makes argumentPlatform into a boolean inputPlatforms = argumentPlatform || process.plat...
CoffeeScript
JavaScript
Atraci/Atraci
Gruntfile.coffee
MIT
d3fd00622f5f2e6c5d402c7a1ef2cd693f35e9ca
800
https://github.com/Atraci/Atraci/blob/d3fd00622f5f2e6c5d402c7a1ef2cd693f35e9ca/Gruntfile.coffee
146
162
Atraci/Atraci:Gruntfile.coffee:4:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript var parseBuildPlatforms; parseBuildPlatforms = function(argumentPlatform) { var buildAll, buildPlatforms, inputPlatforms; // this will make it build no platform when the platform option is specified // without a value which makes argumentPlatform into a bool...
parseBuildPlatforms = (argumentPlatform) -> # this will make it build no platform when the platform option is specified # without a value which makes argumentPlatform into a boolean inputPlatforms = argumentPlatform or process.platform + ';' + process.arch # Do some scrubbing to make it easier to match in the...
JavaScript
CoffeeScript
Atraci/Atraci
Gruntfile.coffee
MIT
d3fd00622f5f2e6c5d402c7a1ef2cd693f35e9ca
800
https://github.com/Atraci/Atraci/blob/d3fd00622f5f2e6c5d402c7a1ef2cd693f35e9ca/Gruntfile.coffee
146
162
Atraci/Atraci:Gruntfile.coffee:4:completion
completion
parseBuildPlatforms = (argumentPlatform) -> # this will make it build no platform when the platform option is specified # without a value which makes argumentPlatform into a boolean inputPlatforms = argumentPlatform or process.platform + ';' + process.arch # Do some scrubbing to make it easier to match in the...
inputPlatforms = inputPlatforms.replace(/;ia|;x|;arm/, '') buildAll = /^all$/.test(inputPlatforms) buildPlatforms = mac: /mac/.test(inputPlatforms) or buildAll win: /win/.test(inputPlatforms) or buildAll linux32: /linux32/.test(inputPlatforms) or buildAll linux64: /linux64/.test(inputPlatforms) or b...
CoffeeScript
CoffeeScript
Atraci/Atraci
Gruntfile.coffee
MIT
d3fd00622f5f2e6c5d402c7a1ef2cd693f35e9ca
800
https://github.com/Atraci/Atraci/blob/d3fd00622f5f2e6c5d402c7a1ef2cd693f35e9ca/Gruntfile.coffee
146
162
Atraci/Atraci:Gruntfile.coffee:1:raw_corpus
raw_corpus
module.exports = (grunt) -> buildPlatforms = parseBuildPlatforms(grunt.option('platforms')) packageJson = grunt.file.readJSON('package.json') ataciVersion = packageJson.version grunt.log.writeln 'Building ' + packageJson.version grunt.initConfig clean: ['build/releases/**'] coffee: compileBar...
CoffeeScript
Atraci/Atraci
Gruntfile.coffee
MIT
db7cfd3ddb919904b77532941d0245b36e77f4db
800
https://github.com/Atraci/Atraci/blob/db7cfd3ddb919904b77532941d0245b36e77f4db/Gruntfile.coffee
1
50
Atraci/Atraci:Gruntfile.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript module.exports = (grunt) -> buildPlatforms = parseBuildPlatforms(grunt.option('platforms')) packageJson = grunt.file.readJSON('package.json') ataciVersion = packageJson.version grunt.log.writeln 'Building ' + packageJson.version grunt.initConfig c...
module.exports = function(grunt) { var ataciVersion, buildPlatforms, packageJson; buildPlatforms = parseBuildPlatforms(grunt.option('platforms')); packageJson = grunt.file.readJSON('package.json'); ataciVersion = packageJson.version; grunt.log.writeln('Building ' + packageJson.version); return grunt.initCon...
CoffeeScript
JavaScript
Atraci/Atraci
Gruntfile.coffee
MIT
db7cfd3ddb919904b77532941d0245b36e77f4db
800
https://github.com/Atraci/Atraci/blob/db7cfd3ddb919904b77532941d0245b36e77f4db/Gruntfile.coffee
1
50
Atraci/Atraci:Gruntfile.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript module.exports = function(grunt) { var ataciVersion, buildPlatforms, packageJson; buildPlatforms = parseBuildPlatforms(grunt.option('platforms')); packageJson = grunt.file.readJSON('package.json'); ataciVersion = packageJson.version; grunt.log.writeln('Bu...
module.exports = (grunt) -> buildPlatforms = parseBuildPlatforms(grunt.option('platforms')) packageJson = grunt.file.readJSON('package.json') ataciVersion = packageJson.version grunt.log.writeln 'Building ' + packageJson.version grunt.initConfig clean: ['build/releases/**'] coffee: compileBar...
JavaScript
CoffeeScript
Atraci/Atraci
Gruntfile.coffee
MIT
db7cfd3ddb919904b77532941d0245b36e77f4db
800
https://github.com/Atraci/Atraci/blob/db7cfd3ddb919904b77532941d0245b36e77f4db/Gruntfile.coffee
1
50
Atraci/Atraci:Gruntfile.coffee:1:completion
completion
module.exports = (grunt) -> buildPlatforms = parseBuildPlatforms(grunt.option('platforms')) packageJson = grunt.file.readJSON('package.json') ataciVersion = packageJson.version grunt.log.writeln 'Building ' + packageJson.version grunt.initConfig clean: ['build/releases/**'] coffee: compileBar...
target: files: 'js/app.js': 'js/app.js' cssmin: minify: files: 'css/app.css': 'css/app.css' shell: runnw: options: stdout: true command: [ '.\\cache\\0\.10\.1\\win\\nw.exe . --debug', './cache/0.10.1/osx/node-webkit....
CoffeeScript
CoffeeScript
Atraci/Atraci
Gruntfile.coffee
MIT
db7cfd3ddb919904b77532941d0245b36e77f4db
800
https://github.com/Atraci/Atraci/blob/db7cfd3ddb919904b77532941d0245b36e77f4db/Gruntfile.coffee
1
50
Atraci/Atraci:Gruntfile.coffee:1:raw_corpus
raw_corpus
module.exports = (grunt) -> buildPlatforms = parseBuildPlatforms(grunt.option('platforms')) packageJson = grunt.file.readJSON('package.json') ataciVersion = packageJson.version grunt.log.writeln 'Building ' + packageJson.version grunt.initConfig clean: ['build/releases/**'] coffee: compileBar...
CoffeeScript
Atraci/Atraci
Gruntfile.coffee
MIT
79c7e8399bbcad1acd35f4da61d1f6d10a0e0530
800
https://github.com/Atraci/Atraci/blob/79c7e8399bbcad1acd35f4da61d1f6d10a0e0530/Gruntfile.coffee
1
50
Atraci/Atraci:Gruntfile.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript module.exports = (grunt) -> buildPlatforms = parseBuildPlatforms(grunt.option('platforms')) packageJson = grunt.file.readJSON('package.json') ataciVersion = packageJson.version grunt.log.writeln 'Building ' + packageJson.version grunt.initConfig c...
module.exports = function(grunt) { var ataciVersion, buildPlatforms, packageJson; buildPlatforms = parseBuildPlatforms(grunt.option('platforms')); packageJson = grunt.file.readJSON('package.json'); ataciVersion = packageJson.version; grunt.log.writeln('Building ' + packageJson.version); return grunt.initCon...
CoffeeScript
JavaScript
Atraci/Atraci
Gruntfile.coffee
MIT
79c7e8399bbcad1acd35f4da61d1f6d10a0e0530
800
https://github.com/Atraci/Atraci/blob/79c7e8399bbcad1acd35f4da61d1f6d10a0e0530/Gruntfile.coffee
1
50
Atraci/Atraci:Gruntfile.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript module.exports = function(grunt) { var ataciVersion, buildPlatforms, packageJson; buildPlatforms = parseBuildPlatforms(grunt.option('platforms')); packageJson = grunt.file.readJSON('package.json'); ataciVersion = packageJson.version; grunt.log.writeln('Bu...
module.exports = (grunt) -> buildPlatforms = parseBuildPlatforms(grunt.option('platforms')) packageJson = grunt.file.readJSON('package.json') ataciVersion = packageJson.version grunt.log.writeln 'Building ' + packageJson.version grunt.initConfig clean: ['build/releases/**'] coffee: compileBar...
JavaScript
CoffeeScript
Atraci/Atraci
Gruntfile.coffee
MIT
79c7e8399bbcad1acd35f4da61d1f6d10a0e0530
800
https://github.com/Atraci/Atraci/blob/79c7e8399bbcad1acd35f4da61d1f6d10a0e0530/Gruntfile.coffee
1
50
Atraci/Atraci:Gruntfile.coffee:1:completion
completion
module.exports = (grunt) -> buildPlatforms = parseBuildPlatforms(grunt.option('platforms')) packageJson = grunt.file.readJSON('package.json') ataciVersion = packageJson.version grunt.log.writeln 'Building ' + packageJson.version grunt.initConfig clean: ['build/releases/**'] coffee: compileBar...
target: files: 'js/app.js': 'js/app.js' cssmin: minify: files: 'css/app.css': 'css/app.css' shell: runnw: options: stdout: true command: [ '.\\cache\\0\.10\.1\\win\\nw.exe . --debug', './cache/0.10.1/osx/node-webkit....
CoffeeScript
CoffeeScript
Atraci/Atraci
Gruntfile.coffee
MIT
79c7e8399bbcad1acd35f4da61d1f6d10a0e0530
800
https://github.com/Atraci/Atraci/blob/79c7e8399bbcad1acd35f4da61d1f6d10a0e0530/Gruntfile.coffee
1
50
Atraci/Atraci:Gruntfile.coffee:1:raw_corpus
raw_corpus
module.exports = (grunt) -> buildPlatforms = parseBuildPlatforms(grunt.option('platforms')) packageJson = grunt.file.readJSON('package.json') _VERSION = packageJson.version grunt.log.writeln 'Building ' + packageJson.version grunt.initConfig clean: ['build/releases/**'] coffee: compileBare: ...
CoffeeScript
Atraci/Atraci
Gruntfile.coffee
MIT
d9156b50b3679b3191326843c488d2dc2c8eff6a
800
https://github.com/Atraci/Atraci/blob/d9156b50b3679b3191326843c488d2dc2c8eff6a/Gruntfile.coffee
1
50
Atraci/Atraci:Gruntfile.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript module.exports = (grunt) -> buildPlatforms = parseBuildPlatforms(grunt.option('platforms')) packageJson = grunt.file.readJSON('package.json') _VERSION = packageJson.version grunt.log.writeln 'Building ' + packageJson.version grunt.initConfig clean:...
module.exports = function(grunt) { var _VERSION, buildPlatforms, packageJson; buildPlatforms = parseBuildPlatforms(grunt.option('platforms')); packageJson = grunt.file.readJSON('package.json'); _VERSION = packageJson.version; grunt.log.writeln('Building ' + packageJson.version); return grunt.initConfig({ ...
CoffeeScript
JavaScript
Atraci/Atraci
Gruntfile.coffee
MIT
d9156b50b3679b3191326843c488d2dc2c8eff6a
800
https://github.com/Atraci/Atraci/blob/d9156b50b3679b3191326843c488d2dc2c8eff6a/Gruntfile.coffee
1
50
Atraci/Atraci:Gruntfile.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript module.exports = function(grunt) { var _VERSION, buildPlatforms, packageJson; buildPlatforms = parseBuildPlatforms(grunt.option('platforms')); packageJson = grunt.file.readJSON('package.json'); _VERSION = packageJson.version; grunt.log.writeln('Building '...
module.exports = (grunt) -> buildPlatforms = parseBuildPlatforms(grunt.option('platforms')) packageJson = grunt.file.readJSON('package.json') _VERSION = packageJson.version grunt.log.writeln 'Building ' + packageJson.version grunt.initConfig clean: ['build/releases/**'] coffee: compileBare: ...
JavaScript
CoffeeScript
Atraci/Atraci
Gruntfile.coffee
MIT
d9156b50b3679b3191326843c488d2dc2c8eff6a
800
https://github.com/Atraci/Atraci/blob/d9156b50b3679b3191326843c488d2dc2c8eff6a/Gruntfile.coffee
1
50
Atraci/Atraci:Gruntfile.coffee:1:completion
completion
module.exports = (grunt) -> buildPlatforms = parseBuildPlatforms(grunt.option('platforms')) packageJson = grunt.file.readJSON('package.json') _VERSION = packageJson.version grunt.log.writeln 'Building ' + packageJson.version grunt.initConfig clean: ['build/releases/**'] coffee: compileBare: ...
files: 'js/app.js': 'js/app.js' cssmin: minify: files: 'css/app.css': 'css/app.css' shell: runnw: options: stdout: true command: [ './build/cache/mac/0.9.2/node-webkit.app/Contents/MacOS/node-webkit . --debug' , '\\build\\cache\\win\\0\.9\.2\\n...
CoffeeScript
CoffeeScript
Atraci/Atraci
Gruntfile.coffee
MIT
d9156b50b3679b3191326843c488d2dc2c8eff6a
800
https://github.com/Atraci/Atraci/blob/d9156b50b3679b3191326843c488d2dc2c8eff6a/Gruntfile.coffee
1
50
Atraci/Atraci:Gruntfile.coffee:1:raw_corpus
raw_corpus
module.exports = (grunt) -> buildPlatforms = parseBuildPlatforms(grunt.option('platforms')) packageJson = grunt.file.readJSON('package.json') _VERSION = packageJson.version grunt.log.writeln 'Building ' + packageJson.version grunt.initConfig clean: ['build/releases/**'] coffee: ...
CoffeeScript
Atraci/Atraci
Gruntfile.coffee
MIT
8adde0db13cd389a507e266d2668a04020cf342e
800
https://github.com/Atraci/Atraci/blob/8adde0db13cd389a507e266d2668a04020cf342e/Gruntfile.coffee
1
50
Atraci/Atraci:Gruntfile.coffee:1:completion
completion
module.exports = (grunt) -> buildPlatforms = parseBuildPlatforms(grunt.option('platforms')) packageJson = grunt.file.readJSON('package.json') _VERSION = packageJson.version grunt.log.writeln 'Building ' + packageJson.version grunt.initConfig clean: ['build/releases/**'] coffee: ...
target: files: 'js/app.js': 'js/app.js' cssmin: minify: files: 'css/app.css': 'css/app.css' shell: runnw: options: stdout: true command: [ './build/cache/...
CoffeeScript
CoffeeScript
Atraci/Atraci
Gruntfile.coffee
MIT
8adde0db13cd389a507e266d2668a04020cf342e
800
https://github.com/Atraci/Atraci/blob/8adde0db13cd389a507e266d2668a04020cf342e/Gruntfile.coffee
1
50
Atraci/Atraci:Gruntfile.coffee:1:raw_corpus
raw_corpus
module.exports = (grunt) -> buildPlatforms = parseBuildPlatforms(grunt.option('platforms')) packageJson = grunt.file.readJSON('package.json') _VERSION = packageJson.version grunt.log.writeln 'Building ' + packageJson.version grunt.initConfig clean: ['build/releases/**'] coffee: ...
CoffeeScript
Atraci/Atraci
Gruntfile.coffee
MIT
451d4af1326f1d4cc42d855deeda14b3b716dea2
800
https://github.com/Atraci/Atraci/blob/451d4af1326f1d4cc42d855deeda14b3b716dea2/Gruntfile.coffee
1
50
Atraci/Atraci:Gruntfile.coffee:1:completion
completion
module.exports = (grunt) -> buildPlatforms = parseBuildPlatforms(grunt.option('platforms')) packageJson = grunt.file.readJSON('package.json') _VERSION = packageJson.version grunt.log.writeln 'Building ' + packageJson.version grunt.initConfig clean: ['build/releases/**'] coffee: ...
target: files: 'js/app.js': 'js/app.js' cssmin: minify: files: 'css/app.css': 'css/app.css' shell: runnw: options: stdout: true command: [ './build/cache/...
CoffeeScript
CoffeeScript
Atraci/Atraci
Gruntfile.coffee
MIT
451d4af1326f1d4cc42d855deeda14b3b716dea2
800
https://github.com/Atraci/Atraci/blob/451d4af1326f1d4cc42d855deeda14b3b716dea2/Gruntfile.coffee
1
50
Atraci/Atraci:Gruntfile.coffee:1:raw_corpus
raw_corpus
module.exports = (grunt) -> buildPlatforms = parseBuildPlatforms(grunt.option('platforms')) packageJson = grunt.file.readJSON('package.json') _VERSION = packageJson.version grunt.log.writeln 'Building ' + packageJson.version grunt.initConfig clean: ['build/releases/**'] coffee: ...
CoffeeScript
Atraci/Atraci
Gruntfile.coffee
MIT
cb019d4bf8a9fa3fec206c0a4d4ebd688cb3a2fe
800
https://github.com/Atraci/Atraci/blob/cb019d4bf8a9fa3fec206c0a4d4ebd688cb3a2fe/Gruntfile.coffee
1
50
Atraci/Atraci:Gruntfile.coffee:1:completion
completion
module.exports = (grunt) -> buildPlatforms = parseBuildPlatforms(grunt.option('platforms')) packageJson = grunt.file.readJSON('package.json') _VERSION = packageJson.version grunt.log.writeln 'Building ' + packageJson.version grunt.initConfig clean: ['build/releases/**'] coffee: ...
target: files: 'js/app.js': 'js/app.js' cssmin: minify: files: 'css/app.css': 'css/app.css' shell: runnw: options: stdout: true command: [ '/build/cache/m...
CoffeeScript
CoffeeScript
Atraci/Atraci
Gruntfile.coffee
MIT
cb019d4bf8a9fa3fec206c0a4d4ebd688cb3a2fe
800
https://github.com/Atraci/Atraci/blob/cb019d4bf8a9fa3fec206c0a4d4ebd688cb3a2fe/Gruntfile.coffee
1
50
Atraci/Atraci:Gruntfile.coffee:1:raw_corpus
raw_corpus
module.exports = (grunt) -> buildPlatforms = parseBuildPlatforms(grunt.option('platforms')) packageJson = grunt.file.readJSON('package.json') _VERSION = packageJson.version grunt.log.writeln 'Building ' + packageJson.version grunt.initConfig clean: ['build/releases/**'] coffee: ...
CoffeeScript
Atraci/Atraci
Gruntfile.coffee
MIT
28a0e0eaa941fad605c8b4eeccfba987d92c1e4f
800
https://github.com/Atraci/Atraci/blob/28a0e0eaa941fad605c8b4eeccfba987d92c1e4f/Gruntfile.coffee
1
50
Atraci/Atraci:Gruntfile.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript module.exports = (grunt) -> buildPlatforms = parseBuildPlatforms(grunt.option('platforms')) packageJson = grunt.file.readJSON('package.json') _VERSION = packageJson.version grunt.log.writeln 'Building ' + packageJson.version grunt.initConfig ...
module.exports = function(grunt) { var _VERSION, buildPlatforms, packageJson; buildPlatforms = parseBuildPlatforms(grunt.option('platforms')); packageJson = grunt.file.readJSON('package.json'); _VERSION = packageJson.version; grunt.log.writeln('Building ' + packageJson.version); return grunt.initConfig({ ...
CoffeeScript
JavaScript
Atraci/Atraci
Gruntfile.coffee
MIT
28a0e0eaa941fad605c8b4eeccfba987d92c1e4f
800
https://github.com/Atraci/Atraci/blob/28a0e0eaa941fad605c8b4eeccfba987d92c1e4f/Gruntfile.coffee
1
50
Atraci/Atraci:Gruntfile.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript module.exports = function(grunt) { var _VERSION, buildPlatforms, packageJson; buildPlatforms = parseBuildPlatforms(grunt.option('platforms')); packageJson = grunt.file.readJSON('package.json'); _VERSION = packageJson.version; grunt.log.writeln('Building '...
module.exports = (grunt) -> buildPlatforms = parseBuildPlatforms(grunt.option('platforms')) packageJson = grunt.file.readJSON('package.json') _VERSION = packageJson.version grunt.log.writeln 'Building ' + packageJson.version grunt.initConfig clean: ['build/releases/**'] coffee: ...
JavaScript
CoffeeScript
Atraci/Atraci
Gruntfile.coffee
MIT
28a0e0eaa941fad605c8b4eeccfba987d92c1e4f
800
https://github.com/Atraci/Atraci/blob/28a0e0eaa941fad605c8b4eeccfba987d92c1e4f/Gruntfile.coffee
1
50
Atraci/Atraci:Gruntfile.coffee:1:completion
completion
module.exports = (grunt) -> buildPlatforms = parseBuildPlatforms(grunt.option('platforms')) packageJson = grunt.file.readJSON('package.json') _VERSION = packageJson.version grunt.log.writeln 'Building ' + packageJson.version grunt.initConfig clean: ['build/releases/**'] coffee: ...
files: 'js/app.js': 'js/app.js' cssmin: minify: files: 'css/app.css': 'css/app.css' shell: runnw: options: stdout: true command: [ 'build/cache/mac/0.9.2/node-webkit.app/...
CoffeeScript
CoffeeScript
Atraci/Atraci
Gruntfile.coffee
MIT
28a0e0eaa941fad605c8b4eeccfba987d92c1e4f
800
https://github.com/Atraci/Atraci/blob/28a0e0eaa941fad605c8b4eeccfba987d92c1e4f/Gruntfile.coffee
1
50
Atraci/Atraci:Gruntfile.coffee:1:raw_corpus
raw_corpus
module.exports = (grunt) -> buildPlatforms = parseBuildPlatforms(grunt.option('platforms')) packageJson = grunt.file.readJSON('package.json') _VERSION = packageJson.version grunt.log.writeln 'Building ' + packageJson.version grunt.initConfig clean: ['build/releases/**'] coffee: ...
CoffeeScript
Atraci/Atraci
Gruntfile.coffee
MIT
6646bb5aea87ea436cde9e6e1928cb6130393289
800
https://github.com/Atraci/Atraci/blob/6646bb5aea87ea436cde9e6e1928cb6130393289/Gruntfile.coffee
1
50
Atraci/Atraci:Gruntfile.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript module.exports = (grunt) -> buildPlatforms = parseBuildPlatforms(grunt.option('platforms')) packageJson = grunt.file.readJSON('package.json') _VERSION = packageJson.version grunt.log.writeln 'Building ' + packageJson.version grunt.initConfig...
module.exports = function(grunt) { var _VERSION, buildPlatforms, packageJson; buildPlatforms = parseBuildPlatforms(grunt.option('platforms')); packageJson = grunt.file.readJSON('package.json'); _VERSION = packageJson.version; grunt.log.writeln('Building ' + packageJson.version); return grunt.initConfig({ ...
CoffeeScript
JavaScript
Atraci/Atraci
Gruntfile.coffee
MIT
6646bb5aea87ea436cde9e6e1928cb6130393289
800
https://github.com/Atraci/Atraci/blob/6646bb5aea87ea436cde9e6e1928cb6130393289/Gruntfile.coffee
1
50
Atraci/Atraci:Gruntfile.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript module.exports = function(grunt) { var _VERSION, buildPlatforms, packageJson; buildPlatforms = parseBuildPlatforms(grunt.option('platforms')); packageJson = grunt.file.readJSON('package.json'); _VERSION = packageJson.version; grunt.log.writeln('Building '...
module.exports = (grunt) -> buildPlatforms = parseBuildPlatforms(grunt.option('platforms')) packageJson = grunt.file.readJSON('package.json') _VERSION = packageJson.version grunt.log.writeln 'Building ' + packageJson.version grunt.initConfig clean: ['build/releases/**'] coffee: ...
JavaScript
CoffeeScript
Atraci/Atraci
Gruntfile.coffee
MIT
6646bb5aea87ea436cde9e6e1928cb6130393289
800
https://github.com/Atraci/Atraci/blob/6646bb5aea87ea436cde9e6e1928cb6130393289/Gruntfile.coffee
1
50
Atraci/Atraci:Gruntfile.coffee:1:completion
completion
module.exports = (grunt) -> buildPlatforms = parseBuildPlatforms(grunt.option('platforms')) packageJson = grunt.file.readJSON('package.json') _VERSION = packageJson.version grunt.log.writeln 'Building ' + packageJson.version grunt.initConfig clean: ['build/releases/**'] coffee: ...
target: files: 'js/app.js': 'js/app.js' cssmin: minify: files: 'css/app.css': 'css/app.css' shell: runnw: options: stdout: true command: [ '/build/cache/m...
CoffeeScript
CoffeeScript
Atraci/Atraci
Gruntfile.coffee
MIT
6646bb5aea87ea436cde9e6e1928cb6130393289
800
https://github.com/Atraci/Atraci/blob/6646bb5aea87ea436cde9e6e1928cb6130393289/Gruntfile.coffee
1
50
Atraci/Atraci:Gruntfile.coffee:1:raw_corpus
raw_corpus
module.exports = (grunt) -> buildPlatforms = parseBuildPlatforms(grunt.option('platforms')) packageJson = grunt.file.readJSON('package.json') _VERSION = packageJson.version grunt.log.writeln 'Building ' + packageJson.version grunt.initConfig clean: ['build/releases/**'] coffee: ...
CoffeeScript
Atraci/Atraci
Gruntfile.coffee
MIT
d4b7f952575352efeff69f232ab345bac48fe586
800
https://github.com/Atraci/Atraci/blob/d4b7f952575352efeff69f232ab345bac48fe586/Gruntfile.coffee
1
50
Atraci/Atraci:Gruntfile.coffee:1:completion
completion
module.exports = (grunt) -> buildPlatforms = parseBuildPlatforms(grunt.option('platforms')) packageJson = grunt.file.readJSON('package.json') _VERSION = packageJson.version grunt.log.writeln 'Building ' + packageJson.version grunt.initConfig clean: ['build/releases/**'] coffee: ...
target: files: 'js/app.js': 'js/app.js' cssmin: minify: files: 'css/app.css': 'css/app.css' shell: runnw: options: stdout: true command: [ ...
CoffeeScript
CoffeeScript
Atraci/Atraci
Gruntfile.coffee
MIT
d4b7f952575352efeff69f232ab345bac48fe586
800
https://github.com/Atraci/Atraci/blob/d4b7f952575352efeff69f232ab345bac48fe586/Gruntfile.coffee
1
50
jianliaoim/talk-os:talk-api2x/server/mailers/direct-message.coffee:1:raw_corpus
raw_corpus
Err = require 'err1st' moment = require 'moment' Promise = require 'bluebird' config = require 'config' BaseMailer = require './base' util = require '../util' {limbo, logger, i18n} = require '../components' { PreferenceModel MessageModel UserModel TeamModel NotificationModel } = limbo.use 'talk' class Direc...
CoffeeScript
jianliaoim/talk-os
talk-api2x/server/mailers/direct-message.coffee
MIT
2545c4497865779a55762e03963a39237df9046b
2,703
https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-api2x/server/mailers/direct-message.coffee
1
50
jianliaoim/talk-os:talk-api2x/server/mailers/direct-message.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript Err = require 'err1st' moment = require 'moment' Promise = require 'bluebird' config = require 'config' BaseMailer = require './base' util = require '../util' {limbo, logger, i18n} = require '../components' { PreferenceModel MessageModel UserModel TeamMo...
var BaseMailer, DirectMessageMailer, Err, MessageModel, NotificationModel, PreferenceModel, Promise, TeamModel, UserModel, config, i18n, limbo, logger, moment, util; Err = require('err1st'); moment = require('moment'); Promise = require('bluebird'); config = require('config'); BaseMailer = require('./base'); util...
CoffeeScript
JavaScript
jianliaoim/talk-os
talk-api2x/server/mailers/direct-message.coffee
MIT
2545c4497865779a55762e03963a39237df9046b
2,703
https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-api2x/server/mailers/direct-message.coffee
1
50
jianliaoim/talk-os:talk-api2x/server/mailers/direct-message.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript var BaseMailer, DirectMessageMailer, Err, MessageModel, NotificationModel, PreferenceModel, Promise, TeamModel, UserModel, config, i18n, limbo, logger, moment, util; Err = require('err1st'); moment = require('moment'); Promise = require('bluebird'); config = re...
Err = require 'err1st' moment = require 'moment' Promise = require 'bluebird' config = require 'config' BaseMailer = require './base' util = require '../util' {limbo, logger, i18n} = require '../components' { PreferenceModel MessageModel UserModel TeamModel NotificationModel } = limbo.use 'talk' class Direc...
JavaScript
CoffeeScript
jianliaoim/talk-os
talk-api2x/server/mailers/direct-message.coffee
MIT
2545c4497865779a55762e03963a39237df9046b
2,703
https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-api2x/server/mailers/direct-message.coffee
1
50
jianliaoim/talk-os:talk-api2x/server/mailers/direct-message.coffee:1:completion
completion
Err = require 'err1st' moment = require 'moment' Promise = require 'bluebird' config = require 'config' BaseMailer = require './base' util = require '../util' {limbo, logger, i18n} = require '../components' { PreferenceModel MessageModel UserModel TeamModel NotificationModel } = limbo.use 'talk' class Direc...
return if "#{_fromId}" is "#{_toId}" $preference = PreferenceModel.findOneAsync _id: _toId, 'emailNotification' $sender = UserModel.findOneAsync _id: _fromId $user = UserModel.findOneAsync _id: _toId $team = TeamModel.findOneAsync _id: _teamId $notification = NotificationModel.findOneAsync ...
CoffeeScript
CoffeeScript
jianliaoim/talk-os
talk-api2x/server/mailers/direct-message.coffee
MIT
2545c4497865779a55762e03963a39237df9046b
2,703
https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-api2x/server/mailers/direct-message.coffee
1
50
jianliaoim/talk-os:talk-api2x/server/mailers/direct-message.coffee:2:raw_corpus
raw_corpus
email.sender = sender email.user = user email.to = user.email email.team = team options = isSystem: false limit: if unreadNum < 30 then unreadNum else 30 MessageModel.findMessagesWithUserAsync _fromId, _toId, _teamId, options .then (messages = []) -> return unle...
CoffeeScript
jianliaoim/talk-os
talk-api2x/server/mailers/direct-message.coffee
MIT
2545c4497865779a55762e03963a39237df9046b
2,703
https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-api2x/server/mailers/direct-message.coffee
51
80
jianliaoim/talk-os:talk-api2x/server/mailers/direct-message.coffee:2:completion
completion
email.sender = sender email.user = user email.to = user.email email.team = team options = isSystem: false limit: if unreadNum < 30 then unreadNum else 30 MessageModel.findMessagesWithUserAsync _fromId, _toId, _teamId, options .then (messages = []) -> return unle...
message.alert = i18n.replace message.getAlert() message.formatedDate = moment(new Date(message.createdAt)).format('HH:mm') return message email.messages = messages email.clickUrl = util.buildTeamUrl email.team._id, null, email.sender?._id email.subject = "[简聊] #{email.sender?.name}给你发送...
CoffeeScript
CoffeeScript
jianliaoim/talk-os
talk-api2x/server/mailers/direct-message.coffee
MIT
2545c4497865779a55762e03963a39237df9046b
2,703
https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-api2x/server/mailers/direct-message.coffee
51
80
mauricemach/zappa:benchmarks/zappa.coffee:1:raw_corpus
raw_corpus
require('../src/zappa') -> @register jade: @zappa.adapter 'jade' @get '/': -> @render 'index.jade': {foo: 'Zappa + Jade'} @get '/coffeekup': -> @render 'index.coffee': {foo: 'Zappa + CoffeeKup'}
CoffeeScript
mauricemach/zappa
benchmarks/zappa.coffee
MIT
725e0103755c9a92fe84de06cee82db00e51a1f8
943
https://github.com/mauricemach/zappa/blob/725e0103755c9a92fe84de06cee82db00e51a1f8/benchmarks/zappa.coffee
1
8
mauricemach/zappa:benchmarks/zappa.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript require('../src/zappa') -> @register jade: @zappa.adapter 'jade' @get '/': -> @render 'index.jade': {foo: 'Zappa + Jade'} @get '/coffeekup': -> @render 'index.coffee': {foo: 'Zappa + CoffeeKup'} ```
require('../src/zappa')(function() { this.register({ jade: this.zappa.adapter('jade') }); this.get({ '/': function() { return this.render({ 'index.jade': { foo: 'Zappa + Jade' } }); } }); return this.get({ '/coffeekup': function() { return this.rende...
CoffeeScript
JavaScript
mauricemach/zappa
benchmarks/zappa.coffee
MIT
725e0103755c9a92fe84de06cee82db00e51a1f8
943
https://github.com/mauricemach/zappa/blob/725e0103755c9a92fe84de06cee82db00e51a1f8/benchmarks/zappa.coffee
1
8
mauricemach/zappa:benchmarks/zappa.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript require('../src/zappa')(function() { this.register({ jade: this.zappa.adapter('jade') }); this.get({ '/': function() { return this.render({ 'index.jade': { foo: 'Zappa + Jade' } }); } }); return this.get({...
require('../src/zappa') -> @register jade: @zappa.adapter 'jade' @get '/': -> @render 'index.jade': {foo: 'Zappa + Jade'} @get '/coffeekup': -> @render 'index.coffee': {foo: 'Zappa + CoffeeKup'}
JavaScript
CoffeeScript
mauricemach/zappa
benchmarks/zappa.coffee
MIT
725e0103755c9a92fe84de06cee82db00e51a1f8
943
https://github.com/mauricemach/zappa/blob/725e0103755c9a92fe84de06cee82db00e51a1f8/benchmarks/zappa.coffee
1
8
mauricemach/zappa:benchmarks/zappa.coffee:1:completion
completion
require('../src/zappa') -> @register jade: @zappa.adapter 'jade' @get '/': ->
@render 'index.jade': {foo: 'Zappa + Jade'} @get '/coffeekup': -> @render 'index.coffee': {foo: 'Zappa + CoffeeKup'}
CoffeeScript
CoffeeScript
mauricemach/zappa
benchmarks/zappa.coffee
MIT
725e0103755c9a92fe84de06cee82db00e51a1f8
943
https://github.com/mauricemach/zappa/blob/725e0103755c9a92fe84de06cee82db00e51a1f8/benchmarks/zappa.coffee
1
8
mauricemach/zappa:benchmarks/zappa.coffee:1:raw_corpus
raw_corpus
require('../src/zappa') -> @register '.jade', @zappa.adapter 'jade' @get '/': -> @data.foo = 'Zappa + Jade' @render 'index.jade' @get '/coffeekup': -> @data.foo = 'Zappa + CoffeeKup' @render 'index.coffee'
CoffeeScript
mauricemach/zappa
benchmarks/zappa.coffee
MIT
9d14666325b7eab05dbad55b18b207c4a7af5667
943
https://github.com/mauricemach/zappa/blob/9d14666325b7eab05dbad55b18b207c4a7af5667/benchmarks/zappa.coffee
1
10
mauricemach/zappa:benchmarks/zappa.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript require('../src/zappa') -> @register '.jade', @zappa.adapter 'jade' @get '/': -> @data.foo = 'Zappa + Jade' @render 'index.jade' @get '/coffeekup': -> @data.foo = 'Zappa + CoffeeKup' @render 'index.coffee' ```
require('../src/zappa')(function() { this.register('.jade', this.zappa.adapter('jade')); this.get({ '/': function() { this.data.foo = 'Zappa + Jade'; return this.render('index.jade'); } }); return this.get({ '/coffeekup': function() { this.data.foo = 'Zappa + CoffeeKup'; retu...
CoffeeScript
JavaScript
mauricemach/zappa
benchmarks/zappa.coffee
MIT
9d14666325b7eab05dbad55b18b207c4a7af5667
943
https://github.com/mauricemach/zappa/blob/9d14666325b7eab05dbad55b18b207c4a7af5667/benchmarks/zappa.coffee
1
10
mauricemach/zappa:benchmarks/zappa.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript require('../src/zappa')(function() { this.register('.jade', this.zappa.adapter('jade')); this.get({ '/': function() { this.data.foo = 'Zappa + Jade'; return this.render('index.jade'); } }); return this.get({ '/coffeekup': function() ...
require('../src/zappa') -> @register '.jade', @zappa.adapter 'jade' @get '/': -> @data.foo = 'Zappa + Jade' @render 'index.jade' @get '/coffeekup': -> @data.foo = 'Zappa + CoffeeKup' @render 'index.coffee'
JavaScript
CoffeeScript
mauricemach/zappa
benchmarks/zappa.coffee
MIT
9d14666325b7eab05dbad55b18b207c4a7af5667
943
https://github.com/mauricemach/zappa/blob/9d14666325b7eab05dbad55b18b207c4a7af5667/benchmarks/zappa.coffee
1
10
mauricemach/zappa:benchmarks/zappa.coffee:1:completion
completion
require('../src/zappa') -> @register '.jade', @zappa.adapter 'jade' @get '/': -> @data.foo = 'Zappa + Jade'
@render 'index.jade' @get '/coffeekup': -> @data.foo = 'Zappa + CoffeeKup' @render 'index.coffee'
CoffeeScript
CoffeeScript
mauricemach/zappa
benchmarks/zappa.coffee
MIT
9d14666325b7eab05dbad55b18b207c4a7af5667
943
https://github.com/mauricemach/zappa/blob/9d14666325b7eab05dbad55b18b207c4a7af5667/benchmarks/zappa.coffee
1
10
mauricemach/zappa:benchmarks/zappa.coffee:1:raw_corpus
raw_corpus
require('../src/zappa').run -> app.register '.jade', zappa.adapter 'jade' get '/': -> @foo = 'Zappa + Jade' render 'index.jade' get '/coffeekup': -> @foo = 'Zappa + CoffeeKup' render 'index.coffee'
CoffeeScript
mauricemach/zappa
benchmarks/zappa.coffee
MIT
3b4aaa49e1a78d40333fcd4d5b00889905cc867f
943
https://github.com/mauricemach/zappa/blob/3b4aaa49e1a78d40333fcd4d5b00889905cc867f/benchmarks/zappa.coffee
1
10