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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
linemanjs/lineman:lib/cli/main.coffee:2:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
description(" - get a value from lineman's configuration").
action ->
configPropertyPath = if _(@args[0]).isString() then @args[0] else undefined
value = new ReadsConfiguration().read(configPropertyPath, commander.process)
console.log(pretty... | description(" - get a value from lineman's configuration").action(function() {
var configPropertyPath, value;
configPropertyPath = _(this.args[0]).isString() ? this.args[0] : void 0;
value = new ReadsConfiguration().read(configPropertyPath, commander.process);
return console.log(prettyPrintsValue.prettyPrint(va... | CoffeeScript | JavaScript | linemanjs/lineman | lib/cli/main.coffee | MIT | 1b4ccf7807d87486224883078b53ffb4d4c11776 | 1,168 | https://github.com/linemanjs/lineman/blob/1b4ccf7807d87486224883078b53ffb4d4c11776/lib/cli/main.coffee | 63 | 110 |
linemanjs/lineman:lib/cli/main.coffee:2:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
description(" - get a value from lineman's configuration").action(function() {
var configPropertyPath, value;
configPropertyPath = _(this.args[0]).isString() ? this.args[0] : void 0;
value = new ReadsConfiguration().read(configPropertyPath, commander.process)... | description(" - get a value from lineman's configuration").
action ->
configPropertyPath = if _(@args[0]).isString() then @args[0] else undefined
value = new ReadsConfiguration().read(configPropertyPath, commander.process)
console.log(prettyPrintsValue.prettyPrint(value))
commander.
command... | JavaScript | CoffeeScript | linemanjs/lineman | lib/cli/main.coffee | MIT | 1b4ccf7807d87486224883078b53ffb4d4c11776 | 1,168 | https://github.com/linemanjs/lineman/blob/1b4ccf7807d87486224883078b53ffb4d4c11776/lib/cli/main.coffee | 63 | 110 |
linemanjs/lineman:lib/cli/main.coffee:2:completion | completion | description(" - get a value from lineman's configuration").
action ->
configPropertyPath = if _(@args[0]).isString() then @args[0] else undefined
value = new ReadsConfiguration().read(configPropertyPath, commander.process)
console.log(prettyPrintsValue.prettyPrint(value))
commander.
command... | command('fetch').
description("Fetch a library and add it to your Lineman project").
action ->
if !_(@args[0]).isString()
return grunt.warn """
Usage: `lineman fetch <recipe_name>`
For a list of available recipes, see:
... | CoffeeScript | CoffeeScript | linemanjs/lineman | lib/cli/main.coffee | MIT | 1b4ccf7807d87486224883078b53ffb4d4c11776 | 1,168 | https://github.com/linemanjs/lineman/blob/1b4ccf7807d87486224883078b53ffb4d4c11776/lib/cli/main.coffee | 63 | 110 |
linemanjs/lineman:lib/cli/main.coffee:2:raw_corpus | raw_corpus | description(" - get a value from lineman's configuration").
action ->
configPropertyPath = if _(@args[0]).isString() then @args[0] else undefined
value = new ReadsConfiguration().read(configPropertyPath, commander.process)
console.log(prettyPrintsValue.prettyPrint(value))
commander.
command... | CoffeeScript | linemanjs/lineman | lib/cli/main.coffee | MIT | e5828fdde5d00a181dea74dedd44d40bbd5fa572 | 1,168 | https://github.com/linemanjs/lineman/blob/e5828fdde5d00a181dea74dedd44d40bbd5fa572/lib/cli/main.coffee | 63 | 91 | ||
linemanjs/lineman:lib/cli/main.coffee:2:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
description(" - get a value from lineman's configuration").
action ->
configPropertyPath = if _(@args[0]).isString() then @args[0] else undefined
value = new ReadsConfiguration().read(configPropertyPath, commander.process)
console.log(pretty... | description(" - get a value from lineman's configuration").action(function() {
var configPropertyPath, value;
configPropertyPath = _(this.args[0]).isString() ? this.args[0] : void 0;
value = new ReadsConfiguration().read(configPropertyPath, commander.process);
return console.log(prettyPrintsValue.prettyPrint(va... | CoffeeScript | JavaScript | linemanjs/lineman | lib/cli/main.coffee | MIT | e5828fdde5d00a181dea74dedd44d40bbd5fa572 | 1,168 | https://github.com/linemanjs/lineman/blob/e5828fdde5d00a181dea74dedd44d40bbd5fa572/lib/cli/main.coffee | 63 | 91 |
linemanjs/lineman:lib/cli/main.coffee:2:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
description(" - get a value from lineman's configuration").action(function() {
var configPropertyPath, value;
configPropertyPath = _(this.args[0]).isString() ? this.args[0] : void 0;
value = new ReadsConfiguration().read(configPropertyPath, commander.process)... | description(" - get a value from lineman's configuration").
action ->
configPropertyPath = if _(@args[0]).isString() then @args[0] else undefined
value = new ReadsConfiguration().read(configPropertyPath, commander.process)
console.log(prettyPrintsValue.prettyPrint(value))
commander.
command... | JavaScript | CoffeeScript | linemanjs/lineman | lib/cli/main.coffee | MIT | e5828fdde5d00a181dea74dedd44d40bbd5fa572 | 1,168 | https://github.com/linemanjs/lineman/blob/e5828fdde5d00a181dea74dedd44d40bbd5fa572/lib/cli/main.coffee | 63 | 91 |
linemanjs/lineman:lib/cli/main.coffee:2:completion | completion | description(" - get a value from lineman's configuration").
action ->
configPropertyPath = if _(@args[0]).isString() then @args[0] else undefined
value = new ReadsConfiguration().read(configPropertyPath, commander.process)
console.log(prettyPrintsValue.prettyPrint(value))
commander.
command... | command("grunt").
description("Run a grunt command with lineman's version of grunt").
action ->
cli.options.base = process.cwd()
cli.tasks = _(arguments).chain().toArray().initial().without("grunt").value()
invokeGrunt
options:
gruntfile: "#{__dirname}/../../Gruntfile.coffee"... | CoffeeScript | CoffeeScript | linemanjs/lineman | lib/cli/main.coffee | MIT | e5828fdde5d00a181dea74dedd44d40bbd5fa572 | 1,168 | https://github.com/linemanjs/lineman/blob/e5828fdde5d00a181dea74dedd44d40bbd5fa572/lib/cli/main.coffee | 63 | 91 |
linemanjs/lineman:lib/cli/main.coffee:1:raw_corpus | raw_corpus | module.exports = ->
require("./setup-env")()
commander.version(packageJson.version)
require("./setup-options")(commander, cli)
require("./ensure-appropriate-version")()
commander.
command("new").
description(" - generates a new lineman project in the specified folder : lineman new my-project").
... | CoffeeScript | linemanjs/lineman | lib/cli/main.coffee | MIT | 45925d6d0ea71bbb240c640b97f74ddae0100851 | 1,168 | https://github.com/linemanjs/lineman/blob/45925d6d0ea71bbb240c640b97f74ddae0100851/lib/cli/main.coffee | 13 | 62 | ||
linemanjs/lineman:lib/cli/main.coffee:1:completion | completion | module.exports = ->
require("./setup-env")()
commander.version(packageJson.version)
require("./setup-options")(commander, cli)
require("./ensure-appropriate-version")()
commander.
command("new").
description(" - generates a new lineman project in the specified folder : lineman new my-project").
... | command("build").
description(" - compiles all assets into a production ready form in the /dist folder").
action ->
cli.tasks = if commander.skipClean
["common", "dist"]
else
["clean", "common", "dist"]
invokeGrunt(name: "build", chainable: true)
commander.
command("spec... | CoffeeScript | CoffeeScript | linemanjs/lineman | lib/cli/main.coffee | MIT | 45925d6d0ea71bbb240c640b97f74ddae0100851 | 1,168 | https://github.com/linemanjs/lineman/blob/45925d6d0ea71bbb240c640b97f74ddae0100851/lib/cli/main.coffee | 13 | 62 |
linemanjs/lineman:lib/cli/main.coffee:2:raw_corpus | raw_corpus | description(" - get a value from lineman's configuration").
action ->
configPropertyPath = if _(@args[0]).isString() then @args[0] else undefined
value = new ReadsConfiguration().read(configPropertyPath, commander.process)
console.log(prettyPrintsValue.prettyPrint(value))
commander.
command... | CoffeeScript | linemanjs/lineman | lib/cli/main.coffee | MIT | 15b5f2936685482c9951141c4fa7dadb8fe648ed | 1,168 | https://github.com/linemanjs/lineman/blob/15b5f2936685482c9951141c4fa7dadb8fe648ed/lib/cli/main.coffee | 63 | 92 | ||
linemanjs/lineman:lib/cli/main.coffee:2:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
description(" - get a value from lineman's configuration").
action ->
configPropertyPath = if _(@args[0]).isString() then @args[0] else undefined
value = new ReadsConfiguration().read(configPropertyPath, commander.process)
console.log(pretty... | description(" - get a value from lineman's configuration").action(function() {
var configPropertyPath, value;
configPropertyPath = _(this.args[0]).isString() ? this.args[0] : void 0;
value = new ReadsConfiguration().read(configPropertyPath, commander.process);
return console.log(prettyPrintsValue.prettyPrint(va... | CoffeeScript | JavaScript | linemanjs/lineman | lib/cli/main.coffee | MIT | 15b5f2936685482c9951141c4fa7dadb8fe648ed | 1,168 | https://github.com/linemanjs/lineman/blob/15b5f2936685482c9951141c4fa7dadb8fe648ed/lib/cli/main.coffee | 63 | 92 |
linemanjs/lineman:lib/cli/main.coffee:2:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
description(" - get a value from lineman's configuration").action(function() {
var configPropertyPath, value;
configPropertyPath = _(this.args[0]).isString() ? this.args[0] : void 0;
value = new ReadsConfiguration().read(configPropertyPath, commander.process)... | description(" - get a value from lineman's configuration").
action ->
configPropertyPath = if _(@args[0]).isString() then @args[0] else undefined
value = new ReadsConfiguration().read(configPropertyPath, commander.process)
console.log(prettyPrintsValue.prettyPrint(value))
commander.
command... | JavaScript | CoffeeScript | linemanjs/lineman | lib/cli/main.coffee | MIT | 15b5f2936685482c9951141c4fa7dadb8fe648ed | 1,168 | https://github.com/linemanjs/lineman/blob/15b5f2936685482c9951141c4fa7dadb8fe648ed/lib/cli/main.coffee | 63 | 92 |
linemanjs/lineman:lib/cli/main.coffee:2:completion | completion | description(" - get a value from lineman's configuration").
action ->
configPropertyPath = if _(@args[0]).isString() then @args[0] else undefined
value = new ReadsConfiguration().read(configPropertyPath, commander.process)
console.log(prettyPrintsValue.prettyPrint(value))
commander.
command... | description("Run a grunt command with lineman's version of grunt").
action ->
cli.options.base = process.cwd()
cli.tasks = _(arguments).chain().toArray().initial().without("grunt").value()
invokeGrunt
options:
gruntfile: "#{__dirname}/../../Gruntfile.coffee"
commander.outputHe... | CoffeeScript | CoffeeScript | linemanjs/lineman | lib/cli/main.coffee | MIT | 15b5f2936685482c9951141c4fa7dadb8fe648ed | 1,168 | https://github.com/linemanjs/lineman/blob/15b5f2936685482c9951141c4fa7dadb8fe648ed/lib/cli/main.coffee | 63 | 92 |
linemanjs/lineman:lib/cli/main.coffee:2:raw_corpus | raw_corpus | description(" - get a value from lineman's configuration").
action ->
configPropertyPath = if _(@args[0]).isString() then @args[0] else undefined
value = new ReadsConfiguration().read(configPropertyPath)
console.log(prettyPrintsValue.prettyPrint(value))
commander.
command("clean").
desc... | CoffeeScript | linemanjs/lineman | lib/cli/main.coffee | MIT | 3cf4e3376890d32e30e817c390713cecfde70d89 | 1,168 | https://github.com/linemanjs/lineman/blob/3cf4e3376890d32e30e817c390713cecfde70d89/lib/cli/main.coffee | 63 | 92 | ||
linemanjs/lineman:lib/cli/main.coffee:2:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
description(" - get a value from lineman's configuration").
action ->
configPropertyPath = if _(@args[0]).isString() then @args[0] else undefined
value = new ReadsConfiguration().read(configPropertyPath)
console.log(prettyPrintsValue.prettyP... | description(" - get a value from lineman's configuration").action(function() {
var configPropertyPath, value;
configPropertyPath = _(this.args[0]).isString() ? this.args[0] : void 0;
value = new ReadsConfiguration().read(configPropertyPath);
return console.log(prettyPrintsValue.prettyPrint(value));
});
command... | CoffeeScript | JavaScript | linemanjs/lineman | lib/cli/main.coffee | MIT | 3cf4e3376890d32e30e817c390713cecfde70d89 | 1,168 | https://github.com/linemanjs/lineman/blob/3cf4e3376890d32e30e817c390713cecfde70d89/lib/cli/main.coffee | 63 | 92 |
linemanjs/lineman:lib/cli/main.coffee:2:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
description(" - get a value from lineman's configuration").action(function() {
var configPropertyPath, value;
configPropertyPath = _(this.args[0]).isString() ? this.args[0] : void 0;
value = new ReadsConfiguration().read(configPropertyPath);
return console.... | description(" - get a value from lineman's configuration").
action ->
configPropertyPath = if _(@args[0]).isString() then @args[0] else undefined
value = new ReadsConfiguration().read(configPropertyPath)
console.log(prettyPrintsValue.prettyPrint(value))
commander.
command("clean").
desc... | JavaScript | CoffeeScript | linemanjs/lineman | lib/cli/main.coffee | MIT | 3cf4e3376890d32e30e817c390713cecfde70d89 | 1,168 | https://github.com/linemanjs/lineman/blob/3cf4e3376890d32e30e817c390713cecfde70d89/lib/cli/main.coffee | 63 | 92 |
linemanjs/lineman:lib/cli/main.coffee:2:completion | completion | description(" - get a value from lineman's configuration").
action ->
configPropertyPath = if _(@args[0]).isString() then @args[0] else undefined
value = new ReadsConfiguration().read(configPropertyPath)
console.log(prettyPrintsValue.prettyPrint(value))
commander.
command("clean").
desc... | description("Run a grunt command with lineman's version of grunt").
action ->
cli.options.base = process.cwd()
cli.tasks = _(arguments).chain().toArray().initial().without("grunt").value()
invokeGrunt
options:
gruntfile: "#{__dirname}/../../Gruntfile.coffee"
commander.outputHe... | CoffeeScript | CoffeeScript | linemanjs/lineman | lib/cli/main.coffee | MIT | 3cf4e3376890d32e30e817c390713cecfde70d89 | 1,168 | https://github.com/linemanjs/lineman/blob/3cf4e3376890d32e30e817c390713cecfde70d89/lib/cli/main.coffee | 63 | 92 |
linemanjs/lineman:lib/cli/main.coffee:1:raw_corpus | raw_corpus | module.exports = ->
require("./setup-env")()
commander.version(packageJson.version)
require("./setup-options")(commander, cli)
require("./ensure-appropriate-version")()
commander.
command("new").
description(" - generates a new lineman project in the specified folder : lineman new my-project").
... | CoffeeScript | linemanjs/lineman | lib/cli/main.coffee | MIT | 539444b831eb941c7411035198b815bfd421690c | 1,168 | https://github.com/linemanjs/lineman/blob/539444b831eb941c7411035198b815bfd421690c/lib/cli/main.coffee | 13 | 62 | ||
linemanjs/lineman:lib/cli/main.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
module.exports = ->
require("./setup-env")()
commander.version(packageJson.version)
require("./setup-options")(commander, cli)
require("./ensure-appropriate-version")()
commander.
command("new").
description(" - generates a new lineman proje... | module.exports = function() {
require("./setup-env")();
commander.version(packageJson.version);
require("./setup-options")(commander, cli);
require("./ensure-appropriate-version")();
commander.command("new").description(" - generates a new lineman project in the specified folder : lineman new my-project").act... | CoffeeScript | JavaScript | linemanjs/lineman | lib/cli/main.coffee | MIT | 539444b831eb941c7411035198b815bfd421690c | 1,168 | https://github.com/linemanjs/lineman/blob/539444b831eb941c7411035198b815bfd421690c/lib/cli/main.coffee | 13 | 62 |
linemanjs/lineman:lib/cli/main.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
module.exports = function() {
require("./setup-env")();
commander.version(packageJson.version);
require("./setup-options")(commander, cli);
require("./ensure-appropriate-version")();
commander.command("new").description(" - generates a new lineman project... | module.exports = ->
require("./setup-env")()
commander.version(packageJson.version)
require("./setup-options")(commander, cli)
require("./ensure-appropriate-version")()
commander.
command("new").
description(" - generates a new lineman project in the specified folder : lineman new my-project").
... | JavaScript | CoffeeScript | linemanjs/lineman | lib/cli/main.coffee | MIT | 539444b831eb941c7411035198b815bfd421690c | 1,168 | https://github.com/linemanjs/lineman/blob/539444b831eb941c7411035198b815bfd421690c/lib/cli/main.coffee | 13 | 62 |
linemanjs/lineman:lib/cli/main.coffee:1:completion | completion | module.exports = ->
require("./setup-env")()
commander.version(packageJson.version)
require("./setup-options")(commander, cli)
require("./ensure-appropriate-version")()
commander.
command("new").
description(" - generates a new lineman project in the specified folder : lineman new my-project").
... | command("build").
description(" - compiles all assets into a production ready form in the /dist folder").
action ->
cli.tasks = ["common", "dist"]
invokeGrunt(name: "build", chainable: true)
commander.
command("spec").
description(" - runs specs in Chrome, override in config/spec.json").
... | CoffeeScript | CoffeeScript | linemanjs/lineman | lib/cli/main.coffee | MIT | 539444b831eb941c7411035198b815bfd421690c | 1,168 | https://github.com/linemanjs/lineman/blob/539444b831eb941c7411035198b815bfd421690c/lib/cli/main.coffee | 13 | 62 |
linemanjs/lineman:lib/cli/main.coffee:2:raw_corpus | raw_corpus | value = new ReadsConfiguration().read(configPropertyPath)
console.log(prettyPrintsValue.prettyPrint(value))
commander.
command("clean").
description(" - cleans out /generated and /dist folders").
action ->
cli.tasks = ["clean"]
invokeGrunt(name: "clean", chainable: true)
commander.
... | CoffeeScript | linemanjs/lineman | lib/cli/main.coffee | MIT | 539444b831eb941c7411035198b815bfd421690c | 1,168 | https://github.com/linemanjs/lineman/blob/539444b831eb941c7411035198b815bfd421690c/lib/cli/main.coffee | 63 | 89 | ||
linemanjs/lineman:lib/cli/main.coffee:2:completion | completion | value = new ReadsConfiguration().read(configPropertyPath)
console.log(prettyPrintsValue.prettyPrint(value))
commander.
command("clean").
description(" - cleans out /generated and /dist folders").
action ->
cli.tasks = ["clean"]
invokeGrunt(name: "clean", chainable: true)
commander.
... | action ->
cli.options.base = process.cwd()
cli.tasks = _(arguments).chain().toArray().initial().without("grunt").value()
invokeGrunt
options:
gruntfile: "#{__dirname}/../../Gruntfile.coffee"
commander.outputHelp() if noCommandWasGiven()
commander.command("*").description("unkno... | CoffeeScript | CoffeeScript | linemanjs/lineman | lib/cli/main.coffee | MIT | 539444b831eb941c7411035198b815bfd421690c | 1,168 | https://github.com/linemanjs/lineman/blob/539444b831eb941c7411035198b815bfd421690c/lib/cli/main.coffee | 63 | 89 |
linemanjs/lineman:lib/cli/main.coffee:1:raw_corpus | raw_corpus | module.exports = ->
require("./setup-env")()
commander.version(packageJson.version)
require("./setup-options")(commander, cli)
require("./ensure-appropriate-version")()
commander.
command("new").
description(" - generates a new lineman project in the specified folder : lineman new my-project").
... | CoffeeScript | linemanjs/lineman | lib/cli/main.coffee | MIT | 78f8beebd31b78fec22776e71987f1ff7992e5a1 | 1,168 | https://github.com/linemanjs/lineman/blob/78f8beebd31b78fec22776e71987f1ff7992e5a1/lib/cli/main.coffee | 11 | 60 | ||
linemanjs/lineman:lib/cli/main.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
module.exports = ->
require("./setup-env")()
commander.version(packageJson.version)
require("./setup-options")(commander, cli)
require("./ensure-appropriate-version")()
commander.
command("new").
description(" - generates a new lineman proje... | module.exports = function() {
require("./setup-env")();
commander.version(packageJson.version);
require("./setup-options")(commander, cli);
require("./ensure-appropriate-version")();
commander.command("new").description(" - generates a new lineman project in the specified folder : lineman new my-project").act... | CoffeeScript | JavaScript | linemanjs/lineman | lib/cli/main.coffee | MIT | 78f8beebd31b78fec22776e71987f1ff7992e5a1 | 1,168 | https://github.com/linemanjs/lineman/blob/78f8beebd31b78fec22776e71987f1ff7992e5a1/lib/cli/main.coffee | 11 | 60 |
linemanjs/lineman:lib/cli/main.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
module.exports = function() {
require("./setup-env")();
commander.version(packageJson.version);
require("./setup-options")(commander, cli);
require("./ensure-appropriate-version")();
commander.command("new").description(" - generates a new lineman project... | module.exports = ->
require("./setup-env")()
commander.version(packageJson.version)
require("./setup-options")(commander, cli)
require("./ensure-appropriate-version")()
commander.
command("new").
description(" - generates a new lineman project in the specified folder : lineman new my-project").
... | JavaScript | CoffeeScript | linemanjs/lineman | lib/cli/main.coffee | MIT | 78f8beebd31b78fec22776e71987f1ff7992e5a1 | 1,168 | https://github.com/linemanjs/lineman/blob/78f8beebd31b78fec22776e71987f1ff7992e5a1/lib/cli/main.coffee | 11 | 60 |
linemanjs/lineman:lib/cli/main.coffee:1:completion | completion | module.exports = ->
require("./setup-env")()
commander.version(packageJson.version)
require("./setup-options")(commander, cli)
require("./ensure-appropriate-version")()
commander.
command("new").
description(" - generates a new lineman project in the specified folder : lineman new my-project").
... | command("build").
description(" - compiles all assets into a production ready form in the /dist folder").
action ->
cli.tasks = ["common", "dist"]
invokeGrunt(name: "build", chainable: true)
commander.
command("spec").
description(" - runs specs in Chrome, override in config/spec.json").
... | CoffeeScript | CoffeeScript | linemanjs/lineman | lib/cli/main.coffee | MIT | 78f8beebd31b78fec22776e71987f1ff7992e5a1 | 1,168 | https://github.com/linemanjs/lineman/blob/78f8beebd31b78fec22776e71987f1ff7992e5a1/lib/cli/main.coffee | 11 | 60 |
linemanjs/lineman:lib/cli/main.coffee:2:raw_corpus | raw_corpus | value = new ReadsConfiguration().read(path)
console.log(value)
commander.
command("clean").
description(" - cleans out /generated and /dist folders").
action ->
cli.tasks = ["clean"]
invokeGrunt(name: "clean", chainable: true)
commander.
command("grunt").
description("Run a g... | CoffeeScript | linemanjs/lineman | lib/cli/main.coffee | MIT | 78f8beebd31b78fec22776e71987f1ff7992e5a1 | 1,168 | https://github.com/linemanjs/lineman/blob/78f8beebd31b78fec22776e71987f1ff7992e5a1/lib/cli/main.coffee | 61 | 87 | ||
linemanjs/lineman:lib/cli/main.coffee:2:completion | completion | value = new ReadsConfiguration().read(path)
console.log(value)
commander.
command("clean").
description(" - cleans out /generated and /dist folders").
action ->
cli.tasks = ["clean"]
invokeGrunt(name: "clean", chainable: true)
commander.
command("grunt").
description("Run a g... | action ->
cli.options.base = process.cwd()
cli.tasks = _(arguments).chain().toArray().initial().without("grunt").value()
invokeGrunt
options:
gruntfile: "#{__dirname}/../../Gruntfile.coffee"
commander.outputHelp() if noCommandWasGiven()
commander.command("*").description("unkno... | CoffeeScript | CoffeeScript | linemanjs/lineman | lib/cli/main.coffee | MIT | 78f8beebd31b78fec22776e71987f1ff7992e5a1 | 1,168 | https://github.com/linemanjs/lineman/blob/78f8beebd31b78fec22776e71987f1ff7992e5a1/lib/cli/main.coffee | 61 | 87 |
linemanjs/lineman:lib/cli/main.coffee:2:raw_corpus | raw_corpus | new ReadsConfiguration().read(path)
commander.
command("clean").
description(" - cleans out /generated and /dist folders").
action ->
cli.tasks = ["clean"]
invokeGrunt(name: "clean", chainable: true)
commander.
command("grunt").
description("Run a grunt command with lineman's versi... | CoffeeScript | linemanjs/lineman | lib/cli/main.coffee | MIT | b7e1cedc26c4b92eeda745e2ba57b78e54368945 | 1,168 | https://github.com/linemanjs/lineman/blob/b7e1cedc26c4b92eeda745e2ba57b78e54368945/lib/cli/main.coffee | 59 | 84 | ||
linemanjs/lineman:lib/cli/main.coffee:2:completion | completion | new ReadsConfiguration().read(path)
commander.
command("clean").
description(" - cleans out /generated and /dist folders").
action ->
cli.tasks = ["clean"]
invokeGrunt(name: "clean", chainable: true)
commander.
command("grunt").
description("Run a grunt command with lineman's versi... | cli.options.base = process.cwd()
cli.tasks = _(arguments).chain().toArray().initial().without("grunt").value()
invokeGrunt
options:
gruntfile: "#{__dirname}/../../Gruntfile.coffee"
commander.outputHelp() if noCommandWasGiven()
commander.command("*").description("unknown command").act... | CoffeeScript | CoffeeScript | linemanjs/lineman | lib/cli/main.coffee | MIT | b7e1cedc26c4b92eeda745e2ba57b78e54368945 | 1,168 | https://github.com/linemanjs/lineman/blob/b7e1cedc26c4b92eeda745e2ba57b78e54368945/lib/cli/main.coffee | 59 | 84 |
linemanjs/lineman:lib/cli/main.coffee:1:raw_corpus | raw_corpus | module.exports = ->
require("./setup-env")()
commander.version(packageJson.version)
require("./setup-options")(commander, cli)
require("./ensure-appropriate-version")()
commander.
command("new").
description(" - generates a new lineman project in the specified folder : lineman new my-project").
... | CoffeeScript | linemanjs/lineman | lib/cli/main.coffee | MIT | 98d3d30840ae0f496fa728acb2ca3300d716e3cf | 1,168 | https://github.com/linemanjs/lineman/blob/98d3d30840ae0f496fa728acb2ca3300d716e3cf/lib/cli/main.coffee | 8 | 57 | ||
linemanjs/lineman:lib/cli/main.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
module.exports = ->
require("./setup-env")()
commander.version(packageJson.version)
require("./setup-options")(commander, cli)
require("./ensure-appropriate-version")()
commander.
command("new").
description(" - generates a new lineman proje... | module.exports = function() {
require("./setup-env")();
commander.version(packageJson.version);
require("./setup-options")(commander, cli);
require("./ensure-appropriate-version")();
commander.command("new").description(" - generates a new lineman project in the specified folder : lineman new my-project").act... | CoffeeScript | JavaScript | linemanjs/lineman | lib/cli/main.coffee | MIT | 98d3d30840ae0f496fa728acb2ca3300d716e3cf | 1,168 | https://github.com/linemanjs/lineman/blob/98d3d30840ae0f496fa728acb2ca3300d716e3cf/lib/cli/main.coffee | 8 | 57 |
linemanjs/lineman:lib/cli/main.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
module.exports = function() {
require("./setup-env")();
commander.version(packageJson.version);
require("./setup-options")(commander, cli);
require("./ensure-appropriate-version")();
commander.command("new").description(" - generates a new lineman project... | module.exports = ->
require("./setup-env")()
commander.version(packageJson.version)
require("./setup-options")(commander, cli)
require("./ensure-appropriate-version")()
commander.
command("new").
description(" - generates a new lineman project in the specified folder : lineman new my-project").
... | JavaScript | CoffeeScript | linemanjs/lineman | lib/cli/main.coffee | MIT | 98d3d30840ae0f496fa728acb2ca3300d716e3cf | 1,168 | https://github.com/linemanjs/lineman/blob/98d3d30840ae0f496fa728acb2ca3300d716e3cf/lib/cli/main.coffee | 8 | 57 |
linemanjs/lineman:lib/cli/main.coffee:1:completion | completion | module.exports = ->
require("./setup-env")()
commander.version(packageJson.version)
require("./setup-options")(commander, cli)
require("./ensure-appropriate-version")()
commander.
command("new").
description(" - generates a new lineman project in the specified folder : lineman new my-project").
... | command("build").
description(" - compiles all assets into a production ready form in the /dist folder").
action ->
cli.tasks = ["common", "dist"]
invokeGrunt(name: "build", chainable: true)
commander.
command("spec").
description(" - runs specs in Chrome, override in config/spec.json").
... | CoffeeScript | CoffeeScript | linemanjs/lineman | lib/cli/main.coffee | MIT | 98d3d30840ae0f496fa728acb2ca3300d716e3cf | 1,168 | https://github.com/linemanjs/lineman/blob/98d3d30840ae0f496fa728acb2ca3300d716e3cf/lib/cli/main.coffee | 8 | 57 |
linemanjs/lineman:lib/cli/main.coffee:2:raw_corpus | raw_corpus | invokeGrunt(name: "clean", chainable: true)
commander.
command("grunt").
description("Run a grunt command with lineman's version of grunt").
action ->
cli.options.base = process.cwd()
cli.tasks = _(arguments).chain().toArray().initial().without("grunt").value()
invokeGrunt
optio... | CoffeeScript | linemanjs/lineman | lib/cli/main.coffee | MIT | 98d3d30840ae0f496fa728acb2ca3300d716e3cf | 1,168 | https://github.com/linemanjs/lineman/blob/98d3d30840ae0f496fa728acb2ca3300d716e3cf/lib/cli/main.coffee | 58 | 76 | ||
linemanjs/lineman:lib/cli/main.coffee:2:completion | completion | invokeGrunt(name: "clean", chainable: true)
commander.
command("grunt").
description("Run a grunt command with lineman's version of grunt").
action ->
cli.options.base = process.cwd()
cli.tasks = _(arguments).chain().toArray().initial().without("grunt").value()
invokeGrunt | options:
gruntfile: "#{__dirname}/../../Gruntfile.coffee"
commander.outputHelp() if noCommandWasGiven()
commander.command("*").description("unknown command").action ->
commander.help()
commander.parse(process.argv) | CoffeeScript | CoffeeScript | linemanjs/lineman | lib/cli/main.coffee | MIT | 98d3d30840ae0f496fa728acb2ca3300d716e3cf | 1,168 | https://github.com/linemanjs/lineman/blob/98d3d30840ae0f496fa728acb2ca3300d716e3cf/lib/cli/main.coffee | 58 | 76 |
linemanjs/lineman:lib/cli/main.coffee:1:raw_corpus | raw_corpus | commander = require("commander")
grunt = require("grunt")
cli = require("grunt/lib/grunt/cli")
packageJson = require("./../../package")
RunsNextCommand = require("./runs-next-command")
_ = grunt.util._
module.exports = ->
require("./setup-env")()
commander.version(packageJson.version)
require("./setup-options"... | CoffeeScript | linemanjs/lineman | lib/cli/main.coffee | MIT | 754c1b437bed42c1d0c0805156c2544848079677 | 1,168 | https://github.com/linemanjs/lineman/blob/754c1b437bed42c1d0c0805156c2544848079677/lib/cli/main.coffee | 1 | 50 | ||
linemanjs/lineman:lib/cli/main.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
commander = require("commander")
grunt = require("grunt")
cli = require("grunt/lib/grunt/cli")
packageJson = require("./../../package")
RunsNextCommand = require("./runs-next-command")
_ = grunt.util._
module.exports = ->
require("./setup-env")()
commander.... | var RunsNextCommand, _, cli, commander, grunt, packageJson;
commander = require("commander");
grunt = require("grunt");
cli = require("grunt/lib/grunt/cli");
packageJson = require("./../../package");
RunsNextCommand = require("./runs-next-command");
_ = grunt.util._;
module.exports = function() {
require("./se... | CoffeeScript | JavaScript | linemanjs/lineman | lib/cli/main.coffee | MIT | 754c1b437bed42c1d0c0805156c2544848079677 | 1,168 | https://github.com/linemanjs/lineman/blob/754c1b437bed42c1d0c0805156c2544848079677/lib/cli/main.coffee | 1 | 50 |
linemanjs/lineman:lib/cli/main.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var RunsNextCommand, _, cli, commander, grunt, packageJson;
commander = require("commander");
grunt = require("grunt");
cli = require("grunt/lib/grunt/cli");
packageJson = require("./../../package");
RunsNextCommand = require("./runs-next-command");
_ = grunt... | commander = require("commander")
grunt = require("grunt")
cli = require("grunt/lib/grunt/cli")
packageJson = require("./../../package")
RunsNextCommand = require("./runs-next-command")
_ = grunt.util._
module.exports = ->
require("./setup-env")()
commander.version(packageJson.version)
require("./setup-options"... | JavaScript | CoffeeScript | linemanjs/lineman | lib/cli/main.coffee | MIT | 754c1b437bed42c1d0c0805156c2544848079677 | 1,168 | https://github.com/linemanjs/lineman/blob/754c1b437bed42c1d0c0805156c2544848079677/lib/cli/main.coffee | 1 | 50 |
linemanjs/lineman:lib/cli/main.coffee:1:completion | completion | commander = require("commander")
grunt = require("grunt")
cli = require("grunt/lib/grunt/cli")
packageJson = require("./../../package")
RunsNextCommand = require("./runs-next-command")
_ = grunt.util._
module.exports = ->
require("./setup-env")()
commander.version(packageJson.version)
require("./setup-options"... | action (context) ->
process.env["LINEMAN_RUN"] = true
cli.options.force = true unless cli.options.stack?
cli.tasks = ["common", "dev"]
grunt.cli()
commander.
command("build").
description(" - compiles all assets into a production ready form in the /dist folder").
action ->
c... | CoffeeScript | CoffeeScript | linemanjs/lineman | lib/cli/main.coffee | MIT | 754c1b437bed42c1d0c0805156c2544848079677 | 1,168 | https://github.com/linemanjs/lineman/blob/754c1b437bed42c1d0c0805156c2544848079677/lib/cli/main.coffee | 1 | 50 |
linemanjs/lineman:lib/cli/main.coffee:2:raw_corpus | raw_corpus | invokeGrunt(name: "spec-ci", chainable: true)
commander.
command("clean").
description(" - cleans out /generated and /dist folders").
action ->
cli.tasks = ["clean"]
invokeGrunt(name: "clean", chainable: true)
commander.
command("grunt").
description("Run a grunt command with linem... | CoffeeScript | linemanjs/lineman | lib/cli/main.coffee | MIT | 754c1b437bed42c1d0c0805156c2544848079677 | 1,168 | https://github.com/linemanjs/lineman/blob/754c1b437bed42c1d0c0805156c2544848079677/lib/cli/main.coffee | 51 | 77 | ||
linemanjs/lineman:lib/cli/main.coffee:2:completion | completion | invokeGrunt(name: "spec-ci", chainable: true)
commander.
command("clean").
description(" - cleans out /generated and /dist folders").
action ->
cli.tasks = ["clean"]
invokeGrunt(name: "clean", chainable: true)
commander.
command("grunt").
description("Run a grunt command with linem... | cli.options.base = process.cwd()
cli.tasks = _(arguments).chain().toArray().initial().without("grunt").value()
invokeGrunt
options:
gruntfile: "#{__dirname}/../../Gruntfile.coffee"
commander.command("*").description("unknown command").action ->
commander.help()
commander.parse(pr... | CoffeeScript | CoffeeScript | linemanjs/lineman | lib/cli/main.coffee | MIT | 754c1b437bed42c1d0c0805156c2544848079677 | 1,168 | https://github.com/linemanjs/lineman/blob/754c1b437bed42c1d0c0805156c2544848079677/lib/cli/main.coffee | 51 | 77 |
flosse/sloc:src/formatters/csv.coffee:1:raw_corpus | raw_corpus | ###
convert data to CSV format for easy import into spreadsheets
###
sloc = require '../sloc'
i18n = require '../i18n'
module.exports = (data, options={}) ->
return console.error "Error: missing data" unless data?
lines = "#{i18n.en.Path},#{(i18n.en[k] for k in sloc.keys).join ','}\n"
lineize = (t) -> (t[k] ... | CoffeeScript | flosse/sloc | src/formatters/csv.coffee | MIT | e26044011821c4e170859362f2de657d64118711 | 969 | https://github.com/flosse/sloc/blob/e26044011821c4e170859362f2de657d64118711/src/formatters/csv.coffee | 1 | 24 | ||
flosse/sloc:src/formatters/csv.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
###
convert data to CSV format for easy import into spreadsheets
###
sloc = require '../sloc'
i18n = require '../i18n'
module.exports = (data, options={}) ->
return console.error "Error: missing data" unless data?
lines = "#{i18n.en.Path},#{(i18n.en[k] fo... | /*
convert data to CSV format for easy import into spreadsheets
*/
var i18n, sloc;
sloc = require('../sloc');
i18n = require('../i18n');
module.exports = function(data, options = {}) {
var f, i, k, len, lineize, lines, ref, s;
if (data == null) {
return console.error("Error: missing data");
}
lines = `${... | CoffeeScript | JavaScript | flosse/sloc | src/formatters/csv.coffee | MIT | e26044011821c4e170859362f2de657d64118711 | 969 | https://github.com/flosse/sloc/blob/e26044011821c4e170859362f2de657d64118711/src/formatters/csv.coffee | 1 | 24 |
flosse/sloc:src/formatters/csv.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
/*
convert data to CSV format for easy import into spreadsheets
*/
var i18n, sloc;
sloc = require('../sloc');
i18n = require('../i18n');
module.exports = function(data, options = {}) {
var f, i, k, len, lineize, lines, ref, s;
if (data == null) {
return ... | ###
convert data to CSV format for easy import into spreadsheets
###
sloc = require '../sloc'
i18n = require '../i18n'
module.exports = (data, options={}) ->
return console.error "Error: missing data" unless data?
lines = "#{i18n.en.Path},#{(i18n.en[k] for k in sloc.keys).join ','}\n"
lineize = (t) -> (t[k] ... | JavaScript | CoffeeScript | flosse/sloc | src/formatters/csv.coffee | MIT | e26044011821c4e170859362f2de657d64118711 | 969 | https://github.com/flosse/sloc/blob/e26044011821c4e170859362f2de657d64118711/src/formatters/csv.coffee | 1 | 24 |
flosse/sloc:src/formatters/csv.coffee:1:completion | completion | ###
convert data to CSV format for easy import into spreadsheets
###
sloc = require '../sloc'
i18n = require '../i18n'
module.exports = (data, options={}) ->
return console.error "Error: missing data" unless data?
lines = "#{i18n.en.Path},#{(i18n.en[k] for k in sloc.keys).join ','}\n" | lineize = (t) -> (t[k] for k in sloc.keys).join ','
if options.details
for f in data.files when f.stats?
lines += "#{f.path},#{lineize f.stats}\n"
else if (s = data.summary)?
lines += i18n.en.Total + ',' + lineize s
if lines[lines.length-1] is '\n'
lines = lines.slice 0, -1
lines | CoffeeScript | CoffeeScript | flosse/sloc | src/formatters/csv.coffee | MIT | e26044011821c4e170859362f2de657d64118711 | 969 | https://github.com/flosse/sloc/blob/e26044011821c4e170859362f2de657d64118711/src/formatters/csv.coffee | 1 | 24 |
flosse/sloc:src/formatters/csv.coffee:1:raw_corpus | raw_corpus | ###
convert data to CSV format for easy import into spreadsheets
###
sloc = require '../sloc'
i18n = require '../i18n'
module.exports = (data, options={}) ->
return new Error "missing data" unless data?
lines = "#{i18n.en.Path},#{(i18n.en[k] for k in sloc.keys).join ','}\n"
lineize = (t) -> (t[k] for k in sl... | CoffeeScript | flosse/sloc | src/formatters/csv.coffee | MIT | fe70a54fa0187454a16e95088188ef8db85d8151 | 969 | https://github.com/flosse/sloc/blob/fe70a54fa0187454a16e95088188ef8db85d8151/src/formatters/csv.coffee | 1 | 24 | ||
flosse/sloc:src/formatters/csv.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
###
convert data to CSV format for easy import into spreadsheets
###
sloc = require '../sloc'
i18n = require '../i18n'
module.exports = (data, options={}) ->
return new Error "missing data" unless data?
lines = "#{i18n.en.Path},#{(i18n.en[k] for k in sloc... | /*
convert data to CSV format for easy import into spreadsheets
*/
var i18n, sloc;
sloc = require('../sloc');
i18n = require('../i18n');
module.exports = function(data, options = {}) {
var f, i, k, len, lineize, lines, ref, s;
if (data == null) {
return new Error("missing data");
}
lines = `${i18n.en.Pat... | CoffeeScript | JavaScript | flosse/sloc | src/formatters/csv.coffee | MIT | fe70a54fa0187454a16e95088188ef8db85d8151 | 969 | https://github.com/flosse/sloc/blob/fe70a54fa0187454a16e95088188ef8db85d8151/src/formatters/csv.coffee | 1 | 24 |
flosse/sloc:src/formatters/csv.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
/*
convert data to CSV format for easy import into spreadsheets
*/
var i18n, sloc;
sloc = require('../sloc');
i18n = require('../i18n');
module.exports = function(data, options = {}) {
var f, i, k, len, lineize, lines, ref, s;
if (data == null) {
return ... | ###
convert data to CSV format for easy import into spreadsheets
###
sloc = require '../sloc'
i18n = require '../i18n'
module.exports = (data, options={}) ->
return new Error "missing data" unless data?
lines = "#{i18n.en.Path},#{(i18n.en[k] for k in sloc.keys).join ','}\n"
lineize = (t) -> (t[k] for k in sl... | JavaScript | CoffeeScript | flosse/sloc | src/formatters/csv.coffee | MIT | fe70a54fa0187454a16e95088188ef8db85d8151 | 969 | https://github.com/flosse/sloc/blob/fe70a54fa0187454a16e95088188ef8db85d8151/src/formatters/csv.coffee | 1 | 24 |
flosse/sloc:src/formatters/csv.coffee:1:completion | completion | ###
convert data to CSV format for easy import into spreadsheets
###
sloc = require '../sloc'
i18n = require '../i18n'
module.exports = (data, options={}) ->
return new Error "missing data" unless data?
lines = "#{i18n.en.Path},#{(i18n.en[k] for k in sloc.keys).join ','}\n" | lineize = (t) -> (t[k] for k in sloc.keys).join ','
if options.details
for f in data.files when f.stats?
lines += "#{f.path},#{lineize f.stats}\n"
else if (s = data.summary)?
lines += i18n.en.Total + ',' + lineize s
if lines[lines.length-1] is '\n'
lines = lines.slice 0, -1
lines | CoffeeScript | CoffeeScript | flosse/sloc | src/formatters/csv.coffee | MIT | fe70a54fa0187454a16e95088188ef8db85d8151 | 969 | https://github.com/flosse/sloc/blob/fe70a54fa0187454a16e95088188ef8db85d8151/src/formatters/csv.coffee | 1 | 24 |
flosse/sloc:src/formatters/csv.coffee:1:raw_corpus | raw_corpus | ###
convert data to CSV format for easy import into spreadsheets
###
i18n = require '../i18n'
module.exports = (data, options) ->
return new Error "missing data" unless data?
headers = ['loc', 'sloc', 'cloc', 'scloc', 'mcloc', 'nloc']
lines = "#{i18n.en.Path},#{(i18n.en[k] for k in headers).join ','}\n"
l... | CoffeeScript | flosse/sloc | src/formatters/csv.coffee | MIT | dccfbc207600750a7689dea1ca9148af59d3d740 | 969 | https://github.com/flosse/sloc/blob/dccfbc207600750a7689dea1ca9148af59d3d740/src/formatters/csv.coffee | 1 | 26 | ||
flosse/sloc:src/formatters/csv.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
###
convert data to CSV format for easy import into spreadsheets
###
i18n = require '../i18n'
module.exports = (data, options) ->
return new Error "missing data" unless data?
headers = ['loc', 'sloc', 'cloc', 'scloc', 'mcloc', 'nloc']
lines = "#{i18n.e... | /*
convert data to CSV format for easy import into spreadsheets
*/
var i18n;
i18n = require('../i18n');
module.exports = function(data, options) {
var headers, i, k, len, lineize, lines, ref, sf;
if (data == null) {
return new Error("missing data");
}
headers = ['loc', 'sloc', 'cloc', 'scloc', 'mcloc', 'n... | CoffeeScript | JavaScript | flosse/sloc | src/formatters/csv.coffee | MIT | dccfbc207600750a7689dea1ca9148af59d3d740 | 969 | https://github.com/flosse/sloc/blob/dccfbc207600750a7689dea1ca9148af59d3d740/src/formatters/csv.coffee | 1 | 26 |
flosse/sloc:src/formatters/csv.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
/*
convert data to CSV format for easy import into spreadsheets
*/
var i18n;
i18n = require('../i18n');
module.exports = function(data, options) {
var headers, i, k, len, lineize, lines, ref, sf;
if (data == null) {
return new Error("missing data");
}
... | ###
convert data to CSV format for easy import into spreadsheets
###
i18n = require '../i18n'
module.exports = (data, options) ->
return new Error "missing data" unless data?
headers = ['loc', 'sloc', 'cloc', 'scloc', 'mcloc', 'nloc']
lines = "#{i18n.en.Path},#{(i18n.en[k] for k in headers).join ','}\n"
l... | JavaScript | CoffeeScript | flosse/sloc | src/formatters/csv.coffee | MIT | dccfbc207600750a7689dea1ca9148af59d3d740 | 969 | https://github.com/flosse/sloc/blob/dccfbc207600750a7689dea1ca9148af59d3d740/src/formatters/csv.coffee | 1 | 26 |
flosse/sloc:src/formatters/csv.coffee:1:completion | completion | ###
convert data to CSV format for easy import into spreadsheets
###
i18n = require '../i18n'
module.exports = (data, options) ->
return new Error "missing data" unless data?
headers = ['loc', 'sloc', 'cloc', 'scloc', 'mcloc', 'nloc']
lines = "#{i18n.en.Path},#{(i18n.en[k] for k in headers).join ','}\n" | lineize = (t) ->
"#{t.path or i18n.en.Total},#{(t[k] for k in headers).join ','}\n"
if data.details
for sf in data.details
lines += lineize sf
else
lines += lineize data
if lines[lines.length-1] is '\n'
lines = lines.slice 0, -1
lines | CoffeeScript | CoffeeScript | flosse/sloc | src/formatters/csv.coffee | MIT | dccfbc207600750a7689dea1ca9148af59d3d740 | 969 | https://github.com/flosse/sloc/blob/dccfbc207600750a7689dea1ca9148af59d3d740/src/formatters/csv.coffee | 1 | 26 |
jianliaoim/talk-os:talk-account/client/main.coffee:1:raw_corpus | raw_corpus | require 'volubile-ui/ui/index.less'
require 'volubile-ui/ui/fonts/roboto.less'
React = require 'react'
ReactDOM = require 'react-dom'
recorder = require 'actions-recorder'
Immutable = require 'immutable'
ajax = require './ajax/index'
schema = require './schema'
updater = require './updater'
analytics = require './uti... | CoffeeScript | jianliaoim/talk-os | talk-account/client/main.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-account/client/main.coffee | 1 | 43 | ||
jianliaoim/talk-os:talk-account/client/main.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
require 'volubile-ui/ui/index.less'
require 'volubile-ui/ui/fonts/roboto.less'
React = require 'react'
ReactDOM = require 'react-dom'
recorder = require 'actions-recorder'
Immutable = require 'immutable'
ajax = require './ajax/index'
schema = require './schema'... | var Immutable, Page, React, ReactDOM, ajax, analytics, controllers, generatedRoutes, recorder, referer, render, routerName, schema, serverStore, updater,
indexOf = [].indexOf;
require('volubile-ui/ui/index.less');
require('volubile-ui/ui/fonts/roboto.less');
React = require('react');
ReactDOM = require('react-dom... | CoffeeScript | JavaScript | jianliaoim/talk-os | talk-account/client/main.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-account/client/main.coffee | 1 | 43 |
jianliaoim/talk-os:talk-account/client/main.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var Immutable, Page, React, ReactDOM, ajax, analytics, controllers, generatedRoutes, recorder, referer, render, routerName, schema, serverStore, updater,
indexOf = [].indexOf;
require('volubile-ui/ui/index.less');
require('volubile-ui/ui/fonts/roboto.less');
R... | require 'volubile-ui/ui/index.less'
require 'volubile-ui/ui/fonts/roboto.less'
React = require 'react'
ReactDOM = require 'react-dom'
recorder = require 'actions-recorder'
Immutable = require 'immutable'
ajax = require './ajax/index'
schema = require './schema'
updater = require './updater'
analytics = require './uti... | JavaScript | CoffeeScript | jianliaoim/talk-os | talk-account/client/main.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-account/client/main.coffee | 1 | 43 |
jianliaoim/talk-os:talk-account/client/main.coffee:1:completion | completion | require 'volubile-ui/ui/index.less'
require 'volubile-ui/ui/fonts/roboto.less'
React = require 'react'
ReactDOM = require 'react-dom'
recorder = require 'actions-recorder'
Immutable = require 'immutable'
ajax = require './ajax/index'
schema = require './schema'
updater = require './updater'
analytics = require './uti... | serverStore = serverStore.setIn ['client', 'account'], '+86'
# recover referer form localStorage in email and thirdparty callbacks
generatedRoutes = ['reset-password', 'bind-thirdparty', 'verify-email']
if routerName in generatedRoutes
if not serverStore.getIn(['client', 'referer'])?
referer = controllers.takeRef... | CoffeeScript | CoffeeScript | jianliaoim/talk-os | talk-account/client/main.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-account/client/main.coffee | 1 | 43 |
soyjavi/QuoJS:Gruntfile.coffee:1:raw_corpus | raw_corpus | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
meta:
build : 'build',
bower : 'components/quojs',
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' +
' <%= pkg.homepage %>... | CoffeeScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | c5b858856bd2fb3f2b9d54d724df6127ae364049 | 2,055 | https://github.com/soyjavi/QuoJS/blob/c5b858856bd2fb3f2b9d54d724df6127ae364049/Gruntfile.coffee | 1 | 50 | ||
soyjavi/QuoJS:Gruntfile.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
meta:
build : 'build',
bower : 'components/quojs',
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today(... | module.exports = function(grunt) {
return grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
meta: {
build: 'build',
bower: 'components/quojs',
file: 'quo',
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' + ' <%= pkg.homepage %>\... | CoffeeScript | JavaScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | c5b858856bd2fb3f2b9d54d724df6127ae364049 | 2,055 | https://github.com/soyjavi/QuoJS/blob/c5b858856bd2fb3f2b9d54d724df6127ae364049/Gruntfile.coffee | 1 | 50 |
soyjavi/QuoJS:Gruntfile.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
module.exports = function(grunt) {
return grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
meta: {
build: 'build',
bower: 'components/quojs',
file: 'quo',
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.temp... | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
meta:
build : 'build',
bower : 'components/quojs',
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' +
' <%= pkg.homepage %>... | JavaScript | CoffeeScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | c5b858856bd2fb3f2b9d54d724df6127ae364049 | 2,055 | https://github.com/soyjavi/QuoJS/blob/c5b858856bd2fb3f2b9d54d724df6127ae364049/Gruntfile.coffee | 1 | 50 |
soyjavi/QuoJS:Gruntfile.coffee:1:completion | completion | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
meta:
build : 'build',
bower : 'components/quojs',
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' +
' <%= pkg.homepage %>... | spec : 'spec/*.coffee'
concat:
core : files: '<%=meta.build%>/<%=meta.file%>.coffee' : '<%= source.core %>'
spec : files: '<%=meta.build%>/<%=meta.file%>.spec.coffee' : '<%= source.spec %>'
coffee:
core : files: '<%= meta.build %>/<%= meta.file %>... | CoffeeScript | CoffeeScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | c5b858856bd2fb3f2b9d54d724df6127ae364049 | 2,055 | https://github.com/soyjavi/QuoJS/blob/c5b858856bd2fb3f2b9d54d724df6127ae364049/Gruntfile.coffee | 1 | 50 |
soyjavi/QuoJS:Gruntfile.coffee:1:raw_corpus | raw_corpus | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
meta:
build : 'build',
bower : 'components/quojs',
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' +
' <%= pkg.homepage %>... | CoffeeScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | 197f56799d5647d98a7bc48b480b63b8a8510f74 | 2,055 | https://github.com/soyjavi/QuoJS/blob/197f56799d5647d98a7bc48b480b63b8a8510f74/Gruntfile.coffee | 1 | 50 | ||
soyjavi/QuoJS:Gruntfile.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
meta:
build : 'build',
bower : 'components/quojs',
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today(... | module.exports = function(grunt) {
return grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
meta: {
build: 'build',
bower: 'components/quojs',
file: 'quo',
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' + ' <%= pkg.homepage %>\... | CoffeeScript | JavaScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | 197f56799d5647d98a7bc48b480b63b8a8510f74 | 2,055 | https://github.com/soyjavi/QuoJS/blob/197f56799d5647d98a7bc48b480b63b8a8510f74/Gruntfile.coffee | 1 | 50 |
soyjavi/QuoJS:Gruntfile.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
module.exports = function(grunt) {
return grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
meta: {
build: 'build',
bower: 'components/quojs',
file: 'quo',
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.temp... | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
meta:
build : 'build',
bower : 'components/quojs',
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' +
' <%= pkg.homepage %>... | JavaScript | CoffeeScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | 197f56799d5647d98a7bc48b480b63b8a8510f74 | 2,055 | https://github.com/soyjavi/QuoJS/blob/197f56799d5647d98a7bc48b480b63b8a8510f74/Gruntfile.coffee | 1 | 50 |
soyjavi/QuoJS:Gruntfile.coffee:1:completion | completion | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
meta:
build : 'build',
bower : 'components/quojs',
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' +
' <%= pkg.homepage %>... | spec : 'spec/*.coffee'
concat:
core : files: '<%=meta.build%>/<%=meta.file%>.coffee' : '<%= source.core %>'
spec : files: '<%=meta.build%>/<%=meta.file%>.spec.coffee' : '<%= source.spec %>'
coffee:
core : files: '<%= meta.build %>/<%= meta.file %>... | CoffeeScript | CoffeeScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | 197f56799d5647d98a7bc48b480b63b8a8510f74 | 2,055 | https://github.com/soyjavi/QuoJS/blob/197f56799d5647d98a7bc48b480b63b8a8510f74/Gruntfile.coffee | 1 | 50 |
soyjavi/QuoJS:Gruntfile.coffee:1:raw_corpus | raw_corpus | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
meta:
build : 'build',
bower : 'components/quojs',
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' +
' <%= pkg.homepage %>... | CoffeeScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | 6f145ba1b1445d1f6aa6d47810e0824610c2fcd0 | 2,055 | https://github.com/soyjavi/QuoJS/blob/6f145ba1b1445d1f6aa6d47810e0824610c2fcd0/Gruntfile.coffee | 1 | 50 | ||
soyjavi/QuoJS:Gruntfile.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
meta:
build : 'build',
bower : 'components/quojs',
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today(... | module.exports = function(grunt) {
return grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
meta: {
build: 'build',
bower: 'components/quojs',
file: 'quo',
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' + ' <%= pkg.homepage %>\... | CoffeeScript | JavaScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | 6f145ba1b1445d1f6aa6d47810e0824610c2fcd0 | 2,055 | https://github.com/soyjavi/QuoJS/blob/6f145ba1b1445d1f6aa6d47810e0824610c2fcd0/Gruntfile.coffee | 1 | 50 |
soyjavi/QuoJS:Gruntfile.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
module.exports = function(grunt) {
return grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
meta: {
build: 'build',
bower: 'components/quojs',
file: 'quo',
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.temp... | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
meta:
build : 'build',
bower : 'components/quojs',
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' +
' <%= pkg.homepage %>... | JavaScript | CoffeeScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | 6f145ba1b1445d1f6aa6d47810e0824610c2fcd0 | 2,055 | https://github.com/soyjavi/QuoJS/blob/6f145ba1b1445d1f6aa6d47810e0824610c2fcd0/Gruntfile.coffee | 1 | 50 |
soyjavi/QuoJS:Gruntfile.coffee:1:completion | completion | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
meta:
build : 'build',
bower : 'components/quojs',
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' +
' <%= pkg.homepage %>... | spec : 'spec/*.coffee'
concat:
core : files: '<%=meta.build%>/<%=meta.file%>.coffee' : '<%= source.core %>'
spec : files: '<%=meta.build%>/<%=meta.file%>.spec.coffee' : '<%= source.spec %>'
coffee:
core : files: '<%= meta.build %>/<%= meta.file %>... | CoffeeScript | CoffeeScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | 6f145ba1b1445d1f6aa6d47810e0824610c2fcd0 | 2,055 | https://github.com/soyjavi/QuoJS/blob/6f145ba1b1445d1f6aa6d47810e0824610c2fcd0/Gruntfile.coffee | 1 | 50 |
soyjavi/QuoJS:Gruntfile.coffee:1:raw_corpus | raw_corpus | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
meta:
build : 'build',
bower : 'components/quojs',
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' +
' <%= pkg.homepage %>... | CoffeeScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | a10944e3905ca69b824ecc9662681677bff8749c | 2,055 | https://github.com/soyjavi/QuoJS/blob/a10944e3905ca69b824ecc9662681677bff8749c/Gruntfile.coffee | 1 | 50 | ||
soyjavi/QuoJS:Gruntfile.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
meta:
build : 'build',
bower : 'components/quojs',
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today(... | module.exports = function(grunt) {
return grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
meta: {
build: 'build',
bower: 'components/quojs',
file: 'quo',
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' + ' <%= pkg.homepage %>\... | CoffeeScript | JavaScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | a10944e3905ca69b824ecc9662681677bff8749c | 2,055 | https://github.com/soyjavi/QuoJS/blob/a10944e3905ca69b824ecc9662681677bff8749c/Gruntfile.coffee | 1 | 50 |
soyjavi/QuoJS:Gruntfile.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
module.exports = function(grunt) {
return grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
meta: {
build: 'build',
bower: 'components/quojs',
file: 'quo',
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.temp... | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
meta:
build : 'build',
bower : 'components/quojs',
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' +
' <%= pkg.homepage %>... | JavaScript | CoffeeScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | a10944e3905ca69b824ecc9662681677bff8749c | 2,055 | https://github.com/soyjavi/QuoJS/blob/a10944e3905ca69b824ecc9662681677bff8749c/Gruntfile.coffee | 1 | 50 |
soyjavi/QuoJS:Gruntfile.coffee:1:completion | completion | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
meta:
build : 'build',
bower : 'components/quojs',
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' +
' <%= pkg.homepage %>... | quojs : 'source/*.coffee'
spec : 'spec/*.coffee'
concat:
core : files: '<%=meta.build%>/<%=meta.file%>.coffee': '<%= source.core %>'
spec : files: '<%=meta.build%>/<%=meta.file%>.spec.coffee': '<%= source.spec %>'
coffee:
core : files: '<%= meta.build... | CoffeeScript | CoffeeScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | a10944e3905ca69b824ecc9662681677bff8749c | 2,055 | https://github.com/soyjavi/QuoJS/blob/a10944e3905ca69b824ecc9662681677bff8749c/Gruntfile.coffee | 1 | 50 |
soyjavi/QuoJS:Gruntfile.coffee:1:raw_corpus | raw_corpus | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
meta:
build : 'build',
bower : 'components/quojs',
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' +
' <%= pkg.homepage %>... | CoffeeScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | f3ed40727f537f38953fe5d753063e372641497f | 2,055 | https://github.com/soyjavi/QuoJS/blob/f3ed40727f537f38953fe5d753063e372641497f/Gruntfile.coffee | 1 | 50 | ||
soyjavi/QuoJS:Gruntfile.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
meta:
build : 'build',
bower : 'components/quojs',
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today(... | module.exports = function(grunt) {
return grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
meta: {
build: 'build',
bower: 'components/quojs',
file: 'quo',
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' + ' <%= pkg.homepage %>\... | CoffeeScript | JavaScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | f3ed40727f537f38953fe5d753063e372641497f | 2,055 | https://github.com/soyjavi/QuoJS/blob/f3ed40727f537f38953fe5d753063e372641497f/Gruntfile.coffee | 1 | 50 |
soyjavi/QuoJS:Gruntfile.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
module.exports = function(grunt) {
return grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
meta: {
build: 'build',
bower: 'components/quojs',
file: 'quo',
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.temp... | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
meta:
build : 'build',
bower : 'components/quojs',
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' +
' <%= pkg.homepage %>... | JavaScript | CoffeeScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | f3ed40727f537f38953fe5d753063e372641497f | 2,055 | https://github.com/soyjavi/QuoJS/blob/f3ed40727f537f38953fe5d753063e372641497f/Gruntfile.coffee | 1 | 50 |
soyjavi/QuoJS:Gruntfile.coffee:1:completion | completion | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
meta:
build : 'build',
bower : 'components/quojs',
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' +
' <%= pkg.homepage %>... | quojs : 'source/*.coffee'
spec : 'spec/*.coffee'
concat:
core : files: '<%=meta.build%>/<%=meta.file%>.coffee': '<%= source.core %>'
spec : files: '<%=meta.build%>/<%=meta.file%>.spec.coffee': '<%= source.spec %>'
coffee:
core : files: '<%= meta.build... | CoffeeScript | CoffeeScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | f3ed40727f537f38953fe5d753063e372641497f | 2,055 | https://github.com/soyjavi/QuoJS/blob/f3ed40727f537f38953fe5d753063e372641497f/Gruntfile.coffee | 1 | 50 |
soyjavi/QuoJS:Gruntfile.coffee:1:raw_corpus | raw_corpus | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON "package.json"
meta:
build : 'build',
bower : 'components/quojs',
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' +
' <%= pkg.homepage %>... | CoffeeScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | 91c1c901d0168aa8589c31d2a2e19b61e3861dcf | 2,055 | https://github.com/soyjavi/QuoJS/blob/91c1c901d0168aa8589c31d2a2e19b61e3861dcf/Gruntfile.coffee | 1 | 50 | ||
soyjavi/QuoJS:Gruntfile.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON "package.json"
meta:
build : 'build',
bower : 'components/quojs',
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today(... | module.exports = function(grunt) {
return grunt.initConfig({
pkg: grunt.file.readJSON("package.json"),
meta: {
build: 'build',
bower: 'components/quojs',
file: 'quo',
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' + ' <%= pkg.homepage %>\... | CoffeeScript | JavaScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | 91c1c901d0168aa8589c31d2a2e19b61e3861dcf | 2,055 | https://github.com/soyjavi/QuoJS/blob/91c1c901d0168aa8589c31d2a2e19b61e3861dcf/Gruntfile.coffee | 1 | 50 |
soyjavi/QuoJS:Gruntfile.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
module.exports = function(grunt) {
return grunt.initConfig({
pkg: grunt.file.readJSON("package.json"),
meta: {
build: 'build',
bower: 'components/quojs',
file: 'quo',
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.temp... | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON "package.json"
meta:
build : 'build',
bower : 'components/quojs',
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' +
' <%= pkg.homepage %>... | JavaScript | CoffeeScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | 91c1c901d0168aa8589c31d2a2e19b61e3861dcf | 2,055 | https://github.com/soyjavi/QuoJS/blob/91c1c901d0168aa8589c31d2a2e19b61e3861dcf/Gruntfile.coffee | 1 | 50 |
soyjavi/QuoJS:Gruntfile.coffee:1:completion | completion | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON "package.json"
meta:
build : 'build',
bower : 'components/quojs',
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' +
' <%= pkg.homepage %>... | concat:
core : files: '<%=meta.build%>/<%=meta.file%>.coffee': '<%= source.core %>'
spec : files: '<%=meta.build%>/<%=meta.file%>.spec.coffee': '<%= source.spec %>'
coffee:
core : files: '<%= meta.build %>/<%= meta.file %>.js': '<%=meta.build%>/<%=meta.file%>.coffee'
aj... | CoffeeScript | CoffeeScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | 91c1c901d0168aa8589c31d2a2e19b61e3861dcf | 2,055 | https://github.com/soyjavi/QuoJS/blob/91c1c901d0168aa8589c31d2a2e19b61e3861dcf/Gruntfile.coffee | 1 | 50 |
soyjavi/QuoJS:Gruntfile.coffee:1:raw_corpus | raw_corpus | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON "package.json"
meta:
build : 'build',
bower : 'components/quojs',
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' +
' <%= pkg.homepage %>... | CoffeeScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | adba5dc0d1a65130d56e00560ec3f95daa37cb8c | 2,055 | https://github.com/soyjavi/QuoJS/blob/adba5dc0d1a65130d56e00560ec3f95daa37cb8c/Gruntfile.coffee | 1 | 50 | ||
soyjavi/QuoJS:Gruntfile.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON "package.json"
meta:
build : 'build',
bower : 'components/quojs',
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today(... | module.exports = function(grunt) {
return grunt.initConfig({
pkg: grunt.file.readJSON("package.json"),
meta: {
build: 'build',
bower: 'components/quojs',
file: 'quo',
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' + ' <%= pkg.homepage %>\... | CoffeeScript | JavaScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | adba5dc0d1a65130d56e00560ec3f95daa37cb8c | 2,055 | https://github.com/soyjavi/QuoJS/blob/adba5dc0d1a65130d56e00560ec3f95daa37cb8c/Gruntfile.coffee | 1 | 50 |
soyjavi/QuoJS:Gruntfile.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
module.exports = function(grunt) {
return grunt.initConfig({
pkg: grunt.file.readJSON("package.json"),
meta: {
build: 'build',
bower: 'components/quojs',
file: 'quo',
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.temp... | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON "package.json"
meta:
build : 'build',
bower : 'components/quojs',
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' +
' <%= pkg.homepage %>... | JavaScript | CoffeeScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | adba5dc0d1a65130d56e00560ec3f95daa37cb8c | 2,055 | https://github.com/soyjavi/QuoJS/blob/adba5dc0d1a65130d56e00560ec3f95daa37cb8c/Gruntfile.coffee | 1 | 50 |
soyjavi/QuoJS:Gruntfile.coffee:1:completion | completion | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON "package.json"
meta:
build : 'build',
bower : 'components/quojs',
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' +
' <%= pkg.homepage %>... | concat:
core : files: '<%=meta.build%>/<%=meta.file%>.coffee': '<%= source.core %>'
coffee:
core : files: '<%= meta.build %>/<%= meta.file %>.js': '<%=meta.build%>/<%=meta.file%>.coffee'
ajax : files: '<%= meta.build %>/<%= meta.file %>.ajax.js': '<%=source.ajax%>'
elem... | CoffeeScript | CoffeeScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | adba5dc0d1a65130d56e00560ec3f95daa37cb8c | 2,055 | https://github.com/soyjavi/QuoJS/blob/adba5dc0d1a65130d56e00560ec3f95daa37cb8c/Gruntfile.coffee | 1 | 50 |
soyjavi/QuoJS:Gruntfile.coffee:1:raw_corpus | raw_corpus | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON "package.json"
meta:
build : 'build',
bower : 'components/quojs',
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' +
' <%= pkg.homepage %>... | CoffeeScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | 5b51808802909d1a53583facd5749de895b7fa79 | 2,055 | https://github.com/soyjavi/QuoJS/blob/5b51808802909d1a53583facd5749de895b7fa79/Gruntfile.coffee | 1 | 45 | ||
soyjavi/QuoJS:Gruntfile.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON "package.json"
meta:
build : 'build',
bower : 'components/quojs',
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today(... | module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON("package.json"),
meta: {
build: 'build',
bower: 'components/quojs',
file: 'quo',
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' + ' <%= pkg.homepage %>\n' + ' ... | CoffeeScript | JavaScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | 5b51808802909d1a53583facd5749de895b7fa79 | 2,055 | https://github.com/soyjavi/QuoJS/blob/5b51808802909d1a53583facd5749de895b7fa79/Gruntfile.coffee | 1 | 45 |
soyjavi/QuoJS:Gruntfile.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON("package.json"),
meta: {
build: 'build',
bower: 'components/quojs',
file: 'quo',
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.to... | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON "package.json"
meta:
build : 'build',
bower : 'components/quojs',
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' +
' <%= pkg.homepage %>... | JavaScript | CoffeeScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | 5b51808802909d1a53583facd5749de895b7fa79 | 2,055 | https://github.com/soyjavi/QuoJS/blob/5b51808802909d1a53583facd5749de895b7fa79/Gruntfile.coffee | 1 | 45 |
soyjavi/QuoJS:Gruntfile.coffee:1:completion | completion | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON "package.json"
meta:
build : 'build',
bower : 'components/quojs',
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' +
' <%= pkg.homepage %>... | concat:
core : files: '<%=meta.build%>/<%=pkg.name%>.debug.coffee' : '<%= source.core %>'
coffee:
core: files: '<%= meta.bower %>/<%= meta.file %>.debug.js': '<%=meta.build%>/<%=pkg.name%>.debug.coffee'
uglify:
options: mangle: false, banner: "<%= meta.banner %>"#, report: "gzip"
... | CoffeeScript | CoffeeScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | 5b51808802909d1a53583facd5749de895b7fa79 | 2,055 | https://github.com/soyjavi/QuoJS/blob/5b51808802909d1a53583facd5749de895b7fa79/Gruntfile.coffee | 1 | 45 |
soyjavi/QuoJS:Gruntfile.coffee:1:raw_corpus | raw_corpus | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON "package/component.json"
meta:
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' +
' <%= pkg.homepage %>\n' +
' Copyright (c) <%= grunt.temp... | CoffeeScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | 222bf8189e7503c870552a976fa2ff4de3d586a5 | 2,055 | https://github.com/soyjavi/QuoJS/blob/222bf8189e7503c870552a976fa2ff4de3d586a5/Gruntfile.coffee | 1 | 35 | ||
soyjavi/QuoJS:Gruntfile.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON "package/component.json"
meta:
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' +
' <%= pkg.homepa... | module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON("package/component.json"),
meta: {
file: 'quo',
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' + ' <%= pkg.homepage %>\n' + ' Copyright (c) <%= grunt.template.today("yyy... | CoffeeScript | JavaScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | 222bf8189e7503c870552a976fa2ff4de3d586a5 | 2,055 | https://github.com/soyjavi/QuoJS/blob/222bf8189e7503c870552a976fa2ff4de3d586a5/Gruntfile.coffee | 1 | 35 |
soyjavi/QuoJS:Gruntfile.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON("package/component.json"),
meta: {
file: 'quo',
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' + ' <%= pkg.homepage ... | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON "package/component.json"
meta:
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' +
' <%= pkg.homepage %>\n' +
' Copyright (c) <%= grunt.temp... | JavaScript | CoffeeScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | 222bf8189e7503c870552a976fa2ff4de3d586a5 | 2,055 | https://github.com/soyjavi/QuoJS/blob/222bf8189e7503c870552a976fa2ff4de3d586a5/Gruntfile.coffee | 1 | 35 |
soyjavi/QuoJS:Gruntfile.coffee:1:completion | completion | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON "package/component.json"
meta:
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' +
' <%= pkg.homepage %>\n' +
' Copyright (c) <%= grunt.temp... | coffee:
app: files: 'package/<%= meta.file %>.debug.js': ['<%= resources.app %>']
uglify:
options: compress: false, banner: "<%= meta.banner %>"
app: files: 'package/<%= meta.file %>.js': 'package/<%= meta.file %>.debug.js'
watch:
app:
files: ['<%= resources.app %>']
ta... | CoffeeScript | CoffeeScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | 222bf8189e7503c870552a976fa2ff4de3d586a5 | 2,055 | https://github.com/soyjavi/QuoJS/blob/222bf8189e7503c870552a976fa2ff4de3d586a5/Gruntfile.coffee | 1 | 35 |
soyjavi/QuoJS:Gruntfile.coffee:1:raw_corpus | raw_corpus | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON "package/component.json"
meta:
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' +
' <%= pkg.homepage %>\n' +
' Copyright (c) <%= grunt.temp... | CoffeeScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | db5124bd6dad3e3803dc6059dc5c2e87d7c5236e | 2,055 | https://github.com/soyjavi/QuoJS/blob/db5124bd6dad3e3803dc6059dc5c2e87d7c5236e/Gruntfile.coffee | 1 | 44 | ||
soyjavi/QuoJS:Gruntfile.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON "package/component.json"
meta:
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' +
' <%= pkg.homepa... | module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON("package/component.json"),
meta: {
file: 'quo',
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' + ' <%= pkg.homepage %>\n' + ' Copyright (c) <%= grunt.template.today("yyy... | CoffeeScript | JavaScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | db5124bd6dad3e3803dc6059dc5c2e87d7c5236e | 2,055 | https://github.com/soyjavi/QuoJS/blob/db5124bd6dad3e3803dc6059dc5c2e87d7c5236e/Gruntfile.coffee | 1 | 44 |
soyjavi/QuoJS:Gruntfile.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON("package/component.json"),
meta: {
file: 'quo',
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' + ' <%= pkg.homepage ... | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON "package/component.json"
meta:
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' +
' <%= pkg.homepage %>\n' +
' Copyright (c) <%= grunt.temp... | JavaScript | CoffeeScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | db5124bd6dad3e3803dc6059dc5c2e87d7c5236e | 2,055 | https://github.com/soyjavi/QuoJS/blob/db5124bd6dad3e3803dc6059dc5c2e87d7c5236e/Gruntfile.coffee | 1 | 44 |
soyjavi/QuoJS:Gruntfile.coffee:1:completion | completion | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON "package/component.json"
meta:
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' +
' <%= pkg.homepage %>\n' +
' Copyright (c) <%= grunt.temp... | app: files: 'package/<%= meta.file %>.debug.js' : ['<%= resources.app %>']
# widgets: files: 'package/<%= meta.file %>.widget.debug.js' : ['<%= resources.widgets %>']
uglify:
options: compress: false, banner: "<%= meta.banner %>"
app: files: 'package/<%= meta.file %>.js' ... | CoffeeScript | CoffeeScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | db5124bd6dad3e3803dc6059dc5c2e87d7c5236e | 2,055 | https://github.com/soyjavi/QuoJS/blob/db5124bd6dad3e3803dc6059dc5c2e87d7c5236e/Gruntfile.coffee | 1 | 44 |
soyjavi/QuoJS:Gruntfile.coffee:1:raw_corpus | raw_corpus | module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON "package/component.json"
meta:
file: 'quo'
banner: '/* <%= pkg.name %> v<%= pkg.version %> - <%= grunt.template.today("yyyy/m/d") %>\n' +
' <%= pkg.homepage %>\n' +
' Copyright (c) <%= grunt.temp... | CoffeeScript | soyjavi/QuoJS | Gruntfile.coffee | MIT | b549a0e0cbbcf3b86e53bf9395581c99d7fd1ed3 | 2,055 | https://github.com/soyjavi/QuoJS/blob/b549a0e0cbbcf3b86e53bf9395581c99d7fd1ed3/Gruntfile.coffee | 1 | 32 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.