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/npm-utils.coffee:1:completion
completion
_ = require("lodash") exec = require("child_process").exec module.exports = ((_, exec) -> _({}).tap (exports) -> exports.installFrom = (path, callback) -> process.chdir(path) console.info " - Running `#{command}` to install dependencies for your new project..." exec command, (error, stdout, std...
if error console.error("Uh oh! An error occurred while running `#{command}`.") console.info(stdout) console.error(stderr) callback(error) command = "npm install" )(_, exec)
CoffeeScript
CoffeeScript
linemanjs/lineman
lib/npm-utils.coffee
MIT
da7b69982e44220bdd107798d86abc78749dc125
1,168
https://github.com/linemanjs/lineman/blob/da7b69982e44220bdd107798d86abc78749dc125/lib/npm-utils.coffee
1
18
linemanjs/lineman:lib/gather-tasks.coffee:1:raw_corpus
raw_corpus
_ = require("lodash") buildsAppConfig = require('./../lib/builds-app-config') module.exports = (phase) -> config = buildsAppConfig.forGrunt() _([].concat( config.prependTasks?[phase] (if config.enableSass && phase == "common" then ["sass"] else []) config.appTasks?[phase] config.appendTasks?[phase]...
CoffeeScript
linemanjs/lineman
lib/gather-tasks.coffee
MIT
61d681532d9621e578d319c279006bbb728ece4b
1,168
https://github.com/linemanjs/lineman/blob/61d681532d9621e578d319c279006bbb728ece4b/lib/gather-tasks.coffee
1
14
linemanjs/lineman:lib/gather-tasks.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript _ = require("lodash") buildsAppConfig = require('./../lib/builds-app-config') module.exports = (phase) -> config = buildsAppConfig.forGrunt() _([].concat( config.prependTasks?[phase] (if config.enableSass && phase == "common" then ["sass"] else []) ...
var _, buildsAppConfig; _ = require("lodash"); buildsAppConfig = require('./../lib/builds-app-config'); module.exports = function(phase) { var config, ref, ref1, ref2, ref3; config = buildsAppConfig.forGrunt(); return _([].concat((ref1 = config.prependTasks) != null ? ref1[phase] : void 0, (config.enableSass &...
CoffeeScript
JavaScript
linemanjs/lineman
lib/gather-tasks.coffee
MIT
61d681532d9621e578d319c279006bbb728ece4b
1,168
https://github.com/linemanjs/lineman/blob/61d681532d9621e578d319c279006bbb728ece4b/lib/gather-tasks.coffee
1
14
linemanjs/lineman:lib/gather-tasks.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript var _, buildsAppConfig; _ = require("lodash"); buildsAppConfig = require('./../lib/builds-app-config'); module.exports = function(phase) { var config, ref, ref1, ref2, ref3; config = buildsAppConfig.forGrunt(); return _([].concat((ref1 = config.prependTask...
_ = require("lodash") buildsAppConfig = require('./../lib/builds-app-config') module.exports = (phase) -> config = buildsAppConfig.forGrunt() _([].concat( config.prependTasks?[phase] (if config.enableSass && phase == "common" then ["sass"] else []) config.appTasks?[phase] config.appendTasks?[phase]...
JavaScript
CoffeeScript
linemanjs/lineman
lib/gather-tasks.coffee
MIT
61d681532d9621e578d319c279006bbb728ece4b
1,168
https://github.com/linemanjs/lineman/blob/61d681532d9621e578d319c279006bbb728ece4b/lib/gather-tasks.coffee
1
14
linemanjs/lineman:lib/gather-tasks.coffee:1:completion
completion
_ = require("lodash") buildsAppConfig = require('./../lib/builds-app-config') module.exports = (phase) -> config = buildsAppConfig.forGrunt() _([].concat( config.prependTasks?[phase]
(if config.enableSass && phase == "common" then ["sass"] else []) config.appTasks?[phase] config.appendTasks?[phase] (if config.enableAssetFingerprint && phase == "dist" then ["assetFingerprint"] else []) )).difference(config.removeTasks?[phase]). compact(). value()
CoffeeScript
CoffeeScript
linemanjs/lineman
lib/gather-tasks.coffee
MIT
61d681532d9621e578d319c279006bbb728ece4b
1,168
https://github.com/linemanjs/lineman/blob/61d681532d9621e578d319c279006bbb728ece4b/lib/gather-tasks.coffee
1
14
linemanjs/lineman:lib/gather-tasks.coffee:1:raw_corpus
raw_corpus
_ = require("lodash") buildsAppConfig = require('./../lib/builds-app-config') module.exports = (phase) -> config = buildsAppConfig.forGrunt() _([].concat( config.prependTasks?[phase] (if config.enableSass && phase == "common" then ["sass"] else []) config.appTasks?[phase] config.appendTasks?[phase]...
CoffeeScript
linemanjs/lineman
lib/gather-tasks.coffee
MIT
da7b69982e44220bdd107798d86abc78749dc125
1,168
https://github.com/linemanjs/lineman/blob/da7b69982e44220bdd107798d86abc78749dc125/lib/gather-tasks.coffee
1
15
linemanjs/lineman:lib/gather-tasks.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript _ = require("lodash") buildsAppConfig = require('./../lib/builds-app-config') module.exports = (phase) -> config = buildsAppConfig.forGrunt() _([].concat( config.prependTasks?[phase] (if config.enableSass && phase == "common" then ["sass"] else []) ...
var _, buildsAppConfig; _ = require("lodash"); buildsAppConfig = require('./../lib/builds-app-config'); module.exports = function(phase) { var config, ref, ref1, ref2, ref3; config = buildsAppConfig.forGrunt(); return _([].concat((ref1 = config.prependTasks) != null ? ref1[phase] : void 0, (config.enableSass &...
CoffeeScript
JavaScript
linemanjs/lineman
lib/gather-tasks.coffee
MIT
da7b69982e44220bdd107798d86abc78749dc125
1,168
https://github.com/linemanjs/lineman/blob/da7b69982e44220bdd107798d86abc78749dc125/lib/gather-tasks.coffee
1
15
linemanjs/lineman:lib/gather-tasks.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript var _, buildsAppConfig; _ = require("lodash"); buildsAppConfig = require('./../lib/builds-app-config'); module.exports = function(phase) { var config, ref, ref1, ref2, ref3; config = buildsAppConfig.forGrunt(); return _([].concat((ref1 = config.prependTask...
_ = require("lodash") buildsAppConfig = require('./../lib/builds-app-config') module.exports = (phase) -> config = buildsAppConfig.forGrunt() _([].concat( config.prependTasks?[phase] (if config.enableSass && phase == "common" then ["sass"] else []) config.appTasks?[phase] config.appendTasks?[phase]...
JavaScript
CoffeeScript
linemanjs/lineman
lib/gather-tasks.coffee
MIT
da7b69982e44220bdd107798d86abc78749dc125
1,168
https://github.com/linemanjs/lineman/blob/da7b69982e44220bdd107798d86abc78749dc125/lib/gather-tasks.coffee
1
15
linemanjs/lineman:lib/gather-tasks.coffee:1:completion
completion
_ = require("lodash") buildsAppConfig = require('./../lib/builds-app-config') module.exports = (phase) -> config = buildsAppConfig.forGrunt() _([].concat( config.prependTasks?[phase]
(if config.enableSass && phase == "common" then ["sass"] else []) config.appTasks?[phase] config.appendTasks?[phase] (if config.enableAssetFingerprint && phase == "dist" then ["assetFingerprint"] else []) )).chain(). difference(config.removeTasks?[phase]). compact(). value()
CoffeeScript
CoffeeScript
linemanjs/lineman
lib/gather-tasks.coffee
MIT
da7b69982e44220bdd107798d86abc78749dc125
1,168
https://github.com/linemanjs/lineman/blob/da7b69982e44220bdd107798d86abc78749dc125/lib/gather-tasks.coffee
1
15
linemanjs/lineman:lib/gather-tasks.coffee:1:raw_corpus
raw_corpus
_ = require('grunt').util._ buildsAppConfig = require('./../lib/builds-app-config') module.exports = (phase) -> config = buildsAppConfig.forGrunt() _([].concat( config.prependTasks?[phase] (if config.enableSass && phase == "common" then ["sass"] else []) config.appTasks?[phase] config.appendTasks?[...
CoffeeScript
linemanjs/lineman
lib/gather-tasks.coffee
MIT
6b126dd743493540c69ed4bddf942f746791770b
1,168
https://github.com/linemanjs/lineman/blob/6b126dd743493540c69ed4bddf942f746791770b/lib/gather-tasks.coffee
1
15
linemanjs/lineman:lib/gather-tasks.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript _ = require('grunt').util._ buildsAppConfig = require('./../lib/builds-app-config') module.exports = (phase) -> config = buildsAppConfig.forGrunt() _([].concat( config.prependTasks?[phase] (if config.enableSass && phase == "common" then ["sass"] else...
var _, buildsAppConfig; _ = require('grunt').util._; buildsAppConfig = require('./../lib/builds-app-config'); module.exports = function(phase) { var config, ref, ref1, ref2, ref3; config = buildsAppConfig.forGrunt(); return _([].concat((ref1 = config.prependTasks) != null ? ref1[phase] : void 0, (config.enable...
CoffeeScript
JavaScript
linemanjs/lineman
lib/gather-tasks.coffee
MIT
6b126dd743493540c69ed4bddf942f746791770b
1,168
https://github.com/linemanjs/lineman/blob/6b126dd743493540c69ed4bddf942f746791770b/lib/gather-tasks.coffee
1
15
linemanjs/lineman:lib/gather-tasks.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript var _, buildsAppConfig; _ = require('grunt').util._; buildsAppConfig = require('./../lib/builds-app-config'); module.exports = function(phase) { var config, ref, ref1, ref2, ref3; config = buildsAppConfig.forGrunt(); return _([].concat((ref1 = config.prepe...
_ = require('grunt').util._ buildsAppConfig = require('./../lib/builds-app-config') module.exports = (phase) -> config = buildsAppConfig.forGrunt() _([].concat( config.prependTasks?[phase] (if config.enableSass && phase == "common" then ["sass"] else []) config.appTasks?[phase] config.appendTasks?[...
JavaScript
CoffeeScript
linemanjs/lineman
lib/gather-tasks.coffee
MIT
6b126dd743493540c69ed4bddf942f746791770b
1,168
https://github.com/linemanjs/lineman/blob/6b126dd743493540c69ed4bddf942f746791770b/lib/gather-tasks.coffee
1
15
linemanjs/lineman:lib/gather-tasks.coffee:1:completion
completion
_ = require('grunt').util._ buildsAppConfig = require('./../lib/builds-app-config') module.exports = (phase) -> config = buildsAppConfig.forGrunt() _([].concat( config.prependTasks?[phase]
(if config.enableSass && phase == "common" then ["sass"] else []) config.appTasks?[phase] config.appendTasks?[phase] (if config.enableAssetFingerprint && phase == "dist" then ["assetFingerprint"] else []) )).chain(). difference(config.removeTasks?[phase]). compact(). value()
CoffeeScript
CoffeeScript
linemanjs/lineman
lib/gather-tasks.coffee
MIT
6b126dd743493540c69ed4bddf942f746791770b
1,168
https://github.com/linemanjs/lineman/blob/6b126dd743493540c69ed4bddf942f746791770b/lib/gather-tasks.coffee
1
15
linemanjs/lineman:lib/gather-tasks.coffee:1:raw_corpus
raw_corpus
_ = require('grunt').util._ buildsAppConfig = require('./../lib/builds-app-config') module.exports = (phase) -> config = buildsAppConfig.forGrunt() _([].concat( config.prependTasks?[phase] (if config.enableSass && phase == "common" then ["sass"] else []) config.appTasks?[phase] config.appendTasks?[...
CoffeeScript
linemanjs/lineman
lib/gather-tasks.coffee
MIT
9610ff6435b6e325e1c67291fadd807f75d3c05e
1,168
https://github.com/linemanjs/lineman/blob/9610ff6435b6e325e1c67291fadd807f75d3c05e/lib/gather-tasks.coffee
1
17
linemanjs/lineman:lib/gather-tasks.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript _ = require('grunt').util._ buildsAppConfig = require('./../lib/builds-app-config') module.exports = (phase) -> config = buildsAppConfig.forGrunt() _([].concat( config.prependTasks?[phase] (if config.enableSass && phase == "common" then ["sass"] else...
var _, buildsAppConfig; _ = require('grunt').util._; buildsAppConfig = require('./../lib/builds-app-config'); module.exports = function(phase) { var config, ref, ref1, ref2, ref3; config = buildsAppConfig.forGrunt(); return _([].concat((ref1 = config.prependTasks) != null ? ref1[phase] : void 0, (config.enable...
CoffeeScript
JavaScript
linemanjs/lineman
lib/gather-tasks.coffee
MIT
9610ff6435b6e325e1c67291fadd807f75d3c05e
1,168
https://github.com/linemanjs/lineman/blob/9610ff6435b6e325e1c67291fadd807f75d3c05e/lib/gather-tasks.coffee
1
17
linemanjs/lineman:lib/gather-tasks.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript var _, buildsAppConfig; _ = require('grunt').util._; buildsAppConfig = require('./../lib/builds-app-config'); module.exports = function(phase) { var config, ref, ref1, ref2, ref3; config = buildsAppConfig.forGrunt(); return _([].concat((ref1 = config.prepe...
_ = require('grunt').util._ buildsAppConfig = require('./../lib/builds-app-config') module.exports = (phase) -> config = buildsAppConfig.forGrunt() _([].concat( config.prependTasks?[phase] (if config.enableSass && phase == "common" then ["sass"] else []) config.appTasks?[phase] config.appendTasks?[...
JavaScript
CoffeeScript
linemanjs/lineman
lib/gather-tasks.coffee
MIT
9610ff6435b6e325e1c67291fadd807f75d3c05e
1,168
https://github.com/linemanjs/lineman/blob/9610ff6435b6e325e1c67291fadd807f75d3c05e/lib/gather-tasks.coffee
1
17
linemanjs/lineman:lib/gather-tasks.coffee:1:completion
completion
_ = require('grunt').util._ buildsAppConfig = require('./../lib/builds-app-config') module.exports = (phase) -> config = buildsAppConfig.forGrunt() _([].concat( config.prependTasks?[phase] (if config.enableSass && phase == "common" then ["sass"] else [])
config.appTasks?[phase] config.appendTasks?[phase] )).chain(). tap((tasks) -> if config.enableAssetFingerprint && phase == "dist" tasks.splice(tasks.indexOf("pages:dist"), 0, "assetFingerprint:dist") ).difference(config.removeTasks?[phase]). compact(). value()
CoffeeScript
CoffeeScript
linemanjs/lineman
lib/gather-tasks.coffee
MIT
9610ff6435b6e325e1c67291fadd807f75d3c05e
1,168
https://github.com/linemanjs/lineman/blob/9610ff6435b6e325e1c67291fadd807f75d3c05e/lib/gather-tasks.coffee
1
17
linemanjs/lineman:lib/gather-tasks.coffee:1:raw_corpus
raw_corpus
_ = require('grunt').util._ module.exports = (phase) -> config = require("#{process.cwd()}/config/application") _([].concat( config.prependTasks?[phase] (if config.enableSass && phase == "common" then ["sass"] else []) config.appTasks?[phase] config.appendTasks?[phase] )).chain(). tap((tasks)...
CoffeeScript
linemanjs/lineman
lib/gather-tasks.coffee
MIT
8a81b6c86422dbd37c551b8a61560fa3cc8effe5
1,168
https://github.com/linemanjs/lineman/blob/8a81b6c86422dbd37c551b8a61560fa3cc8effe5/lib/gather-tasks.coffee
1
16
linemanjs/lineman:lib/gather-tasks.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript _ = require('grunt').util._ module.exports = (phase) -> config = require("#{process.cwd()}/config/application") _([].concat( config.prependTasks?[phase] (if config.enableSass && phase == "common" then ["sass"] else []) config.appTasks?[phase] ...
var _; _ = require('grunt').util._; module.exports = function(phase) { var config, ref, ref1, ref2, ref3; config = require(`${process.cwd()}/config/application`); return _([].concat((ref1 = config.prependTasks) != null ? ref1[phase] : void 0, (config.enableSass && phase === "common" ? ["sass"] : []), (ref2 = co...
CoffeeScript
JavaScript
linemanjs/lineman
lib/gather-tasks.coffee
MIT
8a81b6c86422dbd37c551b8a61560fa3cc8effe5
1,168
https://github.com/linemanjs/lineman/blob/8a81b6c86422dbd37c551b8a61560fa3cc8effe5/lib/gather-tasks.coffee
1
16
linemanjs/lineman:lib/gather-tasks.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript var _; _ = require('grunt').util._; module.exports = function(phase) { var config, ref, ref1, ref2, ref3; config = require(`${process.cwd()}/config/application`); return _([].concat((ref1 = config.prependTasks) != null ? ref1[phase] : void 0, (config.enable...
_ = require('grunt').util._ module.exports = (phase) -> config = require("#{process.cwd()}/config/application") _([].concat( config.prependTasks?[phase] (if config.enableSass && phase == "common" then ["sass"] else []) config.appTasks?[phase] config.appendTasks?[phase] )).chain(). tap((tasks)...
JavaScript
CoffeeScript
linemanjs/lineman
lib/gather-tasks.coffee
MIT
8a81b6c86422dbd37c551b8a61560fa3cc8effe5
1,168
https://github.com/linemanjs/lineman/blob/8a81b6c86422dbd37c551b8a61560fa3cc8effe5/lib/gather-tasks.coffee
1
16
linemanjs/lineman:lib/gather-tasks.coffee:1:completion
completion
_ = require('grunt').util._ module.exports = (phase) -> config = require("#{process.cwd()}/config/application") _([].concat( config.prependTasks?[phase] (if config.enableSass && phase == "common" then ["sass"] else []) config.appTasks?[phase]
config.appendTasks?[phase] )).chain(). tap((tasks) -> if config.enableAssetFingerprint && phase == "dist" tasks.splice(tasks.indexOf("pages:dist"), 0, "assetFingerprint:dist") ).difference(config.removeTasks?[phase]). compact(). value()
CoffeeScript
CoffeeScript
linemanjs/lineman
lib/gather-tasks.coffee
MIT
8a81b6c86422dbd37c551b8a61560fa3cc8effe5
1,168
https://github.com/linemanjs/lineman/blob/8a81b6c86422dbd37c551b8a61560fa3cc8effe5/lib/gather-tasks.coffee
1
16
jianliaoim/talk-os:talk-web/client/app/enter-hint.coffee:1:raw_corpus
raw_corpus
React = require 'react' recorder = require 'actions-recorder' Immutable = require 'immutable' PureRenderMixin = require 'react-addons-pure-render-mixin' settingsActions = require '../actions/settings' lang = require '../locales/lang' Tooltip = React.createFactory require '../module/tooltip' { span } = React.DOM T = ...
CoffeeScript
jianliaoim/talk-os
talk-web/client/app/enter-hint.coffee
MIT
2545c4497865779a55762e03963a39237df9046b
2,703
https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-web/client/app/enter-hint.coffee
1
44
jianliaoim/talk-os:talk-web/client/app/enter-hint.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript React = require 'react' recorder = require 'actions-recorder' Immutable = require 'immutable' PureRenderMixin = require 'react-addons-pure-render-mixin' settingsActions = require '../actions/settings' lang = require '../locales/lang' Tooltip = React.createFacto...
var ENTER_METHODS, HINT_TEXTS, Immutable, PureRenderMixin, React, T, Tooltip, lang, recorder, settingsActions, span; React = require('react'); recorder = require('actions-recorder'); Immutable = require('immutable'); PureRenderMixin = require('react-addons-pure-render-mixin'); settingsActions = require('../actions...
CoffeeScript
JavaScript
jianliaoim/talk-os
talk-web/client/app/enter-hint.coffee
MIT
2545c4497865779a55762e03963a39237df9046b
2,703
https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-web/client/app/enter-hint.coffee
1
44
jianliaoim/talk-os:talk-web/client/app/enter-hint.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript var ENTER_METHODS, HINT_TEXTS, Immutable, PureRenderMixin, React, T, Tooltip, lang, recorder, settingsActions, span; React = require('react'); recorder = require('actions-recorder'); Immutable = require('immutable'); PureRenderMixin = require('react-addons-pure...
React = require 'react' recorder = require 'actions-recorder' Immutable = require 'immutable' PureRenderMixin = require 'react-addons-pure-render-mixin' settingsActions = require '../actions/settings' lang = require '../locales/lang' Tooltip = React.createFactory require '../module/tooltip' { span } = React.DOM T = ...
JavaScript
CoffeeScript
jianliaoim/talk-os
talk-web/client/app/enter-hint.coffee
MIT
2545c4497865779a55762e03963a39237df9046b
2,703
https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-web/client/app/enter-hint.coffee
1
44
jianliaoim/talk-os:talk-web/client/app/enter-hint.coffee:1:completion
completion
React = require 'react' recorder = require 'actions-recorder' Immutable = require 'immutable' PureRenderMixin = require 'react-addons-pure-render-mixin' settingsActions = require '../actions/settings' lang = require '../locales/lang' Tooltip = React.createFactory require '../module/tooltip' { span } = React.DOM T = ...
mixins: [PureRenderMixin] propTypes: enterMethod: T.string.isRequired statics: getEnterMethods: -> ENTER_METHODS onClick: -> currentMethod = @props.enterMethod index = ENTER_METHODS.indexOf(currentMethod) nextMethod = ENTER_METHODS.get((index + 1) % ENTER_METHODS.size) settingsAct...
CoffeeScript
CoffeeScript
jianliaoim/talk-os
talk-web/client/app/enter-hint.coffee
MIT
2545c4497865779a55762e03963a39237df9046b
2,703
https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-web/client/app/enter-hint.coffee
1
44
octoblu/meshblu:lib/getThrottles.coffee:1:raw_corpus
raw_corpus
debug = require('debug')('meshblu:getThrottles') Limitus = require 'limitus' limiter = new Limitus() config = require '../config' config.rateLimits ?= {}; windowRate = 1000 createThrottle = (name, rate) -> debug 'createThrottle', name, rate limiter.rule name, max: rate, interval: windowRate, mode: 'interval' r...
CoffeeScript
octoblu/meshblu
lib/getThrottles.coffee
MIT
bb7adfab522b918e86bc7af9c6e6e4ce90dd6c92
815
https://github.com/octoblu/meshblu/blob/bb7adfab522b918e86bc7af9c6e6e4ce90dd6c92/lib/getThrottles.coffee
1
23
octoblu/meshblu:lib/getThrottles.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript debug = require('debug')('meshblu:getThrottles') Limitus = require 'limitus' limiter = new Limitus() config = require '../config' config.rateLimits ?= {}; windowRate = 1000 createThrottle = (name, rate) -> debug 'createThrottle', name, rate limiter.rule na...
var Limitus, config, createThrottle, debug, limiter, windowRate; debug = require('debug')('meshblu:getThrottles'); Limitus = require('limitus'); limiter = new Limitus(); config = require('../config'); if (config.rateLimits == null) { config.rateLimits = {}; } windowRate = 1000; createThrottle = function(name, ...
CoffeeScript
JavaScript
octoblu/meshblu
lib/getThrottles.coffee
MIT
bb7adfab522b918e86bc7af9c6e6e4ce90dd6c92
815
https://github.com/octoblu/meshblu/blob/bb7adfab522b918e86bc7af9c6e6e4ce90dd6c92/lib/getThrottles.coffee
1
23
octoblu/meshblu:lib/getThrottles.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript var Limitus, config, createThrottle, debug, limiter, windowRate; debug = require('debug')('meshblu:getThrottles'); Limitus = require('limitus'); limiter = new Limitus(); config = require('../config'); if (config.rateLimits == null) { config.rateLimits = {}; ...
debug = require('debug')('meshblu:getThrottles') Limitus = require 'limitus' limiter = new Limitus() config = require '../config' config.rateLimits ?= {}; windowRate = 1000 createThrottle = (name, rate) -> debug 'createThrottle', name, rate limiter.rule name, max: rate, interval: windowRate, mode: 'interval' r...
JavaScript
CoffeeScript
octoblu/meshblu
lib/getThrottles.coffee
MIT
bb7adfab522b918e86bc7af9c6e6e4ce90dd6c92
815
https://github.com/octoblu/meshblu/blob/bb7adfab522b918e86bc7af9c6e6e4ce90dd6c92/lib/getThrottles.coffee
1
23
octoblu/meshblu:lib/getThrottles.coffee:1:completion
completion
debug = require('debug')('meshblu:getThrottles') Limitus = require 'limitus' limiter = new Limitus() config = require '../config' config.rateLimits ?= {}; windowRate = 1000 createThrottle = (name, rate) -> debug 'createThrottle', name, rate
limiter.rule name, max: rate, interval: windowRate, mode: 'interval' rateLimit: (id="", callback=->) => debug 'rateLimit', name, id limiter.drop(name, id, callback) module.exports = connection: createThrottle 'connection', config.rateLimits.connection query: createThrottle 'query', config.rateLimits...
CoffeeScript
CoffeeScript
octoblu/meshblu
lib/getThrottles.coffee
MIT
bb7adfab522b918e86bc7af9c6e6e4ce90dd6c92
815
https://github.com/octoblu/meshblu/blob/bb7adfab522b918e86bc7af9c6e6e4ce90dd6c92/lib/getThrottles.coffee
1
23
octoblu/meshblu:lib/getThrottles.coffee:1:raw_corpus
raw_corpus
debug = require('debug')('meshblu:getThrottles') Limitus = require 'limitus' limiter = new Limitus() config = require '../config' config.rateLimits ?= {}; windowRate = 1000 createThrottle = (name, rate) -> debug 'createThrottle', name, rate limiter.rule name, max: rate, interval: windowRate rateLimit: (id="", ...
CoffeeScript
octoblu/meshblu
lib/getThrottles.coffee
MIT
849ebd3771150fd46e883215fa016a21cf418f22
815
https://github.com/octoblu/meshblu/blob/849ebd3771150fd46e883215fa016a21cf418f22/lib/getThrottles.coffee
1
23
octoblu/meshblu:lib/getThrottles.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript debug = require('debug')('meshblu:getThrottles') Limitus = require 'limitus' limiter = new Limitus() config = require '../config' config.rateLimits ?= {}; windowRate = 1000 createThrottle = (name, rate) -> debug 'createThrottle', name, rate limiter.rule na...
var Limitus, config, createThrottle, debug, limiter, windowRate; debug = require('debug')('meshblu:getThrottles'); Limitus = require('limitus'); limiter = new Limitus(); config = require('../config'); if (config.rateLimits == null) { config.rateLimits = {}; } windowRate = 1000; createThrottle = function(name, ...
CoffeeScript
JavaScript
octoblu/meshblu
lib/getThrottles.coffee
MIT
849ebd3771150fd46e883215fa016a21cf418f22
815
https://github.com/octoblu/meshblu/blob/849ebd3771150fd46e883215fa016a21cf418f22/lib/getThrottles.coffee
1
23
octoblu/meshblu:lib/getThrottles.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript var Limitus, config, createThrottle, debug, limiter, windowRate; debug = require('debug')('meshblu:getThrottles'); Limitus = require('limitus'); limiter = new Limitus(); config = require('../config'); if (config.rateLimits == null) { config.rateLimits = {}; ...
debug = require('debug')('meshblu:getThrottles') Limitus = require 'limitus' limiter = new Limitus() config = require '../config' config.rateLimits ?= {}; windowRate = 1000 createThrottle = (name, rate) -> debug 'createThrottle', name, rate limiter.rule name, max: rate, interval: windowRate rateLimit: (id="", ...
JavaScript
CoffeeScript
octoblu/meshblu
lib/getThrottles.coffee
MIT
849ebd3771150fd46e883215fa016a21cf418f22
815
https://github.com/octoblu/meshblu/blob/849ebd3771150fd46e883215fa016a21cf418f22/lib/getThrottles.coffee
1
23
octoblu/meshblu:lib/getThrottles.coffee:1:completion
completion
debug = require('debug')('meshblu:getThrottles') Limitus = require 'limitus' limiter = new Limitus() config = require '../config' config.rateLimits ?= {}; windowRate = 1000 createThrottle = (name, rate) -> debug 'createThrottle', name, rate
limiter.rule name, max: rate, interval: windowRate rateLimit: (id="", callback=->) => debug 'rateLimit', name, id limiter.drop(name, id, callback) module.exports = connection: createThrottle 'connection', config.rateLimits.connection query: createThrottle 'query', config.rateLimits.query message: ...
CoffeeScript
CoffeeScript
octoblu/meshblu
lib/getThrottles.coffee
MIT
849ebd3771150fd46e883215fa016a21cf418f22
815
https://github.com/octoblu/meshblu/blob/849ebd3771150fd46e883215fa016a21cf418f22/lib/getThrottles.coffee
1
23
octoblu/meshblu:lib/getThrottles.coffee:1:raw_corpus
raw_corpus
debug = require('debug')('meshblu:getThrottles') Limitus = require 'limitus' limiter = new Limitus() config = require '../config' config.rateLimits ?= {}; windowRate = 1000 createThrottle = (name, rate) -> debug 'createThrottle', name, rate limiter.rule name, max: rate, interval: windowRate rateLimit: (id, cal...
CoffeeScript
octoblu/meshblu
lib/getThrottles.coffee
MIT
abddb2d1fe67e62b46f5472d371b507f3b80cd3f
815
https://github.com/octoblu/meshblu/blob/abddb2d1fe67e62b46f5472d371b507f3b80cd3f/lib/getThrottles.coffee
1
23
octoblu/meshblu:lib/getThrottles.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript debug = require('debug')('meshblu:getThrottles') Limitus = require 'limitus' limiter = new Limitus() config = require '../config' config.rateLimits ?= {}; windowRate = 1000 createThrottle = (name, rate) -> debug 'createThrottle', name, rate limiter.rule na...
var Limitus, config, createThrottle, debug, limiter, windowRate; debug = require('debug')('meshblu:getThrottles'); Limitus = require('limitus'); limiter = new Limitus(); config = require('../config'); if (config.rateLimits == null) { config.rateLimits = {}; } windowRate = 1000; createThrottle = function(name, ...
CoffeeScript
JavaScript
octoblu/meshblu
lib/getThrottles.coffee
MIT
abddb2d1fe67e62b46f5472d371b507f3b80cd3f
815
https://github.com/octoblu/meshblu/blob/abddb2d1fe67e62b46f5472d371b507f3b80cd3f/lib/getThrottles.coffee
1
23
octoblu/meshblu:lib/getThrottles.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript var Limitus, config, createThrottle, debug, limiter, windowRate; debug = require('debug')('meshblu:getThrottles'); Limitus = require('limitus'); limiter = new Limitus(); config = require('../config'); if (config.rateLimits == null) { config.rateLimits = {}; ...
debug = require('debug')('meshblu:getThrottles') Limitus = require 'limitus' limiter = new Limitus() config = require '../config' config.rateLimits ?= {}; windowRate = 1000 createThrottle = (name, rate) -> debug 'createThrottle', name, rate limiter.rule name, max: rate, interval: windowRate rateLimit: (id, cal...
JavaScript
CoffeeScript
octoblu/meshblu
lib/getThrottles.coffee
MIT
abddb2d1fe67e62b46f5472d371b507f3b80cd3f
815
https://github.com/octoblu/meshblu/blob/abddb2d1fe67e62b46f5472d371b507f3b80cd3f/lib/getThrottles.coffee
1
23
octoblu/meshblu:lib/getThrottles.coffee:1:completion
completion
debug = require('debug')('meshblu:getThrottles') Limitus = require 'limitus' limiter = new Limitus() config = require '../config' config.rateLimits ?= {}; windowRate = 1000 createThrottle = (name, rate) -> debug 'createThrottle', name, rate
limiter.rule name, max: rate, interval: windowRate rateLimit: (id, callback=->) => debug 'rateLimit', name, id limiter.drop(name, id, callback) module.exports = connection: createThrottle 'connection', config.rateLimits.connection query: createThrottle 'query', config.rateLimits.query message: ...
CoffeeScript
CoffeeScript
octoblu/meshblu
lib/getThrottles.coffee
MIT
abddb2d1fe67e62b46f5472d371b507f3b80cd3f
815
https://github.com/octoblu/meshblu/blob/abddb2d1fe67e62b46f5472d371b507f3b80cd3f/lib/getThrottles.coffee
1
23
octoblu/meshblu:lib/getThrottles.coffee:1:raw_corpus
raw_corpus
config = require '../config' config.rateLimits ?= {}; windowRate = 1000 tokenthrottle = require 'tokenthrottle' # if config.redis?.host # redis = require './redis' # tokenthrottle = require 'tokenthrottle-redis' # redisClient = redis.client createThrottle = (rate) -> throttleConfig = window: windowRate ...
CoffeeScript
octoblu/meshblu
lib/getThrottles.coffee
MIT
c18ea41fe28ee588fe9c5b88e1f18852616f120e
815
https://github.com/octoblu/meshblu/blob/c18ea41fe28ee588fe9c5b88e1f18852616f120e/lib/getThrottles.coffee
1
25
octoblu/meshblu:lib/getThrottles.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript config = require '../config' config.rateLimits ?= {}; windowRate = 1000 tokenthrottle = require 'tokenthrottle' # if config.redis?.host # redis = require './redis' # tokenthrottle = require 'tokenthrottle-redis' # redisClient = redis.client createThrottl...
var config, createThrottle, tokenthrottle, windowRate; config = require('../config'); if (config.rateLimits == null) { config.rateLimits = {}; } windowRate = 1000; tokenthrottle = require('tokenthrottle'); // if config.redis?.host // redis = require './redis' // tokenthrottle = require 'tokenthrottle-redis' ...
CoffeeScript
JavaScript
octoblu/meshblu
lib/getThrottles.coffee
MIT
c18ea41fe28ee588fe9c5b88e1f18852616f120e
815
https://github.com/octoblu/meshblu/blob/c18ea41fe28ee588fe9c5b88e1f18852616f120e/lib/getThrottles.coffee
1
25
octoblu/meshblu:lib/getThrottles.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript var config, createThrottle, tokenthrottle, windowRate; config = require('../config'); if (config.rateLimits == null) { config.rateLimits = {}; } windowRate = 1000; tokenthrottle = require('tokenthrottle'); // if config.redis?.host // redis = require './red...
config = require '../config' config.rateLimits ?= {}; windowRate = 1000 tokenthrottle = require 'tokenthrottle' # if config.redis?.host # redis = require './redis' # tokenthrottle = require 'tokenthrottle-redis' # redisClient = redis.client createThrottle = (rate) -> throttleConfig = window: windowRate ...
JavaScript
CoffeeScript
octoblu/meshblu
lib/getThrottles.coffee
MIT
c18ea41fe28ee588fe9c5b88e1f18852616f120e
815
https://github.com/octoblu/meshblu/blob/c18ea41fe28ee588fe9c5b88e1f18852616f120e/lib/getThrottles.coffee
1
25
octoblu/meshblu:lib/getThrottles.coffee:1:completion
completion
config = require '../config' config.rateLimits ?= {}; windowRate = 1000 tokenthrottle = require 'tokenthrottle' # if config.redis?.host # redis = require './redis' # tokenthrottle = require 'tokenthrottle-redis' # redisClient = redis.client createThrottle = (rate) ->
throttleConfig = window: windowRate rate: rate burst: rate * 2 tokenthrottle throttleConfig #, redisClient module.exports = connection : createThrottle config.rateLimits.connection message : createThrottle config.rateLimits.message data : createThrottle config.rateLimits.data query : createThrott...
CoffeeScript
CoffeeScript
octoblu/meshblu
lib/getThrottles.coffee
MIT
c18ea41fe28ee588fe9c5b88e1f18852616f120e
815
https://github.com/octoblu/meshblu/blob/c18ea41fe28ee588fe9c5b88e1f18852616f120e/lib/getThrottles.coffee
1
25
octoblu/meshblu:lib/getThrottles.coffee:1:raw_corpus
raw_corpus
config = require '../config' config.rateLimits ?= {}; windowRate = 1000 tokenthrottle = require 'tokenthrottle' require('toobusy') # if config.redis?.host # redis = require './redis' # tokenthrottle = require 'tokenthrottle-redis' # redisClient = redis.client createThrottle = (rate) -> throttleConfig = ...
CoffeeScript
octoblu/meshblu
lib/getThrottles.coffee
MIT
3b9a84507d983d80c810d7aaa39f8a783240f81f
815
https://github.com/octoblu/meshblu/blob/3b9a84507d983d80c810d7aaa39f8a783240f81f/lib/getThrottles.coffee
1
27
octoblu/meshblu:lib/getThrottles.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript config = require '../config' config.rateLimits ?= {}; windowRate = 1000 tokenthrottle = require 'tokenthrottle' require('toobusy') # if config.redis?.host # redis = require './redis' # tokenthrottle = require 'tokenthrottle-redis' # redisClient = redis.c...
var config, createThrottle, tokenthrottle, windowRate; config = require('../config'); if (config.rateLimits == null) { config.rateLimits = {}; } windowRate = 1000; tokenthrottle = require('tokenthrottle'); require('toobusy'); // if config.redis?.host // redis = require './redis' // tokenthrottle = require '...
CoffeeScript
JavaScript
octoblu/meshblu
lib/getThrottles.coffee
MIT
3b9a84507d983d80c810d7aaa39f8a783240f81f
815
https://github.com/octoblu/meshblu/blob/3b9a84507d983d80c810d7aaa39f8a783240f81f/lib/getThrottles.coffee
1
27
octoblu/meshblu:lib/getThrottles.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript var config, createThrottle, tokenthrottle, windowRate; config = require('../config'); if (config.rateLimits == null) { config.rateLimits = {}; } windowRate = 1000; tokenthrottle = require('tokenthrottle'); require('toobusy'); // if config.redis?.host // r...
config = require '../config' config.rateLimits ?= {}; windowRate = 1000 tokenthrottle = require 'tokenthrottle' require('toobusy') # if config.redis?.host # redis = require './redis' # tokenthrottle = require 'tokenthrottle-redis' # redisClient = redis.client createThrottle = (rate) -> throttleConfig = ...
JavaScript
CoffeeScript
octoblu/meshblu
lib/getThrottles.coffee
MIT
3b9a84507d983d80c810d7aaa39f8a783240f81f
815
https://github.com/octoblu/meshblu/blob/3b9a84507d983d80c810d7aaa39f8a783240f81f/lib/getThrottles.coffee
1
27
octoblu/meshblu:lib/getThrottles.coffee:1:completion
completion
config = require '../config' config.rateLimits ?= {}; windowRate = 1000 tokenthrottle = require 'tokenthrottle' require('toobusy') # if config.redis?.host # redis = require './redis' # tokenthrottle = require 'tokenthrottle-redis' # redisClient = redis.client
createThrottle = (rate) -> throttleConfig = window: windowRate rate: rate burst: rate * 2 tokenthrottle throttleConfig #, redisClient module.exports = connection : createThrottle config.rateLimits.connection message : createThrottle config.rateLimits.message data : createThrottle config.rateLimit...
CoffeeScript
CoffeeScript
octoblu/meshblu
lib/getThrottles.coffee
MIT
3b9a84507d983d80c810d7aaa39f8a783240f81f
815
https://github.com/octoblu/meshblu/blob/3b9a84507d983d80c810d7aaa39f8a783240f81f/lib/getThrottles.coffee
1
27
octoblu/meshblu:lib/getThrottles.coffee:1:raw_corpus
raw_corpus
config = require '../config' config.rateLimits ?= {}; windowRate = 1000 tokenthrottle = require 'tokenthrottle' require('toobusy').maxLag 40 # if config.redis?.host # redis = require './redis' # tokenthrottle = require 'tokenthrottle-redis' # redisClient = redis.client createThrottle = (rate) -> throttleCon...
CoffeeScript
octoblu/meshblu
lib/getThrottles.coffee
MIT
432c25fe2000825c95dfbfd29fb4985a4ba70418
815
https://github.com/octoblu/meshblu/blob/432c25fe2000825c95dfbfd29fb4985a4ba70418/lib/getThrottles.coffee
1
27
octoblu/meshblu:lib/getThrottles.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript config = require '../config' config.rateLimits ?= {}; windowRate = 1000 tokenthrottle = require 'tokenthrottle' require('toobusy').maxLag 40 # if config.redis?.host # redis = require './redis' # tokenthrottle = require 'tokenthrottle-redis' # redisClient...
var config, createThrottle, tokenthrottle, windowRate; config = require('../config'); if (config.rateLimits == null) { config.rateLimits = {}; } windowRate = 1000; tokenthrottle = require('tokenthrottle'); require('toobusy').maxLag(40); // if config.redis?.host // redis = require './redis' // tokenthrottle ...
CoffeeScript
JavaScript
octoblu/meshblu
lib/getThrottles.coffee
MIT
432c25fe2000825c95dfbfd29fb4985a4ba70418
815
https://github.com/octoblu/meshblu/blob/432c25fe2000825c95dfbfd29fb4985a4ba70418/lib/getThrottles.coffee
1
27
octoblu/meshblu:lib/getThrottles.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript var config, createThrottle, tokenthrottle, windowRate; config = require('../config'); if (config.rateLimits == null) { config.rateLimits = {}; } windowRate = 1000; tokenthrottle = require('tokenthrottle'); require('toobusy').maxLag(40); // if config.redis?....
config = require '../config' config.rateLimits ?= {}; windowRate = 1000 tokenthrottle = require 'tokenthrottle' require('toobusy').maxLag 40 # if config.redis?.host # redis = require './redis' # tokenthrottle = require 'tokenthrottle-redis' # redisClient = redis.client createThrottle = (rate) -> throttleCon...
JavaScript
CoffeeScript
octoblu/meshblu
lib/getThrottles.coffee
MIT
432c25fe2000825c95dfbfd29fb4985a4ba70418
815
https://github.com/octoblu/meshblu/blob/432c25fe2000825c95dfbfd29fb4985a4ba70418/lib/getThrottles.coffee
1
27
octoblu/meshblu:lib/getThrottles.coffee:1:completion
completion
config = require '../config' config.rateLimits ?= {}; windowRate = 1000 tokenthrottle = require 'tokenthrottle' require('toobusy').maxLag 40 # if config.redis?.host # redis = require './redis' # tokenthrottle = require 'tokenthrottle-redis' # redisClient = redis.client
createThrottle = (rate) -> throttleConfig = window: windowRate rate: rate burst: rate * 2 tokenthrottle throttleConfig #, redisClient module.exports = connection : createThrottle config.rateLimits.connection message : createThrottle config.rateLimits.message data : createThrottle config.rateLimit...
CoffeeScript
CoffeeScript
octoblu/meshblu
lib/getThrottles.coffee
MIT
432c25fe2000825c95dfbfd29fb4985a4ba70418
815
https://github.com/octoblu/meshblu/blob/432c25fe2000825c95dfbfd29fb4985a4ba70418/lib/getThrottles.coffee
1
27
Glavin001/atom-beautify:src/beautifiers/formatR/index.coffee:1:raw_corpus
raw_corpus
### Requires [formatR](https://github.com/yihui/formatR) ### path = require("path") "use strict" Beautifier = require('../beautifier') module.exports = class R extends Beautifier name: "formatR" link: "https://github.com/yihui/formatR" executables: [ { name: "Rscript" cmd: "rscript" homepa...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/formatR/index.coffee
MIT
41d5051b399f7fe11efd149504a232df16179d60
1,503
https://github.com/Glavin001/atom-beautify/blob/41d5051b399f7fe11efd149504a232df16179d60/src/beautifiers/formatR/index.coffee
1
41
Glavin001/atom-beautify:src/beautifiers/formatR/index.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript ### Requires [formatR](https://github.com/yihui/formatR) ### path = require("path") "use strict" Beautifier = require('../beautifier') module.exports = class R extends Beautifier name: "formatR" link: "https://github.com/yihui/formatR" executables: [ ...
/* Requires [formatR](https://github.com/yihui/formatR) */ var Beautifier, R, path; path = require("path"); "use strict"; Beautifier = require('../beautifier'); module.exports = R = (function() { class R extends Beautifier { beautify(text, language, options) { var r_beautifier, rscript; rscript = ...
CoffeeScript
JavaScript
Glavin001/atom-beautify
src/beautifiers/formatR/index.coffee
MIT
41d5051b399f7fe11efd149504a232df16179d60
1,503
https://github.com/Glavin001/atom-beautify/blob/41d5051b399f7fe11efd149504a232df16179d60/src/beautifiers/formatR/index.coffee
1
41
Glavin001/atom-beautify:src/beautifiers/formatR/index.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript /* Requires [formatR](https://github.com/yihui/formatR) */ var Beautifier, R, path; path = require("path"); "use strict"; Beautifier = require('../beautifier'); module.exports = R = (function() { class R extends Beautifier { beautify(text, language, optio...
### Requires [formatR](https://github.com/yihui/formatR) ### path = require("path") "use strict" Beautifier = require('../beautifier') module.exports = class R extends Beautifier name: "formatR" link: "https://github.com/yihui/formatR" executables: [ { name: "Rscript" cmd: "rscript" homepa...
JavaScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/formatR/index.coffee
MIT
41d5051b399f7fe11efd149504a232df16179d60
1,503
https://github.com/Glavin001/atom-beautify/blob/41d5051b399f7fe11efd149504a232df16179d60/src/beautifiers/formatR/index.coffee
1
41
Glavin001/atom-beautify:src/beautifiers/formatR/index.coffee:1:completion
completion
### Requires [formatR](https://github.com/yihui/formatR) ### path = require("path") "use strict" Beautifier = require('../beautifier') module.exports = class R extends Beautifier name: "formatR" link: "https://github.com/yihui/formatR" executables: [ { name: "Rscript" cmd: "rscript" homepa...
returnStderr: true } } docker: { image: "unibeautify/rscript" } } ] options: { R: true } beautify: (text, language, options) -> rscript = @exe("rscript") r_beautifier = path.resolve(__dirname, "formatR.r") rscript.run([ r_beautifier, options.in...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/formatR/index.coffee
MIT
41d5051b399f7fe11efd149504a232df16179d60
1,503
https://github.com/Glavin001/atom-beautify/blob/41d5051b399f7fe11efd149504a232df16179d60/src/beautifiers/formatR/index.coffee
1
41
Glavin001/atom-beautify:src/beautifiers/formatR/index.coffee:1:raw_corpus
raw_corpus
### Requires [formatR](https://github.com/yihui/formatR) ### path = require("path") "use strict" Beautifier = require('../beautifier') module.exports = class R extends Beautifier name: "formatR" link: "https://github.com/yihui/formatR" executables: [ { name: "Rscript" cmd: "rscript" homepa...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/formatR/index.coffee
MIT
13601a38b3d0a044fb3c904c7a353c138d89793d
1,503
https://github.com/Glavin001/atom-beautify/blob/13601a38b3d0a044fb3c904c7a353c138d89793d/src/beautifiers/formatR/index.coffee
1
43
Glavin001/atom-beautify:src/beautifiers/formatR/index.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript ### Requires [formatR](https://github.com/yihui/formatR) ### path = require("path") "use strict" Beautifier = require('../beautifier') module.exports = class R extends Beautifier name: "formatR" link: "https://github.com/yihui/formatR" executables: [ ...
/* Requires [formatR](https://github.com/yihui/formatR) */ var Beautifier, R, path; path = require("path"); "use strict"; Beautifier = require('../beautifier'); module.exports = R = (function() { class R extends Beautifier { beautify(text, language, options) { var r_beautifier, rscript; rscript = ...
CoffeeScript
JavaScript
Glavin001/atom-beautify
src/beautifiers/formatR/index.coffee
MIT
13601a38b3d0a044fb3c904c7a353c138d89793d
1,503
https://github.com/Glavin001/atom-beautify/blob/13601a38b3d0a044fb3c904c7a353c138d89793d/src/beautifiers/formatR/index.coffee
1
43
Glavin001/atom-beautify:src/beautifiers/formatR/index.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript /* Requires [formatR](https://github.com/yihui/formatR) */ var Beautifier, R, path; path = require("path"); "use strict"; Beautifier = require('../beautifier'); module.exports = R = (function() { class R extends Beautifier { beautify(text, language, optio...
### Requires [formatR](https://github.com/yihui/formatR) ### path = require("path") "use strict" Beautifier = require('../beautifier') module.exports = class R extends Beautifier name: "formatR" link: "https://github.com/yihui/formatR" executables: [ { name: "Rscript" cmd: "rscript" homepa...
JavaScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/formatR/index.coffee
MIT
13601a38b3d0a044fb3c904c7a353c138d89793d
1,503
https://github.com/Glavin001/atom-beautify/blob/13601a38b3d0a044fb3c904c7a353c138d89793d/src/beautifiers/formatR/index.coffee
1
43
Glavin001/atom-beautify:src/beautifiers/formatR/index.coffee:1:completion
completion
### Requires [formatR](https://github.com/yihui/formatR) ### path = require("path") "use strict" Beautifier = require('../beautifier') module.exports = class R extends Beautifier name: "formatR" link: "https://github.com/yihui/formatR" executables: [ { name: "Rscript" cmd: "rscript" homepa...
} } docker: { image: "unibeautify/rscript" } } ] options: { R: true } beautify: (text, language, options) -> rscript = @exe("rscript") r_beautifier = path.resolve(__dirname, "formatR.r") rscript.run([ r_beautifier, options.indent_size, @tempFile(...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/formatR/index.coffee
MIT
13601a38b3d0a044fb3c904c7a353c138d89793d
1,503
https://github.com/Glavin001/atom-beautify/blob/13601a38b3d0a044fb3c904c7a353c138d89793d/src/beautifiers/formatR/index.coffee
1
43
Glavin001/atom-beautify:src/beautifiers/formatR/index.coffee:1:raw_corpus
raw_corpus
### Requires [formatR](https://github.com/yihui/formatR) ### path = require("path") "use strict" Beautifier = require('../beautifier') module.exports = class R extends Beautifier name: "formatR" link: "https://github.com/yihui/formatR" executables: [ { name: "Rscript" cmd: "Rscript" homepa...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/formatR/index.coffee
MIT
4203fb72da2c71a9c3c3e0d7af50e38ae7139580
1,503
https://github.com/Glavin001/atom-beautify/blob/4203fb72da2c71a9c3c3e0d7af50e38ae7139580/src/beautifiers/formatR/index.coffee
1
43
Glavin001/atom-beautify:src/beautifiers/formatR/index.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript ### Requires [formatR](https://github.com/yihui/formatR) ### path = require("path") "use strict" Beautifier = require('../beautifier') module.exports = class R extends Beautifier name: "formatR" link: "https://github.com/yihui/formatR" executables: [ ...
/* Requires [formatR](https://github.com/yihui/formatR) */ var Beautifier, R, path; path = require("path"); "use strict"; Beautifier = require('../beautifier'); module.exports = R = (function() { class R extends Beautifier { beautify(text, language, options) { var rScript, r_beautifier; rScript = ...
CoffeeScript
JavaScript
Glavin001/atom-beautify
src/beautifiers/formatR/index.coffee
MIT
4203fb72da2c71a9c3c3e0d7af50e38ae7139580
1,503
https://github.com/Glavin001/atom-beautify/blob/4203fb72da2c71a9c3c3e0d7af50e38ae7139580/src/beautifiers/formatR/index.coffee
1
43
Glavin001/atom-beautify:src/beautifiers/formatR/index.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript /* Requires [formatR](https://github.com/yihui/formatR) */ var Beautifier, R, path; path = require("path"); "use strict"; Beautifier = require('../beautifier'); module.exports = R = (function() { class R extends Beautifier { beautify(text, language, optio...
### Requires [formatR](https://github.com/yihui/formatR) ### path = require("path") "use strict" Beautifier = require('../beautifier') module.exports = class R extends Beautifier name: "formatR" link: "https://github.com/yihui/formatR" executables: [ { name: "Rscript" cmd: "Rscript" homepa...
JavaScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/formatR/index.coffee
MIT
4203fb72da2c71a9c3c3e0d7af50e38ae7139580
1,503
https://github.com/Glavin001/atom-beautify/blob/4203fb72da2c71a9c3c3e0d7af50e38ae7139580/src/beautifiers/formatR/index.coffee
1
43
Glavin001/atom-beautify:src/beautifiers/formatR/index.coffee:1:completion
completion
### Requires [formatR](https://github.com/yihui/formatR) ### path = require("path") "use strict" Beautifier = require('../beautifier') module.exports = class R extends Beautifier name: "formatR" link: "https://github.com/yihui/formatR" executables: [ { name: "Rscript" cmd: "Rscript" homepa...
} } docker: { image: "unibeautify/rscript" } } ] options: { R: true } beautify: (text, language, options) -> rScript = @exe("Rscript") r_beautifier = path.resolve(__dirname, "formatR.r") rScript.run([ r_beautifier, options.indent_size, @tempFile(...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/formatR/index.coffee
MIT
4203fb72da2c71a9c3c3e0d7af50e38ae7139580
1,503
https://github.com/Glavin001/atom-beautify/blob/4203fb72da2c71a9c3c3e0d7af50e38ae7139580/src/beautifiers/formatR/index.coffee
1
43
Glavin001/atom-beautify:src/beautifiers/formatR/index.coffee:1:raw_corpus
raw_corpus
### Requires [formatR](https://github.com/yihui/formatR) ### path = require("path") "use strict" Beautifier = require('../beautifier') module.exports = class R extends Beautifier name: "formatR" link: "https://github.com/yihui/formatR" executables: [ { name: "Rscript" cmd: "Rscript" homepa...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/formatR/index.coffee
MIT
bee7b2573a5cdf4fdf2c93f76533d00a13336f42
1,503
https://github.com/Glavin001/atom-beautify/blob/bee7b2573a5cdf4fdf2c93f76533d00a13336f42/src/beautifiers/formatR/index.coffee
1
40
Glavin001/atom-beautify:src/beautifiers/formatR/index.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript ### Requires [formatR](https://github.com/yihui/formatR) ### path = require("path") "use strict" Beautifier = require('../beautifier') module.exports = class R extends Beautifier name: "formatR" link: "https://github.com/yihui/formatR" executables: [ ...
/* Requires [formatR](https://github.com/yihui/formatR) */ var Beautifier, R, path; path = require("path"); "use strict"; Beautifier = require('../beautifier'); module.exports = R = (function() { class R extends Beautifier { beautify(text, language, options) { var rScript, r_beautifier; rScript = ...
CoffeeScript
JavaScript
Glavin001/atom-beautify
src/beautifiers/formatR/index.coffee
MIT
bee7b2573a5cdf4fdf2c93f76533d00a13336f42
1,503
https://github.com/Glavin001/atom-beautify/blob/bee7b2573a5cdf4fdf2c93f76533d00a13336f42/src/beautifiers/formatR/index.coffee
1
40
Glavin001/atom-beautify:src/beautifiers/formatR/index.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript /* Requires [formatR](https://github.com/yihui/formatR) */ var Beautifier, R, path; path = require("path"); "use strict"; Beautifier = require('../beautifier'); module.exports = R = (function() { class R extends Beautifier { beautify(text, language, optio...
### Requires [formatR](https://github.com/yihui/formatR) ### path = require("path") "use strict" Beautifier = require('../beautifier') module.exports = class R extends Beautifier name: "formatR" link: "https://github.com/yihui/formatR" executables: [ { name: "Rscript" cmd: "Rscript" homepa...
JavaScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/formatR/index.coffee
MIT
bee7b2573a5cdf4fdf2c93f76533d00a13336f42
1,503
https://github.com/Glavin001/atom-beautify/blob/bee7b2573a5cdf4fdf2c93f76533d00a13336f42/src/beautifiers/formatR/index.coffee
1
40
Glavin001/atom-beautify:src/beautifiers/formatR/index.coffee:1:completion
completion
### Requires [formatR](https://github.com/yihui/formatR) ### path = require("path") "use strict" Beautifier = require('../beautifier') module.exports = class R extends Beautifier name: "formatR" link: "https://github.com/yihui/formatR" executables: [ { name: "Rscript" cmd: "Rscript" homepa...
returnStderr: true } } } ] options: { R: true } beautify: (text, language, options) -> rScript = @exe("Rscript") r_beautifier = path.resolve(__dirname, "formatR.r") rScript.run([ r_beautifier, options.indent_size, @tempFile("input", text), '>', @...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/formatR/index.coffee
MIT
bee7b2573a5cdf4fdf2c93f76533d00a13336f42
1,503
https://github.com/Glavin001/atom-beautify/blob/bee7b2573a5cdf4fdf2c93f76533d00a13336f42/src/beautifiers/formatR/index.coffee
1
40
Glavin001/atom-beautify:src/beautifiers/formatR/index.coffee:1:raw_corpus
raw_corpus
### Requires [formatR](https://github.com/yihui/formatR) ### path = require("path") "use strict" Beautifier = require('../beautifier') module.exports = class R extends Beautifier name: "formatR" link: "https://github.com/yihui/formatR" executables: [ { name: "Rscript" cmd: "Rscript" homepa...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/formatR/index.coffee
MIT
01df888aae57d306202522a2e03eb6ebcb871ba8
1,503
https://github.com/Glavin001/atom-beautify/blob/01df888aae57d306202522a2e03eb6ebcb871ba8/src/beautifiers/formatR/index.coffee
1
43
Glavin001/atom-beautify:src/beautifiers/formatR/index.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript ### Requires [formatR](https://github.com/yihui/formatR) ### path = require("path") "use strict" Beautifier = require('../beautifier') module.exports = class R extends Beautifier name: "formatR" link: "https://github.com/yihui/formatR" executables: [ ...
/* Requires [formatR](https://github.com/yihui/formatR) */ var Beautifier, R, path; path = require("path"); "use strict"; Beautifier = require('../beautifier'); module.exports = R = (function() { class R extends Beautifier { beautify(text, language, options) { var rScript, r_beautifier; rScript = ...
CoffeeScript
JavaScript
Glavin001/atom-beautify
src/beautifiers/formatR/index.coffee
MIT
01df888aae57d306202522a2e03eb6ebcb871ba8
1,503
https://github.com/Glavin001/atom-beautify/blob/01df888aae57d306202522a2e03eb6ebcb871ba8/src/beautifiers/formatR/index.coffee
1
43
Glavin001/atom-beautify:src/beautifiers/formatR/index.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript /* Requires [formatR](https://github.com/yihui/formatR) */ var Beautifier, R, path; path = require("path"); "use strict"; Beautifier = require('../beautifier'); module.exports = R = (function() { class R extends Beautifier { beautify(text, language, optio...
### Requires [formatR](https://github.com/yihui/formatR) ### path = require("path") "use strict" Beautifier = require('../beautifier') module.exports = class R extends Beautifier name: "formatR" link: "https://github.com/yihui/formatR" executables: [ { name: "Rscript" cmd: "Rscript" homepa...
JavaScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/formatR/index.coffee
MIT
01df888aae57d306202522a2e03eb6ebcb871ba8
1,503
https://github.com/Glavin001/atom-beautify/blob/01df888aae57d306202522a2e03eb6ebcb871ba8/src/beautifiers/formatR/index.coffee
1
43
Glavin001/atom-beautify:src/beautifiers/formatR/index.coffee:1:completion
completion
### Requires [formatR](https://github.com/yihui/formatR) ### path = require("path") "use strict" Beautifier = require('../beautifier') module.exports = class R extends Beautifier name: "formatR" link: "https://github.com/yihui/formatR" executables: [ { name: "Rscript" cmd: "Rscript" homepa...
text.match(r)[1] runOptions: { returnStderr: true } } } ] options: { R: true } beautify: (text, language, options) -> rScript = @exe("Rscript") r_beautifier = path.resolve(__dirname, "formatR.r") rScript.run([ r_beautifier, options.indent_size, ...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/formatR/index.coffee
MIT
01df888aae57d306202522a2e03eb6ebcb871ba8
1,503
https://github.com/Glavin001/atom-beautify/blob/01df888aae57d306202522a2e03eb6ebcb871ba8/src/beautifiers/formatR/index.coffee
1
43
Glavin001/atom-beautify:src/beautifiers/formatR/index.coffee:1:raw_corpus
raw_corpus
### Requires [formatR](https://github.com/yihui/formatR) ### path = require("path") "use strict" Beautifier = require('../beautifier') module.exports = class R extends Beautifier name: "formatR" link: "https://github.com/yihui/formatR" isPreInstalled: false options: { R: true } beautify: (text, lang...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/formatR/index.coffee
MIT
ba2198675cbcc1ecd05f18e28e97133cdd2d5319
1,503
https://github.com/Glavin001/atom-beautify/blob/ba2198675cbcc1ecd05f18e28e97133cdd2d5319/src/beautifiers/formatR/index.coffee
1
26
Glavin001/atom-beautify:src/beautifiers/formatR/index.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript ### Requires [formatR](https://github.com/yihui/formatR) ### path = require("path") "use strict" Beautifier = require('../beautifier') module.exports = class R extends Beautifier name: "formatR" link: "https://github.com/yihui/formatR" isPreInstalled: fal...
/* Requires [formatR](https://github.com/yihui/formatR) */ var Beautifier, R, path; path = require("path"); "use strict"; Beautifier = require('../beautifier'); module.exports = R = (function() { class R extends Beautifier { beautify(text, language, options) { var r_beautifier; r_beautifier = path...
CoffeeScript
JavaScript
Glavin001/atom-beautify
src/beautifiers/formatR/index.coffee
MIT
ba2198675cbcc1ecd05f18e28e97133cdd2d5319
1,503
https://github.com/Glavin001/atom-beautify/blob/ba2198675cbcc1ecd05f18e28e97133cdd2d5319/src/beautifiers/formatR/index.coffee
1
26
Glavin001/atom-beautify:src/beautifiers/formatR/index.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript /* Requires [formatR](https://github.com/yihui/formatR) */ var Beautifier, R, path; path = require("path"); "use strict"; Beautifier = require('../beautifier'); module.exports = R = (function() { class R extends Beautifier { beautify(text, language, optio...
### Requires [formatR](https://github.com/yihui/formatR) ### path = require("path") "use strict" Beautifier = require('../beautifier') module.exports = class R extends Beautifier name: "formatR" link: "https://github.com/yihui/formatR" isPreInstalled: false options: { R: true } beautify: (text, lang...
JavaScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/formatR/index.coffee
MIT
ba2198675cbcc1ecd05f18e28e97133cdd2d5319
1,503
https://github.com/Glavin001/atom-beautify/blob/ba2198675cbcc1ecd05f18e28e97133cdd2d5319/src/beautifiers/formatR/index.coffee
1
26
Glavin001/atom-beautify:src/beautifiers/formatR/index.coffee:1:completion
completion
### Requires [formatR](https://github.com/yihui/formatR) ### path = require("path") "use strict" Beautifier = require('../beautifier') module.exports = class R extends Beautifier name: "formatR" link: "https://github.com/yihui/formatR" isPreInstalled: false
options: { R: true } beautify: (text, language, options) -> r_beautifier = path.resolve(__dirname, "formatR.r") @run("Rscript", [ r_beautifier, options.indent_size, @tempFile("input", text), '>', @tempFile("input", text) ])
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/formatR/index.coffee
MIT
ba2198675cbcc1ecd05f18e28e97133cdd2d5319
1,503
https://github.com/Glavin001/atom-beautify/blob/ba2198675cbcc1ecd05f18e28e97133cdd2d5319/src/beautifiers/formatR/index.coffee
1
26
Glavin001/atom-beautify:src/beautifiers/formatR/index.coffee:1:raw_corpus
raw_corpus
### Requires [formatR](https://github.com/yihui/formatR) ### path = require("path") "use strict" Beautifier = require('../beautifier') module.exports = class R extends Beautifier name: "formatR" link: "https://github.com/yihui/formatR" options: { R: true } beautify: (text, language, options) -> r_...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/formatR/index.coffee
MIT
f748204e55b7e2c89411b82656369facdce2cda1
1,503
https://github.com/Glavin001/atom-beautify/blob/f748204e55b7e2c89411b82656369facdce2cda1/src/beautifiers/formatR/index.coffee
1
25
Glavin001/atom-beautify:src/beautifiers/formatR/index.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript ### Requires [formatR](https://github.com/yihui/formatR) ### path = require("path") "use strict" Beautifier = require('../beautifier') module.exports = class R extends Beautifier name: "formatR" link: "https://github.com/yihui/formatR" options: { R: ...
/* Requires [formatR](https://github.com/yihui/formatR) */ var Beautifier, R, path; path = require("path"); "use strict"; Beautifier = require('../beautifier'); module.exports = R = (function() { class R extends Beautifier { beautify(text, language, options) { var r_beautifier; r_beautifier = path...
CoffeeScript
JavaScript
Glavin001/atom-beautify
src/beautifiers/formatR/index.coffee
MIT
f748204e55b7e2c89411b82656369facdce2cda1
1,503
https://github.com/Glavin001/atom-beautify/blob/f748204e55b7e2c89411b82656369facdce2cda1/src/beautifiers/formatR/index.coffee
1
25
Glavin001/atom-beautify:src/beautifiers/formatR/index.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript /* Requires [formatR](https://github.com/yihui/formatR) */ var Beautifier, R, path; path = require("path"); "use strict"; Beautifier = require('../beautifier'); module.exports = R = (function() { class R extends Beautifier { beautify(text, language, optio...
### Requires [formatR](https://github.com/yihui/formatR) ### path = require("path") "use strict" Beautifier = require('../beautifier') module.exports = class R extends Beautifier name: "formatR" link: "https://github.com/yihui/formatR" options: { R: true } beautify: (text, language, options) -> r_...
JavaScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/formatR/index.coffee
MIT
f748204e55b7e2c89411b82656369facdce2cda1
1,503
https://github.com/Glavin001/atom-beautify/blob/f748204e55b7e2c89411b82656369facdce2cda1/src/beautifiers/formatR/index.coffee
1
25
Glavin001/atom-beautify:src/beautifiers/formatR/index.coffee:1:completion
completion
### Requires [formatR](https://github.com/yihui/formatR) ### path = require("path") "use strict" Beautifier = require('../beautifier') module.exports = class R extends Beautifier name: "formatR" link: "https://github.com/yihui/formatR"
options: { R: true } beautify: (text, language, options) -> r_beautifier = path.resolve(__dirname, "formatR.r") @run("Rscript", [ r_beautifier, options.indent_size, @tempFile("input", text), '>', @tempFile("input", text) ])
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/formatR/index.coffee
MIT
f748204e55b7e2c89411b82656369facdce2cda1
1,503
https://github.com/Glavin001/atom-beautify/blob/f748204e55b7e2c89411b82656369facdce2cda1/src/beautifiers/formatR/index.coffee
1
25
Glavin001/atom-beautify:src/beautifiers/formatR/index.coffee:1:raw_corpus
raw_corpus
### Requires [formatR](https://github.com/yihui/formatR) ### path = require("path") "use strict" Beautifier = require('../beautifier') module.exports = class R extends Beautifier name: "R beautifier" link: "https://github.com/yihui/formatR" options: { R: true } beautify: (text, language, options) -> ...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/formatR/index.coffee
MIT
9d31e3bb6d8246d2d766fecbf6054bcd86c29a24
1,503
https://github.com/Glavin001/atom-beautify/blob/9d31e3bb6d8246d2d766fecbf6054bcd86c29a24/src/beautifiers/formatR/index.coffee
1
25
Glavin001/atom-beautify:src/beautifiers/formatR/index.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript ### Requires [formatR](https://github.com/yihui/formatR) ### path = require("path") "use strict" Beautifier = require('../beautifier') module.exports = class R extends Beautifier name: "R beautifier" link: "https://github.com/yihui/formatR" options: { ...
/* Requires [formatR](https://github.com/yihui/formatR) */ var Beautifier, R, path; path = require("path"); "use strict"; Beautifier = require('../beautifier'); module.exports = R = (function() { class R extends Beautifier { beautify(text, language, options) { var r_beautifier; r_beautifier = path...
CoffeeScript
JavaScript
Glavin001/atom-beautify
src/beautifiers/formatR/index.coffee
MIT
9d31e3bb6d8246d2d766fecbf6054bcd86c29a24
1,503
https://github.com/Glavin001/atom-beautify/blob/9d31e3bb6d8246d2d766fecbf6054bcd86c29a24/src/beautifiers/formatR/index.coffee
1
25
Glavin001/atom-beautify:src/beautifiers/formatR/index.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript /* Requires [formatR](https://github.com/yihui/formatR) */ var Beautifier, R, path; path = require("path"); "use strict"; Beautifier = require('../beautifier'); module.exports = R = (function() { class R extends Beautifier { beautify(text, language, optio...
### Requires [formatR](https://github.com/yihui/formatR) ### path = require("path") "use strict" Beautifier = require('../beautifier') module.exports = class R extends Beautifier name: "R beautifier" link: "https://github.com/yihui/formatR" options: { R: true } beautify: (text, language, options) -> ...
JavaScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/formatR/index.coffee
MIT
9d31e3bb6d8246d2d766fecbf6054bcd86c29a24
1,503
https://github.com/Glavin001/atom-beautify/blob/9d31e3bb6d8246d2d766fecbf6054bcd86c29a24/src/beautifiers/formatR/index.coffee
1
25
Glavin001/atom-beautify:src/beautifiers/formatR/index.coffee:1:completion
completion
### Requires [formatR](https://github.com/yihui/formatR) ### path = require("path") "use strict" Beautifier = require('../beautifier') module.exports = class R extends Beautifier name: "R beautifier" link: "https://github.com/yihui/formatR"
options: { R: true } beautify: (text, language, options) -> r_beautifier = path.resolve(__dirname, "r-beautifier.r") @run("Rscript", [ r_beautifier, options.indent_size, @tempFile("input", text), '>', @tempFile("input", text) ])
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/formatR/index.coffee
MIT
9d31e3bb6d8246d2d766fecbf6054bcd86c29a24
1,503
https://github.com/Glavin001/atom-beautify/blob/9d31e3bb6d8246d2d766fecbf6054bcd86c29a24/src/beautifiers/formatR/index.coffee
1
25
kelp404/angular-form-builder:test/specs/providerSpec.coffee:1:raw_corpus
raw_corpus
describe 'builder.provider', -> fakeModule = null builderProvider = null beforeEach module('builder') beforeEach -> fakeModule = angular.module 'fakeModule', ['builder'] fakeModule.config ($builderProvider) -> builderProvider = $builderProvider beforeEach module('fakeMod...
CoffeeScript
kelp404/angular-form-builder
test/specs/providerSpec.coffee
MIT
07a9fc3ef75f300f10fab4d66d7cbdc627fbef4d
600
https://github.com/kelp404/angular-form-builder/blob/07a9fc3ef75f300f10fab4d66d7cbdc627fbef4d/test/specs/providerSpec.coffee
1
44
kelp404/angular-form-builder:test/specs/providerSpec.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript describe 'builder.provider', -> fakeModule = null builderProvider = null beforeEach module('builder') beforeEach -> fakeModule = angular.module 'fakeModule', ['builder'] fakeModule.config ($builderProvider) -> builderP...
describe('builder.provider', function() { var builderProvider, fakeModule; fakeModule = null; builderProvider = null; beforeEach(module('builder')); beforeEach(function() { fakeModule = angular.module('fakeModule', ['builder']); return fakeModule.config(function($builderProvider) { return builde...
CoffeeScript
JavaScript
kelp404/angular-form-builder
test/specs/providerSpec.coffee
MIT
07a9fc3ef75f300f10fab4d66d7cbdc627fbef4d
600
https://github.com/kelp404/angular-form-builder/blob/07a9fc3ef75f300f10fab4d66d7cbdc627fbef4d/test/specs/providerSpec.coffee
1
44
kelp404/angular-form-builder:test/specs/providerSpec.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript describe('builder.provider', function() { var builderProvider, fakeModule; fakeModule = null; builderProvider = null; beforeEach(module('builder')); beforeEach(function() { fakeModule = angular.module('fakeModule', ['builder']); return fakeModule....
describe 'builder.provider', -> fakeModule = null builderProvider = null beforeEach module('builder') beforeEach -> fakeModule = angular.module 'fakeModule', ['builder'] fakeModule.config ($builderProvider) -> builderProvider = $builderProvider beforeEach module('fakeMod...
JavaScript
CoffeeScript
kelp404/angular-form-builder
test/specs/providerSpec.coffee
MIT
07a9fc3ef75f300f10fab4d66d7cbdc627fbef4d
600
https://github.com/kelp404/angular-form-builder/blob/07a9fc3ef75f300f10fab4d66d7cbdc627fbef4d/test/specs/providerSpec.coffee
1
44
kelp404/angular-form-builder:test/specs/providerSpec.coffee:1:completion
completion
describe 'builder.provider', -> fakeModule = null builderProvider = null beforeEach module('builder') beforeEach -> fakeModule = angular.module 'fakeModule', ['builder'] fakeModule.config ($builderProvider) -> builderProvider = $builderProvider beforeEach module('fakeMod...
expect([]).toEqual $builder.groups it 'check $builder.groups will be updated after registerComponent()', inject ($builder) -> $builder.registerComponent 'textInput', group: 'Default' label: 'Text Input' description: 'description' place...
CoffeeScript
CoffeeScript
kelp404/angular-form-builder
test/specs/providerSpec.coffee
MIT
07a9fc3ef75f300f10fab4d66d7cbdc627fbef4d
600
https://github.com/kelp404/angular-form-builder/blob/07a9fc3ef75f300f10fab4d66d7cbdc627fbef4d/test/specs/providerSpec.coffee
1
44
kelp404/angular-form-builder:test/specs/providerSpec.coffee:2:raw_corpus
raw_corpus
$builder.registerComponent 'textAreaGroupA', group: 'GroupA' label: 'Text Area' description: 'description' placeholder: 'placeholder' required: no template: "<div class='form-group'></div>" popoverTemplate: "...
CoffeeScript
kelp404/angular-form-builder
test/specs/providerSpec.coffee
MIT
07a9fc3ef75f300f10fab4d66d7cbdc627fbef4d
600
https://github.com/kelp404/angular-form-builder/blob/07a9fc3ef75f300f10fab4d66d7cbdc627fbef4d/test/specs/providerSpec.coffee
46
84
kelp404/angular-form-builder:test/specs/providerSpec.coffee:2:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript $builder.registerComponent 'textAreaGroupA', group: 'GroupA' label: 'Text Area' description: 'description' placeholder: 'placeholder' required: no template: "<div clas...
$builder.registerComponent('textAreaGroupA', { group: 'GroupA', label: 'Text Area', description: 'description', placeholder: 'placeholder', required: false, template: "<div class='form-group'></div>", popoverTemplate: "<div class='form-group'></div>" }); expect(['Default', 'GroupA']).toEqual($builder.gro...
CoffeeScript
JavaScript
kelp404/angular-form-builder
test/specs/providerSpec.coffee
MIT
07a9fc3ef75f300f10fab4d66d7cbdc627fbef4d
600
https://github.com/kelp404/angular-form-builder/blob/07a9fc3ef75f300f10fab4d66d7cbdc627fbef4d/test/specs/providerSpec.coffee
46
84
kelp404/angular-form-builder:test/specs/providerSpec.coffee:2:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript $builder.registerComponent('textAreaGroupA', { group: 'GroupA', label: 'Text Area', description: 'description', placeholder: 'placeholder', required: false, template: "<div class='form-group'></div>", popoverTemplate: "<div class='form-group'></div>" ...
$builder.registerComponent 'textAreaGroupA', group: 'GroupA' label: 'Text Area' description: 'description' placeholder: 'placeholder' required: no template: "<div class='form-group'></div>" popoverTemplate: "...
JavaScript
CoffeeScript
kelp404/angular-form-builder
test/specs/providerSpec.coffee
MIT
07a9fc3ef75f300f10fab4d66d7cbdc627fbef4d
600
https://github.com/kelp404/angular-form-builder/blob/07a9fc3ef75f300f10fab4d66d7cbdc627fbef4d/test/specs/providerSpec.coffee
46
84
kelp404/angular-form-builder:test/specs/providerSpec.coffee:2:completion
completion
$builder.registerComponent 'textAreaGroupA', group: 'GroupA' label: 'Text Area' description: 'description' placeholder: 'placeholder' required: no template: "<div class='form-group'></div>" popoverTemplate: "...
it 'check $builder.forms', inject ($builder) -> expect default: [] .toEqual $builder.forms describe '$builderProvider.formsId', -> it 'check $builderProvider.formsId', -> expect default: 0 .toEqual builderProvider.formsId ...
CoffeeScript
CoffeeScript
kelp404/angular-form-builder
test/specs/providerSpec.coffee
MIT
07a9fc3ef75f300f10fab4d66d7cbdc627fbef4d
600
https://github.com/kelp404/angular-form-builder/blob/07a9fc3ef75f300f10fab4d66d7cbdc627fbef4d/test/specs/providerSpec.coffee
46
84
kelp404/angular-form-builder:test/specs/providerSpec.coffee:3:raw_corpus
raw_corpus
it 'check $builderProvider.convertComponent() argument without popoverTemplate', -> spyOn(console, 'error').andCallFake (msg) -> expect(msg).toEqual 'popoverTemplate is empty' builderProvider.convertComponent 'inputText', template: "<div class='form-group'></div>"...
CoffeeScript
kelp404/angular-form-builder
test/specs/providerSpec.coffee
MIT
07a9fc3ef75f300f10fab4d66d7cbdc627fbef4d
600
https://github.com/kelp404/angular-form-builder/blob/07a9fc3ef75f300f10fab4d66d7cbdc627fbef4d/test/specs/providerSpec.coffee
86
135
kelp404/angular-form-builder:test/specs/providerSpec.coffee:3:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript it 'check $builderProvider.convertComponent() argument without popoverTemplate', -> spyOn(console, 'error').andCallFake (msg) -> expect(msg).toEqual 'popoverTemplate is empty' builderProvider.convertComponent 'inputText', ...
it('check $builderProvider.convertComponent() argument without popoverTemplate', function() { spyOn(console, 'error').andCallFake(function(msg) { return expect(msg).toEqual('popoverTemplate is empty'); }); builderProvider.convertComponent('inputText', { template: "<div class='form-group'></div>" }); r...
CoffeeScript
JavaScript
kelp404/angular-form-builder
test/specs/providerSpec.coffee
MIT
07a9fc3ef75f300f10fab4d66d7cbdc627fbef4d
600
https://github.com/kelp404/angular-form-builder/blob/07a9fc3ef75f300f10fab4d66d7cbdc627fbef4d/test/specs/providerSpec.coffee
86
135
kelp404/angular-form-builder:test/specs/providerSpec.coffee:3:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript it('check $builderProvider.convertComponent() argument without popoverTemplate', function() { spyOn(console, 'error').andCallFake(function(msg) { return expect(msg).toEqual('popoverTemplate is empty'); }); builderProvider.convertComponent('inputText', { ...
it 'check $builderProvider.convertComponent() argument without popoverTemplate', -> spyOn(console, 'error').andCallFake (msg) -> expect(msg).toEqual 'popoverTemplate is empty' builderProvider.convertComponent 'inputText', template: "<div class='form-group'></div>"...
JavaScript
CoffeeScript
kelp404/angular-form-builder
test/specs/providerSpec.coffee
MIT
07a9fc3ef75f300f10fab4d66d7cbdc627fbef4d
600
https://github.com/kelp404/angular-form-builder/blob/07a9fc3ef75f300f10fab4d66d7cbdc627fbef4d/test/specs/providerSpec.coffee
86
135
kelp404/angular-form-builder:test/specs/providerSpec.coffee:3:completion
completion
it 'check $builderProvider.convertComponent() argument without popoverTemplate', -> spyOn(console, 'error').andCallFake (msg) -> expect(msg).toEqual 'popoverTemplate is empty' builderProvider.convertComponent 'inputText', template: "<div class='form-group'></div>"...
.toEqual component it 'check $builderProvider.convertComponent()', -> component = builderProvider.convertComponent 'inputText', group: 'GroupA' label: 'Input Text' description: 'description' placeholder: 'placeholder' e...
CoffeeScript
CoffeeScript
kelp404/angular-form-builder
test/specs/providerSpec.coffee
MIT
07a9fc3ef75f300f10fab4d66d7cbdc627fbef4d
600
https://github.com/kelp404/angular-form-builder/blob/07a9fc3ef75f300f10fab4d66d7cbdc627fbef4d/test/specs/providerSpec.coffee
86
135
kelp404/angular-form-builder:test/specs/providerSpec.coffee:1:raw_corpus
raw_corpus
describe 'builder.provider', -> fakeModule = null builderProvider = null beforeEach module('builder') beforeEach -> fakeModule = angular.module 'fakeModule', ['builder'] fakeModule.config ($builderProvider) -> builderProvider = $builderProvider beforeEach module('fakeMod...
CoffeeScript
kelp404/angular-form-builder
test/specs/providerSpec.coffee
MIT
3a1dd7a01867e4514894aa6c4a0ad8f1c72426d6
600
https://github.com/kelp404/angular-form-builder/blob/3a1dd7a01867e4514894aa6c4a0ad8f1c72426d6/test/specs/providerSpec.coffee
1
15
kelp404/angular-form-builder:test/specs/providerSpec.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript describe 'builder.provider', -> fakeModule = null builderProvider = null beforeEach module('builder') beforeEach -> fakeModule = angular.module 'fakeModule', ['builder'] fakeModule.config ($builderProvider) -> builderP...
describe('builder.provider', function() { var builderProvider, fakeModule; fakeModule = null; builderProvider = null; beforeEach(module('builder')); beforeEach(function() { fakeModule = angular.module('fakeModule', ['builder']); return fakeModule.config(function($builderProvider) { return builde...
CoffeeScript
JavaScript
kelp404/angular-form-builder
test/specs/providerSpec.coffee
MIT
3a1dd7a01867e4514894aa6c4a0ad8f1c72426d6
600
https://github.com/kelp404/angular-form-builder/blob/3a1dd7a01867e4514894aa6c4a0ad8f1c72426d6/test/specs/providerSpec.coffee
1
15
kelp404/angular-form-builder:test/specs/providerSpec.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript describe('builder.provider', function() { var builderProvider, fakeModule; fakeModule = null; builderProvider = null; beforeEach(module('builder')); beforeEach(function() { fakeModule = angular.module('fakeModule', ['builder']); return fakeModule....
describe 'builder.provider', -> fakeModule = null builderProvider = null beforeEach module('builder') beforeEach -> fakeModule = angular.module 'fakeModule', ['builder'] fakeModule.config ($builderProvider) -> builderProvider = $builderProvider beforeEach module('fakeMod...
JavaScript
CoffeeScript
kelp404/angular-form-builder
test/specs/providerSpec.coffee
MIT
3a1dd7a01867e4514894aa6c4a0ad8f1c72426d6
600
https://github.com/kelp404/angular-form-builder/blob/3a1dd7a01867e4514894aa6c4a0ad8f1c72426d6/test/specs/providerSpec.coffee
1
15
kelp404/angular-form-builder:test/specs/providerSpec.coffee:1:completion
completion
describe 'builder.provider', -> fakeModule = null builderProvider = null beforeEach module('builder') beforeEach -> fakeModule = angular.module 'fakeModule', ['builder']
fakeModule.config ($builderProvider) -> builderProvider = $builderProvider beforeEach module('fakeModule') describe '$builder.components', -> it 'check $builder.components is empty', inject ($builder) -> expect(0).toBe Object.keys($builder.components).length
CoffeeScript
CoffeeScript
kelp404/angular-form-builder
test/specs/providerSpec.coffee
MIT
3a1dd7a01867e4514894aa6c4a0ad8f1c72426d6
600
https://github.com/kelp404/angular-form-builder/blob/3a1dd7a01867e4514894aa6c4a0ad8f1c72426d6/test/specs/providerSpec.coffee
1
15
lmaccherone/node-localstorage:testES6/es6Test.coffee:1:raw_corpus
raw_corpus
{LocalStorage} = require('../') tape = require('tape') tape('array and dot notation', (test) => # TODO: These tests are inadequate in that it will pass even when there is no Proxy object. Need to check for file existence. localStorage = new LocalStorage('./scratch9') localStorage['a'] = 'something' test.equal(...
CoffeeScript
lmaccherone/node-localstorage
testES6/es6Test.coffee
MIT
5c4b3306014091cd9071f63f4a845b6ebf84fffc
460
https://github.com/lmaccherone/node-localstorage/blob/5c4b3306014091cd9071f63f4a845b6ebf84fffc/testES6/es6Test.coffee
1
18
lmaccherone/node-localstorage:testES6/es6Test.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript {LocalStorage} = require('../') tape = require('tape') tape('array and dot notation', (test) => # TODO: These tests are inadequate in that it will pass even when there is no Proxy object. Need to check for file existence. localStorage = new LocalStorage('./sc...
var LocalStorage, tape; ({LocalStorage} = require('../')); tape = require('tape'); tape('array and dot notation', (test) => { // TODO: These tests are inadequate in that it will pass even when there is no Proxy object. Need to check for file existence. var localStorage; localStorage = new LocalStorage('./scratch...
CoffeeScript
JavaScript
lmaccherone/node-localstorage
testES6/es6Test.coffee
MIT
5c4b3306014091cd9071f63f4a845b6ebf84fffc
460
https://github.com/lmaccherone/node-localstorage/blob/5c4b3306014091cd9071f63f4a845b6ebf84fffc/testES6/es6Test.coffee
1
18
lmaccherone/node-localstorage:testES6/es6Test.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript var LocalStorage, tape; ({LocalStorage} = require('../')); tape = require('tape'); tape('array and dot notation', (test) => { // TODO: These tests are inadequate in that it will pass even when there is no Proxy object. Need to check for file existence. var loc...
{LocalStorage} = require('../') tape = require('tape') tape('array and dot notation', (test) => # TODO: These tests are inadequate in that it will pass even when there is no Proxy object. Need to check for file existence. localStorage = new LocalStorage('./scratch9') localStorage['a'] = 'something' test.equal(...
JavaScript
CoffeeScript
lmaccherone/node-localstorage
testES6/es6Test.coffee
MIT
5c4b3306014091cd9071f63f4a845b6ebf84fffc
460
https://github.com/lmaccherone/node-localstorage/blob/5c4b3306014091cd9071f63f4a845b6ebf84fffc/testES6/es6Test.coffee
1
18