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
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript var PHPCSFixer; module.exports = PHPCSFixer = (function() { class PHPCSFixer extends Beautifier { beautify(text, language, options, context) { var configFiles, php, phpCsFixer; this.debug('php-cs-fixer', options); php = this.exe('php'); ...
module.exports = class PHPCSFixer extends Beautifier name: 'PHP-CS-Fixer' link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" executables: [ { name: "PHP" cmd: "php" homepage: "http://php.net/" installation: "http://php.net/manual/en/install.php" version: { parse: (text...
JavaScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
baca098a91c33e1bbc39fe7f78c27db2c36ba3b3
1,503
https://github.com/Glavin001/atom-beautify/blob/baca098a91c33e1bbc39fe7f78c27db2c36ba3b3/src/beautifiers/php-cs-fixer.coffee
9
58
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:1:completion
completion
module.exports = class PHPCSFixer extends Beautifier name: 'PHP-CS-Fixer' link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" executables: [ { name: "PHP" cmd: "php" homepage: "http://php.net/" installation: "http://php.net/manual/en/install.php" version: { parse: (text...
} } ] options: PHP: rules: true cs_fixer_path: true cs_fixer_version: true cs_fixer_config_file: true allow_risky: true level: true fixers: true beautify: (text, language, options, context) -> @debug('php-cs-fixer', options) php = @exe('php') phpCsFi...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
baca098a91c33e1bbc39fe7f78c27db2c36ba3b3
1,503
https://github.com/Glavin001/atom-beautify/blob/baca098a91c33e1bbc39fe7f78c27db2c36ba3b3/src/beautifiers/php-cs-fixer.coffee
9
58
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:2:raw_corpus
raw_corpus
if not options.cs_fixer_config_file options.cs_fixer_config_file = @findFile(atom.project.getPaths()[0], configFiles) phpCsFixerOptions = [ "fix" "--rules=#{options.rules}" if options.rules "--config=#{options.cs_fixer_config_file}" if options.cs_fixer_config_file "--allow-risky=#{opt...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
baca098a91c33e1bbc39fe7f78c27db2c36ba3b3
1,503
https://github.com/Glavin001/atom-beautify/blob/baca098a91c33e1bbc39fe7f78c27db2c36ba3b3/src/beautifiers/php-cs-fixer.coffee
59
108
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:2:completion
completion
if not options.cs_fixer_config_file options.cs_fixer_config_file = @findFile(atom.project.getPaths()[0], configFiles) phpCsFixerOptions = [ "fix" "--rules=#{options.rules}" if options.rules "--config=#{options.cs_fixer_config_file}" if options.cs_fixer_config_file "--allow-risky=#{opt...
if options.cs_fixer_path @deprecate("The \"cs_fixer_path\" has been deprecated. Please switch to using the config with path \"Executables - PHP-CS-Fixer - Path\" in Atom-Beautify package settings now.") @Promise.all([ @which(options.cs_fixer_path) if options.cs_fixer_path @which('php-cs-fixer') ...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
baca098a91c33e1bbc39fe7f78c27db2c36ba3b3
1,503
https://github.com/Glavin001/atom-beautify/blob/baca098a91c33e1bbc39fe7f78c27db2c36ba3b3/src/beautifiers/php-cs-fixer.coffee
59
108
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:3:raw_corpus
raw_corpus
@run(phpCSFixerPath, [phpCsFixerOptions, tempFile], runOptions) .then(=> @readFile(tempFile) ) else @verbose('php-cs-fixer not found!') # Could not find PHP-CS-Fixer path @Promise.reject(@commandNotFoundError( 'php-cs-fixer' { ...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
baca098a91c33e1bbc39fe7f78c27db2c36ba3b3
1,503
https://github.com/Glavin001/atom-beautify/blob/baca098a91c33e1bbc39fe7f78c27db2c36ba3b3/src/beautifiers/php-cs-fixer.coffee
109
124
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:3:completion
completion
@run(phpCSFixerPath, [phpCsFixerOptions, tempFile], runOptions) .then(=> @readFile(tempFile) ) else @verbose('php-cs-fixer not found!') # Could not find PHP-CS-Fixer path @Promise.reject(@commandNotFoundError(
'php-cs-fixer' { link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" program: "php-cs-fixer.phar" pathOption: "PHP - CS Fixer Path" }) ) )
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
baca098a91c33e1bbc39fe7f78c27db2c36ba3b3
1,503
https://github.com/Glavin001/atom-beautify/blob/baca098a91c33e1bbc39fe7f78c27db2c36ba3b3/src/beautifiers/php-cs-fixer.coffee
109
124
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:1:raw_corpus
raw_corpus
module.exports = class PHPCSFixer extends Beautifier name: 'PHP-CS-Fixer' link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" executables: [ { name: "PHP" cmd: "php" homepage: "http://php.net/" installation: "http://php.net/manual/en/install.php" version: { parse: (text...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
bee7b2573a5cdf4fdf2c93f76533d00a13336f42
1,503
https://github.com/Glavin001/atom-beautify/blob/bee7b2573a5cdf4fdf2c93f76533d00a13336f42/src/beautifiers/php-cs-fixer.coffee
9
58
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:1:completion
completion
module.exports = class PHPCSFixer extends Beautifier name: 'PHP-CS-Fixer' link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" executables: [ { name: "PHP" cmd: "php" homepage: "http://php.net/" installation: "http://php.net/manual/en/install.php" version: { parse: (text...
options: PHP: rules: true cs_fixer_path: true cs_fixer_version: true cs_fixer_config_file: true allow_risky: true level: true fixers: true beautify: (text, language, options, context) -> @debug('php-cs-fixer', options) php = @exe('php') phpCsFixer = @exe('php...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
bee7b2573a5cdf4fdf2c93f76533d00a13336f42
1,503
https://github.com/Glavin001/atom-beautify/blob/bee7b2573a5cdf4fdf2c93f76533d00a13336f42/src/beautifiers/php-cs-fixer.coffee
9
58
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:2:raw_corpus
raw_corpus
"fix" "--rules=#{options.rules}" if options.rules "--config=#{options.cs_fixer_config_file}" if options.cs_fixer_config_file "--allow-risky=#{options.allow_risky}" if options.allow_risky "--using-cache=no" ] if phpCsFixer.isVersion('1.x') phpCsFixerOptions = [ "fix" ...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
bee7b2573a5cdf4fdf2c93f76533d00a13336f42
1,503
https://github.com/Glavin001/atom-beautify/blob/bee7b2573a5cdf4fdf2c93f76533d00a13336f42/src/beautifiers/php-cs-fixer.coffee
59
108
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:2:completion
completion
"fix" "--rules=#{options.rules}" if options.rules "--config=#{options.cs_fixer_config_file}" if options.cs_fixer_config_file "--allow-risky=#{options.allow_risky}" if options.allow_risky "--using-cache=no" ] if phpCsFixer.isVersion('1.x') phpCsFixerOptions = [ "fix" ...
@which(options.cs_fixer_path) if options.cs_fixer_path @which('php-cs-fixer') tempFile = @tempFile("temp", text, '.php') ]).then(([customPath, phpCsFixerPath]) => paths = [customPath, phpCsFixerPath] @debug('php-cs-fixer paths', paths) _ = require 'lodash' # Get first valid, abso...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
bee7b2573a5cdf4fdf2c93f76533d00a13336f42
1,503
https://github.com/Glavin001/atom-beautify/blob/bee7b2573a5cdf4fdf2c93f76533d00a13336f42/src/beautifiers/php-cs-fixer.coffee
59
108
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:3:raw_corpus
raw_corpus
else @verbose('php-cs-fixer not found!') # Could not find PHP-CS-Fixer path @Promise.reject(@commandNotFoundError( 'php-cs-fixer' { link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" program: "php-cs-fixer.phar" pathOption: "PHP - CS Fixe...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
bee7b2573a5cdf4fdf2c93f76533d00a13336f42
1,503
https://github.com/Glavin001/atom-beautify/blob/bee7b2573a5cdf4fdf2c93f76533d00a13336f42/src/beautifiers/php-cs-fixer.coffee
109
120
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:3:completion
completion
else @verbose('php-cs-fixer not found!') # Could not find PHP-CS-Fixer path @Promise.reject(@commandNotFoundError( 'php-cs-fixer' {
link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" program: "php-cs-fixer.phar" pathOption: "PHP - CS Fixer Path" }) ) )
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
bee7b2573a5cdf4fdf2c93f76533d00a13336f42
1,503
https://github.com/Glavin001/atom-beautify/blob/bee7b2573a5cdf4fdf2c93f76533d00a13336f42/src/beautifiers/php-cs-fixer.coffee
109
120
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:2:raw_corpus
raw_corpus
"fix" "--rules=#{options.rules}" if options.rules "--config=#{options.cs_fixer_config_file}" if options.cs_fixer_config_file "--allow-risky=#{options.allow_risky}" if options.allow_risky "--using-cache=no" ] if phpCsFixer.isVersion('1.x') phpCsFixerOptions = [ "fix" ...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
dca093cd418dce9fc8a02a7dc485eab641813b7d
1,503
https://github.com/Glavin001/atom-beautify/blob/dca093cd418dce9fc8a02a7dc485eab641813b7d/src/beautifiers/php-cs-fixer.coffee
59
108
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:2:completion
completion
"fix" "--rules=#{options.rules}" if options.rules "--config=#{options.cs_fixer_config_file}" if options.cs_fixer_config_file "--allow-risky=#{options.allow_risky}" if options.allow_risky "--using-cache=no" ] if phpCsFixer.isVersion('1.x') phpCsFixerOptions = [ "fix" ...
@which(options.cs_fixer_path) if options.cs_fixer_path @which('php-cs-fixer') tempFile = @tempFile("temp", text, '.php') ]).then(([customPath, phpCsFixerPath]) => paths = [customPath, phpCsFixerPath] @debug('php-cs-fixer paths', paths) _ = require 'lodash' # Get first valid, abso...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
dca093cd418dce9fc8a02a7dc485eab641813b7d
1,503
https://github.com/Glavin001/atom-beautify/blob/dca093cd418dce9fc8a02a7dc485eab641813b7d/src/beautifiers/php-cs-fixer.coffee
59
108
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:2:raw_corpus
raw_corpus
"fix" "--rules=#{options.rules}" if options.rules "--config=#{options.cs_fixer_config_file}" if options.cs_fixer_config_file "--allow-risky=#{options.allow_risky}" if options.allow_risky "--using-cache=no" ] if phpCsFixer.isVersion('1.x') phpCsFixerOptions = [ "fix" ...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
fcc32d3fab19432b28d3d69663729b326529d73f
1,503
https://github.com/Glavin001/atom-beautify/blob/fcc32d3fab19432b28d3d69663729b326529d73f/src/beautifiers/php-cs-fixer.coffee
59
108
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:2:completion
completion
"fix" "--rules=#{options.rules}" if options.rules "--config=#{options.cs_fixer_config_file}" if options.cs_fixer_config_file "--allow-risky=#{options.allow_risky}" if options.allow_risky "--using-cache=no" ] if phpCsFixer.isVersion('1.x') phpCsFixerOptions = [ "fix" ...
]).then(([customPath, phpCsFixerPath]) => paths = [customPath, phpCsFixerPath] @debug('php-cs-fixer paths', paths) _ = require 'lodash' # Get first valid, absolute path phpCSFixerPath = _.find(paths, (p) -> p and path.isAbsolute(p) ) @verbose('phpCSFixerPath', phpCSFixerPath) @...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
fcc32d3fab19432b28d3d69663729b326529d73f
1,503
https://github.com/Glavin001/atom-beautify/blob/fcc32d3fab19432b28d3d69663729b326529d73f/src/beautifiers/php-cs-fixer.coffee
59
108
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:3:raw_corpus
raw_corpus
@Promise.reject(@commandNotFoundError( 'php-cs-fixer' { link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" program: "php-cs-fixer.phar" pathOption: "PHP - CS Fixer Path" }) ) )
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
fcc32d3fab19432b28d3d69663729b326529d73f
1,503
https://github.com/Glavin001/atom-beautify/blob/fcc32d3fab19432b28d3d69663729b326529d73f/src/beautifiers/php-cs-fixer.coffee
109
117
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:3:completion
completion
@Promise.reject(@commandNotFoundError( 'php-cs-fixer' { link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer"
program: "php-cs-fixer.phar" pathOption: "PHP - CS Fixer Path" }) ) )
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
fcc32d3fab19432b28d3d69663729b326529d73f
1,503
https://github.com/Glavin001/atom-beautify/blob/fcc32d3fab19432b28d3d69663729b326529d73f/src/beautifiers/php-cs-fixer.coffee
109
117
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:1:raw_corpus
raw_corpus
module.exports = class PHPCSFixer extends Beautifier name: 'PHP-CS-Fixer' link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" executables: [ { name: "PHP" cmd: "php" homepage: "http://php.net/" installation: "http://php.net/manual/en/install.php" version: { args: ['--ve...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
bc21afd424728591ea45eb8c1153df0a1b719a70
1,503
https://github.com/Glavin001/atom-beautify/blob/bc21afd424728591ea45eb8c1153df0a1b719a70/src/beautifiers/php-cs-fixer.coffee
9
58
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript module.exports = class PHPCSFixer extends Beautifier name: 'PHP-CS-Fixer' link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" executables: [ { name: "PHP" cmd: "php" homepage: "http://php.net/" installation: "http://php.net/man...
var PHPCSFixer; module.exports = PHPCSFixer = (function() { class PHPCSFixer extends Beautifier { beautify(text, language, options, context) { var configFiles, php, phpCsFixer; this.debug('php-cs-fixer', options); php = this.exe('php'); phpCsFixer = this.exe('php-cs-fixer'); configF...
CoffeeScript
JavaScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
bc21afd424728591ea45eb8c1153df0a1b719a70
1,503
https://github.com/Glavin001/atom-beautify/blob/bc21afd424728591ea45eb8c1153df0a1b719a70/src/beautifiers/php-cs-fixer.coffee
9
58
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript var PHPCSFixer; module.exports = PHPCSFixer = (function() { class PHPCSFixer extends Beautifier { beautify(text, language, options, context) { var configFiles, php, phpCsFixer; this.debug('php-cs-fixer', options); php = this.exe('php'); ...
module.exports = class PHPCSFixer extends Beautifier name: 'PHP-CS-Fixer' link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" executables: [ { name: "PHP" cmd: "php" homepage: "http://php.net/" installation: "http://php.net/manual/en/install.php" version: { args: ['--ve...
JavaScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
bc21afd424728591ea45eb8c1153df0a1b719a70
1,503
https://github.com/Glavin001/atom-beautify/blob/bc21afd424728591ea45eb8c1153df0a1b719a70/src/beautifiers/php-cs-fixer.coffee
9
58
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:1:completion
completion
module.exports = class PHPCSFixer extends Beautifier name: 'PHP-CS-Fixer' link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" executables: [ { name: "PHP" cmd: "php" homepage: "http://php.net/" installation: "http://php.net/manual/en/install.php" version: { args: ['--ve...
} } ] options: PHP: rules: true cs_fixer_path: true cs_fixer_version: true cs_fixer_config_file: true allow_risky: true level: true fixers: true beautify: (text, language, options, context) -> @debug('php-cs-fixer', options) php = @exe('php') phpCsFi...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
bc21afd424728591ea45eb8c1153df0a1b719a70
1,503
https://github.com/Glavin001/atom-beautify/blob/bc21afd424728591ea45eb8c1153df0a1b719a70/src/beautifiers/php-cs-fixer.coffee
9
58
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:2:raw_corpus
raw_corpus
if not options.cs_fixer_config_file options.cs_fixer_config_file = @findFile(atom.project.getPaths()[0], configFiles) phpCsFixerOptions = [ "fix" "--rules=#{options.rules}" if options.rules "--config=#{options.cs_fixer_config_file}" if options.cs_fixer_config_file "--allow-risky=#{opt...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
bc21afd424728591ea45eb8c1153df0a1b719a70
1,503
https://github.com/Glavin001/atom-beautify/blob/bc21afd424728591ea45eb8c1153df0a1b719a70/src/beautifiers/php-cs-fixer.coffee
59
108
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:2:completion
completion
if not options.cs_fixer_config_file options.cs_fixer_config_file = @findFile(atom.project.getPaths()[0], configFiles) phpCsFixerOptions = [ "fix" "--rules=#{options.rules}" if options.rules "--config=#{options.cs_fixer_config_file}" if options.cs_fixer_config_file "--allow-risky=#{opt...
@Promise.all([ @which(options.cs_fixer_path) if options.cs_fixer_path @which('php-cs-fixer') tempFile = @tempFile("temp", text, '.php') ]).then(([customPath, phpCsFixerPath]) => paths = [customPath, phpCsFixerPath] @debug('php-cs-fixer paths', paths) _ = require 'lodash' # ...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
bc21afd424728591ea45eb8c1153df0a1b719a70
1,503
https://github.com/Glavin001/atom-beautify/blob/bc21afd424728591ea45eb8c1153df0a1b719a70/src/beautifiers/php-cs-fixer.coffee
59
108
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:3:raw_corpus
raw_corpus
) else @verbose('php-cs-fixer not found!') # Could not find PHP-CS-Fixer path @Promise.reject(@commandNotFoundError( 'php-cs-fixer' { link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" program: "php-cs-fixer.phar" pathOption: "PHP -...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
bc21afd424728591ea45eb8c1153df0a1b719a70
1,503
https://github.com/Glavin001/atom-beautify/blob/bc21afd424728591ea45eb8c1153df0a1b719a70/src/beautifiers/php-cs-fixer.coffee
109
121
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:3:completion
completion
) else @verbose('php-cs-fixer not found!') # Could not find PHP-CS-Fixer path @Promise.reject(@commandNotFoundError( 'php-cs-fixer'
{ link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" program: "php-cs-fixer.phar" pathOption: "PHP - CS Fixer Path" }) ) )
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
bc21afd424728591ea45eb8c1153df0a1b719a70
1,503
https://github.com/Glavin001/atom-beautify/blob/bc21afd424728591ea45eb8c1153df0a1b719a70/src/beautifiers/php-cs-fixer.coffee
109
121
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:1:raw_corpus
raw_corpus
module.exports = class PHPCSFixer extends Beautifier name: 'PHP-CS-Fixer' link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" isPreInstalled: false options: PHP: rules: true cs_fixer_path: true cs_fixer_version: true cs_fixer_config_file: true allow_risky: true level: ...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
c4bb1ee4ee990b7c08044d5c1752f5db9a3b6298
1,503
https://github.com/Glavin001/atom-beautify/blob/c4bb1ee4ee990b7c08044d5c1752f5db9a3b6298/src/beautifiers/php-cs-fixer.coffee
9
58
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript module.exports = class PHPCSFixer extends Beautifier name: 'PHP-CS-Fixer' link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" isPreInstalled: false options: PHP: rules: true cs_fixer_path: true cs_fixer_version: true cs_fixe...
var PHPCSFixer; module.exports = PHPCSFixer = (function() { class PHPCSFixer extends Beautifier { beautify(text, language, options, context) { var configFiles, phpCsFixerOptions, runOptions, version; this.debug('php-cs-fixer', options); version = options.cs_fixer_version; configFiles = ['...
CoffeeScript
JavaScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
c4bb1ee4ee990b7c08044d5c1752f5db9a3b6298
1,503
https://github.com/Glavin001/atom-beautify/blob/c4bb1ee4ee990b7c08044d5c1752f5db9a3b6298/src/beautifiers/php-cs-fixer.coffee
9
58
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:1:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript var PHPCSFixer; module.exports = PHPCSFixer = (function() { class PHPCSFixer extends Beautifier { beautify(text, language, options, context) { var configFiles, phpCsFixerOptions, runOptions, version; this.debug('php-cs-fixer', options); ver...
module.exports = class PHPCSFixer extends Beautifier name: 'PHP-CS-Fixer' link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" isPreInstalled: false options: PHP: rules: true cs_fixer_path: true cs_fixer_version: true cs_fixer_config_file: true allow_risky: true level: ...
JavaScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
c4bb1ee4ee990b7c08044d5c1752f5db9a3b6298
1,503
https://github.com/Glavin001/atom-beautify/blob/c4bb1ee4ee990b7c08044d5c1752f5db9a3b6298/src/beautifiers/php-cs-fixer.coffee
9
58
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:1:completion
completion
module.exports = class PHPCSFixer extends Beautifier name: 'PHP-CS-Fixer' link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" isPreInstalled: false options: PHP: rules: true cs_fixer_path: true cs_fixer_version: true cs_fixer_config_file: true allow_risky: true level: ...
# Try again to find a config file in the project root if not options.cs_fixer_config_file options.cs_fixer_config_file = @findFile(atom.project.getPaths()[0], configFiles) phpCsFixerOptions = [ "fix" "--rules=#{options.rules}" if options.rules "--config=#{options.cs_fixer_config_file}" ...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
c4bb1ee4ee990b7c08044d5c1752f5db9a3b6298
1,503
https://github.com/Glavin001/atom-beautify/blob/c4bb1ee4ee990b7c08044d5c1752f5db9a3b6298/src/beautifiers/php-cs-fixer.coffee
9
58
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:2:raw_corpus
raw_corpus
# Find php-cs-fixer.phar script @Promise.all([ @which(options.cs_fixer_path) if options.cs_fixer_path @which('php-cs-fixer') ]).then((paths) => @debug('php-cs-fixer paths', paths) _ = require 'lodash' # Get first valid, absolute path phpCSFixerPath = _.find(paths, (p) -> p an...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
c4bb1ee4ee990b7c08044d5c1752f5db9a3b6298
1,503
https://github.com/Glavin001/atom-beautify/blob/c4bb1ee4ee990b7c08044d5c1752f5db9a3b6298/src/beautifiers/php-cs-fixer.coffee
59
97
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:2:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript # Find php-cs-fixer.phar script @Promise.all([ @which(options.cs_fixer_path) if options.cs_fixer_path @which('php-cs-fixer') ]).then((paths) => @debug('php-cs-fixer paths', paths) _ = require 'lodash' # Get first valid, absol...
// Find php-cs-fixer.phar script this.Promise.all([options.cs_fixer_path ? this.which(options.cs_fixer_path) : void 0, this.which('php-cs-fixer')]).then((paths) => { var _, phpCSFixerPath, tempFile; this.debug('php-cs-fixer paths', paths); _ = require('lodash'); // Get first valid, absolute path phpCSFixerPat...
CoffeeScript
JavaScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
c4bb1ee4ee990b7c08044d5c1752f5db9a3b6298
1,503
https://github.com/Glavin001/atom-beautify/blob/c4bb1ee4ee990b7c08044d5c1752f5db9a3b6298/src/beautifiers/php-cs-fixer.coffee
59
97
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:2:js_to_coffee
js_to_coffee
Convert this JavaScript to CoffeeScript. ```javascript // Find php-cs-fixer.phar script this.Promise.all([options.cs_fixer_path ? this.which(options.cs_fixer_path) : void 0, this.which('php-cs-fixer')]).then((paths) => { var _, phpCSFixerPath, tempFile; this.debug('php-cs-fixer paths', paths); _ = require('lodash...
# Find php-cs-fixer.phar script @Promise.all([ @which(options.cs_fixer_path) if options.cs_fixer_path @which('php-cs-fixer') ]).then((paths) => @debug('php-cs-fixer paths', paths) _ = require 'lodash' # Get first valid, absolute path phpCSFixerPath = _.find(paths, (p) -> p an...
JavaScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
c4bb1ee4ee990b7c08044d5c1752f5db9a3b6298
1,503
https://github.com/Glavin001/atom-beautify/blob/c4bb1ee4ee990b7c08044d5c1752f5db9a3b6298/src/beautifiers/php-cs-fixer.coffee
59
97
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:2:completion
completion
# Find php-cs-fixer.phar script @Promise.all([ @which(options.cs_fixer_path) if options.cs_fixer_path @which('php-cs-fixer') ]).then((paths) => @debug('php-cs-fixer paths', paths) _ = require 'lodash' # Get first valid, absolute path phpCSFixerPath = _.find(paths, (p) -> p an...
.then(=> @readFile(tempFile) ) else @run(phpCSFixerPath, [phpCsFixerOptions, tempFile], runOptions) .then(=> @readFile(tempFile) ) else @verbose('php-cs-fixer not found!') # Could not find PHP-CS-Fixer path @...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
c4bb1ee4ee990b7c08044d5c1752f5db9a3b6298
1,503
https://github.com/Glavin001/atom-beautify/blob/c4bb1ee4ee990b7c08044d5c1752f5db9a3b6298/src/beautifiers/php-cs-fixer.coffee
59
97
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:1:raw_corpus
raw_corpus
module.exports = class PHPCSFixer extends Beautifier name: 'PHP-CS-Fixer' link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" isPreInstalled: false options: PHP: rules: true cs_fixer_path: true cs_fixer_version: true allow_risky: true level: true fixers: true beauti...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
fc10c7ee93cb9f0d7fde1b1733394f8c43e9a5ac
1,503
https://github.com/Glavin001/atom-beautify/blob/fc10c7ee93cb9f0d7fde1b1733394f8c43e9a5ac/src/beautifiers/php-cs-fixer.coffee
9
58
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:1:completion
completion
module.exports = class PHPCSFixer extends Beautifier name: 'PHP-CS-Fixer' link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" isPreInstalled: false options: PHP: rules: true cs_fixer_path: true cs_fixer_version: true allow_risky: true level: true fixers: true beauti...
"--using-cache=no" ] if version is 1 phpCsFixerOptions = [ "fix" "--level=#{options.level}" if options.level "--fixers=#{options.fixers}" if options.fixers "--config-file=#{configFile}" if configFile ] runOptions = { ignoreReturnCode: true help: { ...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
fc10c7ee93cb9f0d7fde1b1733394f8c43e9a5ac
1,503
https://github.com/Glavin001/atom-beautify/blob/fc10c7ee93cb9f0d7fde1b1733394f8c43e9a5ac/src/beautifiers/php-cs-fixer.coffee
9
58
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:2:raw_corpus
raw_corpus
@verbose('phpCSFixerPath', phpCSFixerPath) @debug('phpCSFixerPath', phpCSFixerPath, paths) # Check if PHP-CS-Fixer path was found if phpCSFixerPath? # Found PHP-CS-Fixer path tempFile = @tempFile("temp", text) if @isWindows @run("php", [phpCSFixerPath, phpCsFixerOpt...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
fc10c7ee93cb9f0d7fde1b1733394f8c43e9a5ac
1,503
https://github.com/Glavin001/atom-beautify/blob/fc10c7ee93cb9f0d7fde1b1733394f8c43e9a5ac/src/beautifiers/php-cs-fixer.coffee
59
88
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:2:completion
completion
@verbose('phpCSFixerPath', phpCSFixerPath) @debug('phpCSFixerPath', phpCSFixerPath, paths) # Check if PHP-CS-Fixer path was found if phpCSFixerPath? # Found PHP-CS-Fixer path tempFile = @tempFile("temp", text) if @isWindows @run("php", [phpCSFixerPath, phpCsFixerOpt...
.then(=> @readFile(tempFile) ) else @verbose('php-cs-fixer not found!') # Could not find PHP-CS-Fixer path @Promise.reject(@commandNotFoundError( 'php-cs-fixer' { link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" prog...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
fc10c7ee93cb9f0d7fde1b1733394f8c43e9a5ac
1,503
https://github.com/Glavin001/atom-beautify/blob/fc10c7ee93cb9f0d7fde1b1733394f8c43e9a5ac/src/beautifiers/php-cs-fixer.coffee
59
88
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:1:raw_corpus
raw_corpus
module.exports = class PHPCSFixer extends Beautifier name: 'PHP-CS-Fixer' link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" isPreInstalled: false options: PHP: true beautify: (text, language, options, context) -> @debug('php-cs-fixer', options) version = options.cs_fixer_version configF...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
b57e5acba3b2f8b7629f438d402176ef7babbfe3
1,503
https://github.com/Glavin001/atom-beautify/blob/b57e5acba3b2f8b7629f438d402176ef7babbfe3/src/beautifiers/php-cs-fixer.coffee
9
58
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:1:completion
completion
module.exports = class PHPCSFixer extends Beautifier name: 'PHP-CS-Fixer' link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" isPreInstalled: false options: PHP: true beautify: (text, language, options, context) -> @debug('php-cs-fixer', options) version = options.cs_fixer_version configF...
"--fixers=#{options.fixers}" if options.fixers "--config-file=#{configFile}" if configFile ] runOptions = { ignoreReturnCode: true help: { link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" } } # Find php-cs-fixer.phar script @Promise.all([ @which(options...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
b57e5acba3b2f8b7629f438d402176ef7babbfe3
1,503
https://github.com/Glavin001/atom-beautify/blob/b57e5acba3b2f8b7629f438d402176ef7babbfe3/src/beautifiers/php-cs-fixer.coffee
9
58
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:2:raw_corpus
raw_corpus
tempFile = @tempFile("temp", text) if @isWindows @run("php", [phpCSFixerPath, phpCsFixerOptions, tempFile], runOptions) .then(=> @readFile(tempFile) ) else @run(phpCSFixerPath, [phpCsFixerOptions, tempFile], runOptions) .then(=> ...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
b57e5acba3b2f8b7629f438d402176ef7babbfe3
1,503
https://github.com/Glavin001/atom-beautify/blob/b57e5acba3b2f8b7629f438d402176ef7babbfe3/src/beautifiers/php-cs-fixer.coffee
59
82
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:2:completion
completion
tempFile = @tempFile("temp", text) if @isWindows @run("php", [phpCSFixerPath, phpCsFixerOptions, tempFile], runOptions) .then(=> @readFile(tempFile) ) else @run(phpCSFixerPath, [phpCsFixerOptions, tempFile], runOptions) .then(=> ...
else @verbose('php-cs-fixer not found!') # Could not find PHP-CS-Fixer path @Promise.reject(@commandNotFoundError( 'php-cs-fixer' { link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" program: "php-cs-fixer.phar" pathOption: "PHP - CS Fixe...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
b57e5acba3b2f8b7629f438d402176ef7babbfe3
1,503
https://github.com/Glavin001/atom-beautify/blob/b57e5acba3b2f8b7629f438d402176ef7babbfe3/src/beautifiers/php-cs-fixer.coffee
59
82
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:1:raw_corpus
raw_corpus
module.exports = class PHPCSFixer extends Beautifier name: 'PHP-CS-Fixer' link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" isPreInstalled: false options: PHP: true beautify: (text, language, options, context) -> @debug('php-cs-fixer', options) version = options.cs_fixer_version configF...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
93ac2a03eee6e27c3594050dfe56347bb8244a9d
1,503
https://github.com/Glavin001/atom-beautify/blob/93ac2a03eee6e27c3594050dfe56347bb8244a9d/src/beautifiers/php-cs-fixer.coffee
9
58
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:1:completion
completion
module.exports = class PHPCSFixer extends Beautifier name: 'PHP-CS-Fixer' link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" isPreInstalled: false options: PHP: true beautify: (text, language, options, context) -> @debug('php-cs-fixer', options) version = options.cs_fixer_version configF...
"--fixers=#{options.fixers}" if options.fixers "--config-file=#{configFile}" if configFile ] runOptions = { ignoreReturnCode: true help: { link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" } } # Find php-cs-fixer.phar script @Promise.all([ @which(options...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
93ac2a03eee6e27c3594050dfe56347bb8244a9d
1,503
https://github.com/Glavin001/atom-beautify/blob/93ac2a03eee6e27c3594050dfe56347bb8244a9d/src/beautifiers/php-cs-fixer.coffee
9
58
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:1:raw_corpus
raw_corpus
module.exports = class PHPCSFixer extends Beautifier name: 'PHP-CS-Fixer' link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" isPreInstalled: false options: PHP: true beautify: (text, language, options, context) -> @debug('php-cs-fixer', options) version = options.cs_fixer_version configF...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
652c0ceb1ac89ce69cbd68fceaba22dbf6df56fc
1,503
https://github.com/Glavin001/atom-beautify/blob/652c0ceb1ac89ce69cbd68fceaba22dbf6df56fc/src/beautifiers/php-cs-fixer.coffee
9
58
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:1:completion
completion
module.exports = class PHPCSFixer extends Beautifier name: 'PHP-CS-Fixer' link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" isPreInstalled: false options: PHP: true beautify: (text, language, options, context) -> @debug('php-cs-fixer', options) version = options.cs_fixer_version configF...
"--config-file=#{configFile}" if configFile ] runOptions = { ignoreReturnCode: true help: { link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" } } # Find php-cs-fixer.phar script @Promise.all([ @which(options.cs_fixer_path) if options.cs_fixer_path @which('...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
652c0ceb1ac89ce69cbd68fceaba22dbf6df56fc
1,503
https://github.com/Glavin001/atom-beautify/blob/652c0ceb1ac89ce69cbd68fceaba22dbf6df56fc/src/beautifiers/php-cs-fixer.coffee
9
58
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:2:raw_corpus
raw_corpus
if @isWindows @run("php", [phpCSFixerPath, phpCsFixerOptions, tempFile], runOptions) .then(=> @readFile(tempFile) ) else @run(phpCSFixerPath, [phpCsFixerOptions, tempFile], runOptions) .then(=> @readFile(tempFile) ) ...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
652c0ceb1ac89ce69cbd68fceaba22dbf6df56fc
1,503
https://github.com/Glavin001/atom-beautify/blob/652c0ceb1ac89ce69cbd68fceaba22dbf6df56fc/src/beautifiers/php-cs-fixer.coffee
59
81
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:2:completion
completion
if @isWindows @run("php", [phpCSFixerPath, phpCsFixerOptions, tempFile], runOptions) .then(=> @readFile(tempFile) ) else @run(phpCSFixerPath, [phpCsFixerOptions, tempFile], runOptions) .then(=> @readFile(tempFile) ) ...
@verbose('php-cs-fixer not found!') # Could not find PHP-CS-Fixer path @Promise.reject(@commandNotFoundError( 'php-cs-fixer' { link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" program: "php-cs-fixer.phar" pathOption: "PHP - CS Fixer Path" ...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
652c0ceb1ac89ce69cbd68fceaba22dbf6df56fc
1,503
https://github.com/Glavin001/atom-beautify/blob/652c0ceb1ac89ce69cbd68fceaba22dbf6df56fc/src/beautifiers/php-cs-fixer.coffee
59
81
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:1:raw_corpus
raw_corpus
module.exports = class PHPCSFixer extends Beautifier name: 'PHP-CS-Fixer' link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" isPreInstalled: false options: PHP: true beautify: (text, language, options, context) -> @debug('php-cs-fixer', options) configFile = if context? and context.filePath?...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
ba2198675cbcc1ecd05f18e28e97133cdd2d5319
1,503
https://github.com/Glavin001/atom-beautify/blob/ba2198675cbcc1ecd05f18e28e97133cdd2d5319/src/beautifiers/php-cs-fixer.coffee
9
58
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:1:completion
completion
module.exports = class PHPCSFixer extends Beautifier name: 'PHP-CS-Fixer' link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" isPreInstalled: false options: PHP: true beautify: (text, language, options, context) -> @debug('php-cs-fixer', options) configFile = if context? and context.filePath?...
@debug('phpCSFixerPath', phpCSFixerPath, paths) # Check if PHP-CS-Fixer path was found if phpCSFixerPath? # Found PHP-CS-Fixer path @run("php", [ phpCSFixerPath "fix" "--level=#{options.level}" if options.level "--fixers=#{options.fixer...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
ba2198675cbcc1ecd05f18e28e97133cdd2d5319
1,503
https://github.com/Glavin001/atom-beautify/blob/ba2198675cbcc1ecd05f18e28e97133cdd2d5319/src/beautifiers/php-cs-fixer.coffee
9
58
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:2:raw_corpus
raw_corpus
{ link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" program: "php-cs-fixer.phar" pathOption: "PHP - CS Fixer Path" }) ) ) else @run("php-cs-fixer", [ "fix" "--level=#{options.level}" if options.level "--fixers=#{options...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
ba2198675cbcc1ecd05f18e28e97133cdd2d5319
1,503
https://github.com/Glavin001/atom-beautify/blob/ba2198675cbcc1ecd05f18e28e97133cdd2d5319/src/beautifiers/php-cs-fixer.coffee
59
81
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:2:completion
completion
{ link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" program: "php-cs-fixer.phar" pathOption: "PHP - CS Fixer Path" }) ) ) else @run("php-cs-fixer", [ "fix" "--level=#{options.level}" if options.level
"--fixers=#{options.fixers}" if options.fixers "--config-file=#{configFile}" if configFile tempFile = @tempFile("temp", text) ], { ignoreReturnCode: true help: { link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" } }) .then(=> ...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
ba2198675cbcc1ecd05f18e28e97133cdd2d5319
1,503
https://github.com/Glavin001/atom-beautify/blob/ba2198675cbcc1ecd05f18e28e97133cdd2d5319/src/beautifiers/php-cs-fixer.coffee
59
81
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:1:raw_corpus
raw_corpus
### Requires https://github.com/FriendsOfPHP/PHP-CS-Fixer ### "use strict" Beautifier = require('./beautifier') path = require('path') module.exports = class PHPCSFixer extends Beautifier name: 'PHP-CS-Fixer' link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" options: PHP: true beautify: (text, langu...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
cd2ae5d0f787f4989e32084553da0bf0b242b843
1,503
https://github.com/Glavin001/atom-beautify/blob/cd2ae5d0f787f4989e32084553da0bf0b242b843/src/beautifiers/php-cs-fixer.coffee
1
50
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:1:completion
completion
### Requires https://github.com/FriendsOfPHP/PHP-CS-Fixer ### "use strict" Beautifier = require('./beautifier') path = require('path') module.exports = class PHPCSFixer extends Beautifier name: 'PHP-CS-Fixer' link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" options: PHP: true beautify: (text, langu...
"--using-cache=no" ] runOptions = { ignoreReturnCode: true help: { link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" } } # Find php-cs-fixer.phar script @Promise.all([ @which(options.cs_fixer_path) if options.cs_fixer_path @which('php-cs-fixer') ]).then(...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
cd2ae5d0f787f4989e32084553da0bf0b242b843
1,503
https://github.com/Glavin001/atom-beautify/blob/cd2ae5d0f787f4989e32084553da0bf0b242b843/src/beautifiers/php-cs-fixer.coffee
1
50
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:1:raw_corpus
raw_corpus
### Requires https://github.com/FriendsOfPHP/PHP-CS-Fixer ### "use strict" Beautifier = require('./beautifier') path = require('path') module.exports = class PHPCSFixer extends Beautifier name: 'PHP-CS-Fixer' link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" options: PHP: true beautify: (text, langu...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
17cd9ce63f75704a2b45d3d572ea8d360db56fff
1,503
https://github.com/Glavin001/atom-beautify/blob/17cd9ce63f75704a2b45d3d572ea8d360db56fff/src/beautifiers/php-cs-fixer.coffee
1
50
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:1:completion
completion
### Requires https://github.com/FriendsOfPHP/PHP-CS-Fixer ### "use strict" Beautifier = require('./beautifier') path = require('path') module.exports = class PHPCSFixer extends Beautifier name: 'PHP-CS-Fixer' link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" options: PHP: true beautify: (text, langu...
runOptions = { ignoreReturnCode: true help: { link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" } } # Find php-cs-fixer.phar script @Promise.all([ @which(options.cs_fixer_path) if options.cs_fixer_path @which('php-cs-fixer') ]).then((paths) => @debug('php-...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
17cd9ce63f75704a2b45d3d572ea8d360db56fff
1,503
https://github.com/Glavin001/atom-beautify/blob/17cd9ce63f75704a2b45d3d572ea8d360db56fff/src/beautifiers/php-cs-fixer.coffee
1
50
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:2:raw_corpus
raw_corpus
@run("php", [phpCSFixerPath, phpCsFixerOptions, tempFile], runOptions) .then(=> @readFile(tempFile) ) else @run(phpCSFixerPath, [phpCsFixerOptions, tempFile], runOptions) .then(=> @readFile(tempFile) ) else @verb...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
17cd9ce63f75704a2b45d3d572ea8d360db56fff
1,503
https://github.com/Glavin001/atom-beautify/blob/17cd9ce63f75704a2b45d3d572ea8d360db56fff/src/beautifiers/php-cs-fixer.coffee
51
71
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:2:completion
completion
@run("php", [phpCSFixerPath, phpCsFixerOptions, tempFile], runOptions) .then(=> @readFile(tempFile) ) else @run(phpCSFixerPath, [phpCsFixerOptions, tempFile], runOptions) .then(=> @readFile(tempFile) ) else
@verbose('php-cs-fixer not found!') # Could not find PHP-CS-Fixer path @Promise.reject(@commandNotFoundError( 'php-cs-fixer' { link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" program: "php-cs-fixer.phar" pathOption: "PHP - CS Fixer Path" ...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
17cd9ce63f75704a2b45d3d572ea8d360db56fff
1,503
https://github.com/Glavin001/atom-beautify/blob/17cd9ce63f75704a2b45d3d572ea8d360db56fff/src/beautifiers/php-cs-fixer.coffee
51
71
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:1:raw_corpus
raw_corpus
### Requires https://github.com/FriendsOfPHP/PHP-CS-Fixer ### "use strict" Beautifier = require('./beautifier') path = require('path') module.exports = class PHPCSFixer extends Beautifier name: 'PHP-CS-Fixer' link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" options: PHP: true beautify: (text, langu...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
42cc95593048c2b78d7df9699cce50f966f7dc8d
1,503
https://github.com/Glavin001/atom-beautify/blob/42cc95593048c2b78d7df9699cce50f966f7dc8d/src/beautifiers/php-cs-fixer.coffee
1
50
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:1:completion
completion
### Requires https://github.com/FriendsOfPHP/PHP-CS-Fixer ### "use strict" Beautifier = require('./beautifier') path = require('path') module.exports = class PHPCSFixer extends Beautifier name: 'PHP-CS-Fixer' link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" options: PHP: true beautify: (text, langu...
runOptions = { ignoreReturnCode: true help: { link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" } } # Find php-cs-fixer.phar script @Promise.all([ @which(options.cs_fixer_path) if options.cs_fixer_path @which('php-cs-fixer') ]).then((paths) => @debug('php-...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
42cc95593048c2b78d7df9699cce50f966f7dc8d
1,503
https://github.com/Glavin001/atom-beautify/blob/42cc95593048c2b78d7df9699cce50f966f7dc8d/src/beautifiers/php-cs-fixer.coffee
1
50
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:1:raw_corpus
raw_corpus
### Requires https://github.com/FriendsOfPHP/PHP-CS-Fixer ### "use strict" Beautifier = require('./beautifier') path = require('path') module.exports = class PHPCSFixer extends Beautifier name: 'PHP-CS-Fixer' link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" options: PHP: true beautify: (text, langu...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
17314013060611e3c38b59342b139b4fc71545d1
1,503
https://github.com/Glavin001/atom-beautify/blob/17314013060611e3c38b59342b139b4fc71545d1/src/beautifiers/php-cs-fixer.coffee
1
50
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:1:completion
completion
### Requires https://github.com/FriendsOfPHP/PHP-CS-Fixer ### "use strict" Beautifier = require('./beautifier') path = require('path') module.exports = class PHPCSFixer extends Beautifier name: 'PHP-CS-Fixer' link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" options: PHP: true beautify: (text, langu...
"--config-file=#{configFile}" if configFile ] runOptions = { ignoreReturnCode: true help: { link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" } } # Find php-cs-fixer.phar script @Promise.all([ @which(options.cs_fixer_path) if options.cs_fixer_path @which('ph...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
17314013060611e3c38b59342b139b4fc71545d1
1,503
https://github.com/Glavin001/atom-beautify/blob/17314013060611e3c38b59342b139b4fc71545d1/src/beautifiers/php-cs-fixer.coffee
1
50
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:1:raw_corpus
raw_corpus
### Requires https://github.com/FriendsOfPHP/PHP-CS-Fixer ### "use strict" Beautifier = require('./beautifier') path = require('path') module.exports = class PHPCSFixer extends Beautifier name: 'PHP-CS-Fixer' link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" options: PHP: true beautify: (text, langu...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
bf7586c858658040bd6d3a6da09587c34070b5e9
1,503
https://github.com/Glavin001/atom-beautify/blob/bf7586c858658040bd6d3a6da09587c34070b5e9/src/beautifiers/php-cs-fixer.coffee
1
50
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:1:completion
completion
### Requires https://github.com/FriendsOfPHP/PHP-CS-Fixer ### "use strict" Beautifier = require('./beautifier') path = require('path') module.exports = class PHPCSFixer extends Beautifier name: 'PHP-CS-Fixer' link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" options: PHP: true beautify: (text, langu...
} # Find php-cs-fixer.phar script @Promise.all([ @which(options.cs_fixer_path) if options.cs_fixer_path @which('php-cs-fixer') ]).then((paths) => @debug('php-cs-fixer paths', paths) _ = require 'lodash' # Get first valid, absolute path phpCSFixerPath = _.find(paths, (p) ...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
bf7586c858658040bd6d3a6da09587c34070b5e9
1,503
https://github.com/Glavin001/atom-beautify/blob/bf7586c858658040bd6d3a6da09587c34070b5e9/src/beautifiers/php-cs-fixer.coffee
1
50
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:2:raw_corpus
raw_corpus
], runOptions) .then(=> @readFile(tempFile) ) else @run(phpCSFixerPath, [ "fix" "--level=#{options.level}" if options.level "--fixers=#{options.fixers}" if options.fixers "--config-file=#{configFile}" if configFile ...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
bf7586c858658040bd6d3a6da09587c34070b5e9
1,503
https://github.com/Glavin001/atom-beautify/blob/bf7586c858658040bd6d3a6da09587c34070b5e9/src/beautifiers/php-cs-fixer.coffee
51
77
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:2:completion
completion
], runOptions) .then(=> @readFile(tempFile) ) else @run(phpCSFixerPath, [ "fix" "--level=#{options.level}" if options.level "--fixers=#{options.fixers}" if options.fixers "--config-file=#{configFile}" if configFile ...
@readFile(tempFile) ) else @verbose('php-cs-fixer not found!') # Could not find PHP-CS-Fixer path @Promise.reject(@commandNotFoundError( 'php-cs-fixer' { link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" program: "php-cs-fixer.phar" ...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
bf7586c858658040bd6d3a6da09587c34070b5e9
1,503
https://github.com/Glavin001/atom-beautify/blob/bf7586c858658040bd6d3a6da09587c34070b5e9/src/beautifiers/php-cs-fixer.coffee
51
77
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:1:raw_corpus
raw_corpus
module.exports = class PHPCSFixer extends Beautifier name: 'PHP-CS-Fixer' link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" options: PHP: true beautify: (text, language, options, context) -> @debug('php-cs-fixer', options) configFile = if context? and context.filePath? then @findFile(path.dir...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
87ed01e7befb00682950bb8e1b810e5bd895b106
1,503
https://github.com/Glavin001/atom-beautify/blob/87ed01e7befb00682950bb8e1b810e5bd895b106/src/beautifiers/php-cs-fixer.coffee
9
58
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:1:completion
completion
module.exports = class PHPCSFixer extends Beautifier name: 'PHP-CS-Fixer' link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" options: PHP: true beautify: (text, language, options, context) -> @debug('php-cs-fixer', options) configFile = if context? and context.filePath? then @findFile(path.dir...
# Check if PHP-CS-Fixer path was found if phpCSFixerPath? # Found PHP-CS-Fixer path if @isWindows @run("php", [ phpCSFixerPath "fix" "--level=#{options.level}" if options.level "--fixers=#{options.fixers}" if options.fixers "--c...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
87ed01e7befb00682950bb8e1b810e5bd895b106
1,503
https://github.com/Glavin001/atom-beautify/blob/87ed01e7befb00682950bb8e1b810e5bd895b106/src/beautifiers/php-cs-fixer.coffee
9
58
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:2:raw_corpus
raw_corpus
"--config-file=#{configFile}" if configFile tempFile = @tempFile("temp", text) ], { ignoreReturnCode: true help: { link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" } }) .then(=> @readFile(tempFile...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
87ed01e7befb00682950bb8e1b810e5bd895b106
1,503
https://github.com/Glavin001/atom-beautify/blob/87ed01e7befb00682950bb8e1b810e5bd895b106/src/beautifiers/php-cs-fixer.coffee
59
81
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:2:completion
completion
"--config-file=#{configFile}" if configFile tempFile = @tempFile("temp", text) ], { ignoreReturnCode: true help: { link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" } }) .then(=> @readFile(tempFile...
else @verbose('php-cs-fixer not found!') # Could not find PHP-CS-Fixer path @Promise.reject(@commandNotFoundError( 'php-cs-fixer' { link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" program: "php-cs-fixer.phar" pathOption: "PHP - CS Fixer Path...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
87ed01e7befb00682950bb8e1b810e5bd895b106
1,503
https://github.com/Glavin001/atom-beautify/blob/87ed01e7befb00682950bb8e1b810e5bd895b106/src/beautifiers/php-cs-fixer.coffee
59
81
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:1:raw_corpus
raw_corpus
### Requires https://github.com/FriendsOfPHP/PHP-CS-Fixer ### "use strict" Beautifier = require('./beautifier') path = require('path') module.exports = class PHPCSFixer extends Beautifier name: 'PHP-CS-Fixer' link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" options: PHP: true beautify: (text, langu...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
e66613128d4ae9b8434c1dc18f8bacc246b7343a
1,503
https://github.com/Glavin001/atom-beautify/blob/e66613128d4ae9b8434c1dc18f8bacc246b7343a/src/beautifiers/php-cs-fixer.coffee
1
50
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:1:completion
completion
### Requires https://github.com/FriendsOfPHP/PHP-CS-Fixer ### "use strict" Beautifier = require('./beautifier') path = require('path') module.exports = class PHPCSFixer extends Beautifier name: 'PHP-CS-Fixer' link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" options: PHP: true beautify: (text, langu...
@which('php-cs-fixer') ]).then((paths) => @debug('php-cs-fixer paths', paths) _ = require 'lodash' # Get first valid, absolute path phpCSFixerPath = _.find(paths, (p) -> p and path.isAbsolute(p) ) @verbose('phpCSFixerPath', phpCSFixerPath) @debug('phpCSFixerPath', p...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
e66613128d4ae9b8434c1dc18f8bacc246b7343a
1,503
https://github.com/Glavin001/atom-beautify/blob/e66613128d4ae9b8434c1dc18f8bacc246b7343a/src/beautifiers/php-cs-fixer.coffee
1
50
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:2:raw_corpus
raw_corpus
@readFile(tempFile) ) else @verbose('php-cs-fixer not found!') # Could not find PHP-CS-Fixer path @Promise.reject(@commandNotFoundError( 'php-cs-fixer' { link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" program: "php-c...
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
e66613128d4ae9b8434c1dc18f8bacc246b7343a
1,503
https://github.com/Glavin001/atom-beautify/blob/e66613128d4ae9b8434c1dc18f8bacc246b7343a/src/beautifiers/php-cs-fixer.coffee
51
80
Glavin001/atom-beautify:src/beautifiers/php-cs-fixer.coffee:2:completion
completion
@readFile(tempFile) ) else @verbose('php-cs-fixer not found!') # Could not find PHP-CS-Fixer path @Promise.reject(@commandNotFoundError( 'php-cs-fixer' { link: "https://github.com/FriendsOfPHP/PHP-CS-Fixer" program: "php-c...
@run("php-cs-fixer", [ "fix" "--level=#{options.level}" if options.level "--fixers=#{options.fixers}" if options.fixers "--config-file=#{configFile}" if configFile tempFile = @tempFile("temp", text) ], { ignoreReturnCode: true help: { link:...
CoffeeScript
CoffeeScript
Glavin001/atom-beautify
src/beautifiers/php-cs-fixer.coffee
MIT
e66613128d4ae9b8434c1dc18f8bacc246b7343a
1,503
https://github.com/Glavin001/atom-beautify/blob/e66613128d4ae9b8434c1dc18f8bacc246b7343a/src/beautifiers/php-cs-fixer.coffee
51
80
nickperkinslondon/angular-bootstrap-nav-tree:Gruntfile.coffee:1:raw_corpus
raw_corpus
module.exports = (grunt)-> grunt.initConfig pkg: grunt.file.readJSON 'package.json' jade: dev: options: pretty:true files: 'temp/_template.html':'src/abn_tree_template.jade' 'test/tests_page.html':'test/tests_page.jade' # # Generate 4 test pa...
CoffeeScript
nickperkinslondon/angular-bootstrap-nav-tree
Gruntfile.coffee
MIT
e840f9e154ff4c6ae0ed3318d06d36eb46640a0a
670
https://github.com/nickperkinslondon/angular-bootstrap-nav-tree/blob/e840f9e154ff4c6ae0ed3318d06d36eb46640a0a/Gruntfile.coffee
1
50
nickperkinslondon/angular-bootstrap-nav-tree:Gruntfile.coffee:1:completion
completion
module.exports = (grunt)-> grunt.initConfig pkg: grunt.file.readJSON 'package.json' jade: dev: options: pretty:true files: 'temp/_template.html':'src/abn_tree_template.jade' 'test/tests_page.html':'test/tests_page.jade' # # Generate 4 test pa...
pretty:true data: bs:"2" ng:"1.1.5" bs3_ng115_test_page: files: 'test/bs3_ng115_test_page.html':'test/test_page.jade' options: pretty:true data: bs:"3" ng:"1.1.5" bs2_ng120_test_page: files: ...
CoffeeScript
CoffeeScript
nickperkinslondon/angular-bootstrap-nav-tree
Gruntfile.coffee
MIT
e840f9e154ff4c6ae0ed3318d06d36eb46640a0a
670
https://github.com/nickperkinslondon/angular-bootstrap-nav-tree/blob/e840f9e154ff4c6ae0ed3318d06d36eb46640a0a/Gruntfile.coffee
1
50
nickperkinslondon/angular-bootstrap-nav-tree:Gruntfile.coffee:2:raw_corpus
raw_corpus
'test/bs3_ng120_test_page.html':'test/test_page.jade' options: pretty:true data: bs:"3" ng:"1.2.12" "string-replace": dev: files: # # substitute the "template html" into an intermediate coffeescript file # ( to take ad...
CoffeeScript
nickperkinslondon/angular-bootstrap-nav-tree
Gruntfile.coffee
MIT
e840f9e154ff4c6ae0ed3318d06d36eb46640a0a
670
https://github.com/nickperkinslondon/angular-bootstrap-nav-tree/blob/e840f9e154ff4c6ae0ed3318d06d36eb46640a0a/Gruntfile.coffee
51
100
nickperkinslondon/angular-bootstrap-nav-tree:Gruntfile.coffee:2:completion
completion
'test/bs3_ng120_test_page.html':'test/test_page.jade' options: pretty:true data: bs:"3" ng:"1.2.12" "string-replace": dev: files: # # substitute the "template html" into an intermediate coffeescript file # ( to take ad...
dev: options: bare:false files: # # the _temp.coffee file has the "template html" baked-in by Grunt # 'dist/abn_tree_directive.js':'temp/_directive.coffee' 'test/test_page.js':'test/test_page.coffee' watch: jade: files:['...
CoffeeScript
CoffeeScript
nickperkinslondon/angular-bootstrap-nav-tree
Gruntfile.coffee
MIT
e840f9e154ff4c6ae0ed3318d06d36eb46640a0a
670
https://github.com/nickperkinslondon/angular-bootstrap-nav-tree/blob/e840f9e154ff4c6ae0ed3318d06d36eb46640a0a/Gruntfile.coffee
51
100
nickperkinslondon/angular-bootstrap-nav-tree:Gruntfile.coffee:2:raw_corpus
raw_corpus
'test/bs3_ng120_test_page.html':'test/test_page.jade' options: pretty:true data: bs:"3" ng:"1.2.12" "string-replace": dev: files: # # substitute the "template html" into an intermediate coffeescript file # ( to take ad...
CoffeeScript
nickperkinslondon/angular-bootstrap-nav-tree
Gruntfile.coffee
MIT
391678159d9a7c0482ab11f7bc1b5160787e1645
670
https://github.com/nickperkinslondon/angular-bootstrap-nav-tree/blob/391678159d9a7c0482ab11f7bc1b5160787e1645/Gruntfile.coffee
51
100
nickperkinslondon/angular-bootstrap-nav-tree:Gruntfile.coffee:2:completion
completion
'test/bs3_ng120_test_page.html':'test/test_page.jade' options: pretty:true data: bs:"3" ng:"1.2.12" "string-replace": dev: files: # # substitute the "template html" into an intermediate coffeescript file # ( to take ad...
dev: options: bare:true files: # # the _temp.coffee file has the "template html" baked-in by Grunt # 'dist/abn_tree_directive.js':'temp/_directive.coffee' 'test/test_page.js':'test/test_page.coffee' watch: jade: files:['*...
CoffeeScript
CoffeeScript
nickperkinslondon/angular-bootstrap-nav-tree
Gruntfile.coffee
MIT
391678159d9a7c0482ab11f7bc1b5160787e1645
670
https://github.com/nickperkinslondon/angular-bootstrap-nav-tree/blob/391678159d9a7c0482ab11f7bc1b5160787e1645/Gruntfile.coffee
51
100
nickperkinslondon/angular-bootstrap-nav-tree:Gruntfile.coffee:1:raw_corpus
raw_corpus
module.exports = (grunt)-> grunt.initConfig pkg: grunt.file.readJSON 'package.json' jade: dev: options: pretty:true files: 'dist/abn_tree_template.html':'src/abn_tree_template.jade' 'test/tests_page.html':'test/tests_page.jade' # # Generate 4...
CoffeeScript
nickperkinslondon/angular-bootstrap-nav-tree
Gruntfile.coffee
MIT
4d694669a1f12b08ca0592053e8176f98621a112
670
https://github.com/nickperkinslondon/angular-bootstrap-nav-tree/blob/4d694669a1f12b08ca0592053e8176f98621a112/Gruntfile.coffee
1
50
nickperkinslondon/angular-bootstrap-nav-tree:Gruntfile.coffee:1:completion
completion
module.exports = (grunt)-> grunt.initConfig pkg: grunt.file.readJSON 'package.json' jade: dev: options: pretty:true files: 'dist/abn_tree_template.html':'src/abn_tree_template.jade' 'test/tests_page.html':'test/tests_page.jade' # # Generate 4...
pretty:true data: bs:"2" ng:"1.1.5" bs3_ng115_test_page: files: 'test/bs3_ng115_test_page.html':'test/test_page.jade' options: pretty:true data: bs:"3" ng:"1.1.5" bs2_ng120_test_page: files: ...
CoffeeScript
CoffeeScript
nickperkinslondon/angular-bootstrap-nav-tree
Gruntfile.coffee
MIT
4d694669a1f12b08ca0592053e8176f98621a112
670
https://github.com/nickperkinslondon/angular-bootstrap-nav-tree/blob/4d694669a1f12b08ca0592053e8176f98621a112/Gruntfile.coffee
1
50
nickperkinslondon/angular-bootstrap-nav-tree:Gruntfile.coffee:1:raw_corpus
raw_corpus
module.exports = (grunt)-> grunt.initConfig pkg: grunt.file.readJSON 'package.json' jade: dev: options: pretty:true files: 'dist/abn_tree_template.html':'src/abn_tree_template.jade' 'test/tests_page.html':'test/tests_page.jade' # # Generate 4...
CoffeeScript
nickperkinslondon/angular-bootstrap-nav-tree
Gruntfile.coffee
MIT
78478e8b86cb6e5fd8864aa47d46d80552d31d25
670
https://github.com/nickperkinslondon/angular-bootstrap-nav-tree/blob/78478e8b86cb6e5fd8864aa47d46d80552d31d25/Gruntfile.coffee
1
50
nickperkinslondon/angular-bootstrap-nav-tree:Gruntfile.coffee:1:completion
completion
module.exports = (grunt)-> grunt.initConfig pkg: grunt.file.readJSON 'package.json' jade: dev: options: pretty:true files: 'dist/abn_tree_template.html':'src/abn_tree_template.jade' 'test/tests_page.html':'test/tests_page.jade' # # Generate 4...
pretty:true data: bs:"2" ng:"1.1.5" bs3_ng115_test_page: files: 'test/bs3_ng115_test_page.html':'test/test_page.jade' options: pretty:true data: bs:"3" ng:"1.1.5" bs2_ng120_test_page: files: ...
CoffeeScript
CoffeeScript
nickperkinslondon/angular-bootstrap-nav-tree
Gruntfile.coffee
MIT
78478e8b86cb6e5fd8864aa47d46d80552d31d25
670
https://github.com/nickperkinslondon/angular-bootstrap-nav-tree/blob/78478e8b86cb6e5fd8864aa47d46d80552d31d25/Gruntfile.coffee
1
50
nickperkinslondon/angular-bootstrap-nav-tree:Gruntfile.coffee:1:raw_corpus
raw_corpus
module.exports = (grunt)-> grunt.initConfig pkg: grunt.file.readJSON 'package.json' jade: dev: options: pretty:true files: 'dist/abn_tree_template.html':'src/abn_tree_template.jade' # # Generate 2 test pages: # one for Bootstrap 2 # one for...
CoffeeScript
nickperkinslondon/angular-bootstrap-nav-tree
Gruntfile.coffee
MIT
866c573aecf177e1c71603930b7195d4973526c4
670
https://github.com/nickperkinslondon/angular-bootstrap-nav-tree/blob/866c573aecf177e1c71603930b7195d4973526c4/Gruntfile.coffee
1
50
nickperkinslondon/angular-bootstrap-nav-tree: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' jade: dev: options: pretty:true files: 'dist/abn_tree_template.html':'src/abn_tree_template.jade' # # Generate ...
module.exports = function(grunt) { return grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), jade: { dev: { options: { pretty: true }, files: { 'dist/abn_tree_template.html': 'src/abn_tree_template.jade' } }, // Generate 2 test p...
CoffeeScript
JavaScript
nickperkinslondon/angular-bootstrap-nav-tree
Gruntfile.coffee
MIT
866c573aecf177e1c71603930b7195d4973526c4
670
https://github.com/nickperkinslondon/angular-bootstrap-nav-tree/blob/866c573aecf177e1c71603930b7195d4973526c4/Gruntfile.coffee
1
50
nickperkinslondon/angular-bootstrap-nav-tree: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'), jade: { dev: { options: { pretty: true }, files: { 'dist/abn_tree_template.html': 'src/abn_tree_templa...
module.exports = (grunt)-> grunt.initConfig pkg: grunt.file.readJSON 'package.json' jade: dev: options: pretty:true files: 'dist/abn_tree_template.html':'src/abn_tree_template.jade' # # Generate 2 test pages: # one for Bootstrap 2 # one for...
JavaScript
CoffeeScript
nickperkinslondon/angular-bootstrap-nav-tree
Gruntfile.coffee
MIT
866c573aecf177e1c71603930b7195d4973526c4
670
https://github.com/nickperkinslondon/angular-bootstrap-nav-tree/blob/866c573aecf177e1c71603930b7195d4973526c4/Gruntfile.coffee
1
50
nickperkinslondon/angular-bootstrap-nav-tree:Gruntfile.coffee:1:completion
completion
module.exports = (grunt)-> grunt.initConfig pkg: grunt.file.readJSON 'package.json' jade: dev: options: pretty:true files: 'dist/abn_tree_template.html':'src/abn_tree_template.jade' # # Generate 2 test pages: # one for Bootstrap 2 # one for...
bs:"2" bs3: files: 'test/bs3_test_page.html':'src/test_page.jade' options: pretty:true data: bs:"3" coffee: dev: options: bare:true files: 'dist/abn_tree_directive.js':'src/abn_tree_directive.coffee' ...
CoffeeScript
CoffeeScript
nickperkinslondon/angular-bootstrap-nav-tree
Gruntfile.coffee
MIT
866c573aecf177e1c71603930b7195d4973526c4
670
https://github.com/nickperkinslondon/angular-bootstrap-nav-tree/blob/866c573aecf177e1c71603930b7195d4973526c4/Gruntfile.coffee
1
50
nickperkinslondon/angular-bootstrap-nav-tree:Gruntfile.coffee:1:raw_corpus
raw_corpus
module.exports = (grunt)-> grunt.initConfig pkg: grunt.file.readJSON 'package.json' jade: dev: options: pretty:true files: 'dist/abn_tree_template.html':'src/abn_tree_template.jade' 'test/test_abn_tree.html':'src/test_abn_tree.jade' less: dev: ...
CoffeeScript
nickperkinslondon/angular-bootstrap-nav-tree
Gruntfile.coffee
MIT
47b154c3ed6da120be9dced6b49422ee0ae36154
670
https://github.com/nickperkinslondon/angular-bootstrap-nav-tree/blob/47b154c3ed6da120be9dced6b49422ee0ae36154/Gruntfile.coffee
1
50
nickperkinslondon/angular-bootstrap-nav-tree: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' jade: dev: options: pretty:true files: 'dist/abn_tree_template.html':'src/abn_tree_template.jade' 'test/test_abn_t...
module.exports = function(grunt) { grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), jade: { dev: { options: { pretty: true }, files: { 'dist/abn_tree_template.html': 'src/abn_tree_template.jade', 'test/test_abn_tree.html': 'src/test_abn_t...
CoffeeScript
JavaScript
nickperkinslondon/angular-bootstrap-nav-tree
Gruntfile.coffee
MIT
47b154c3ed6da120be9dced6b49422ee0ae36154
670
https://github.com/nickperkinslondon/angular-bootstrap-nav-tree/blob/47b154c3ed6da120be9dced6b49422ee0ae36154/Gruntfile.coffee
1
50
nickperkinslondon/angular-bootstrap-nav-tree: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'), jade: { dev: { options: { pretty: true }, files: { 'dist/abn_tree_template.html': 'src/abn_tree_template.jade...
module.exports = (grunt)-> grunt.initConfig pkg: grunt.file.readJSON 'package.json' jade: dev: options: pretty:true files: 'dist/abn_tree_template.html':'src/abn_tree_template.jade' 'test/test_abn_tree.html':'src/test_abn_tree.jade' less: dev: ...
JavaScript
CoffeeScript
nickperkinslondon/angular-bootstrap-nav-tree
Gruntfile.coffee
MIT
47b154c3ed6da120be9dced6b49422ee0ae36154
670
https://github.com/nickperkinslondon/angular-bootstrap-nav-tree/blob/47b154c3ed6da120be9dced6b49422ee0ae36154/Gruntfile.coffee
1
50
nickperkinslondon/angular-bootstrap-nav-tree:Gruntfile.coffee:1:completion
completion
module.exports = (grunt)-> grunt.initConfig pkg: grunt.file.readJSON 'package.json' jade: dev: options: pretty:true files: 'dist/abn_tree_template.html':'src/abn_tree_template.jade' 'test/test_abn_tree.html':'src/test_abn_tree.jade' less: dev: ...
bare:true files: 'dist/abn_tree_directive.js':'src/abn_tree_directive.coffee' 'test/test_abn_tree.js':'src/test_abn_tree.coffee' watch: jade: files:['**/*.jade'] tasks:['jade'] options: livereload:true less: files:['**/*.less'] ...
CoffeeScript
CoffeeScript
nickperkinslondon/angular-bootstrap-nav-tree
Gruntfile.coffee
MIT
47b154c3ed6da120be9dced6b49422ee0ae36154
670
https://github.com/nickperkinslondon/angular-bootstrap-nav-tree/blob/47b154c3ed6da120be9dced6b49422ee0ae36154/Gruntfile.coffee
1
50
nickperkinslondon/angular-bootstrap-nav-tree:Gruntfile.coffee:1:raw_corpus
raw_corpus
module.exports = (grunt)-> grunt.initConfig pkg: grunt.file.readJSON 'package.json' jade: dev: options: pretty:true files: 'dist/abn_tree_template.html':'src/abn_tree_template.jade' 'test/test_abn_tree.html':'src/test_abn_tree.jade' less: dev: ...
CoffeeScript
nickperkinslondon/angular-bootstrap-nav-tree
Gruntfile.coffee
MIT
5a49539fd007515215e299917629097384b6e545
670
https://github.com/nickperkinslondon/angular-bootstrap-nav-tree/blob/5a49539fd007515215e299917629097384b6e545/Gruntfile.coffee
1
50
nickperkinslondon/angular-bootstrap-nav-tree: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' jade: dev: options: pretty:true files: 'dist/abn_tree_template.html':'src/abn_tree_template.jade' 'test/test_abn_t...
module.exports = function(grunt) { grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), jade: { dev: { options: { pretty: true }, files: { 'dist/abn_tree_template.html': 'src/abn_tree_template.jade', 'test/test_abn_tree.html': 'src/test_abn_t...
CoffeeScript
JavaScript
nickperkinslondon/angular-bootstrap-nav-tree
Gruntfile.coffee
MIT
5a49539fd007515215e299917629097384b6e545
670
https://github.com/nickperkinslondon/angular-bootstrap-nav-tree/blob/5a49539fd007515215e299917629097384b6e545/Gruntfile.coffee
1
50
nickperkinslondon/angular-bootstrap-nav-tree: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'), jade: { dev: { options: { pretty: true }, files: { 'dist/abn_tree_template.html': 'src/abn_tree_template.jade...
module.exports = (grunt)-> grunt.initConfig pkg: grunt.file.readJSON 'package.json' jade: dev: options: pretty:true files: 'dist/abn_tree_template.html':'src/abn_tree_template.jade' 'test/test_abn_tree.html':'src/test_abn_tree.jade' less: dev: ...
JavaScript
CoffeeScript
nickperkinslondon/angular-bootstrap-nav-tree
Gruntfile.coffee
MIT
5a49539fd007515215e299917629097384b6e545
670
https://github.com/nickperkinslondon/angular-bootstrap-nav-tree/blob/5a49539fd007515215e299917629097384b6e545/Gruntfile.coffee
1
50
nickperkinslondon/angular-bootstrap-nav-tree:Gruntfile.coffee:1:completion
completion
module.exports = (grunt)-> grunt.initConfig pkg: grunt.file.readJSON 'package.json' jade: dev: options: pretty:true files: 'dist/abn_tree_template.html':'src/abn_tree_template.jade' 'test/test_abn_tree.html':'src/test_abn_tree.jade' less: dev: ...
bare:true files: 'dist/abn_tree_directive.js':'src/abn_tree_directive.coffee' 'test/test_abn_tree.js':'src/test_abn_tree.coffee' watch: jade: files:['**/*.jade'] tasks:['jade'] options: livereload:true less: files:['**/*.less'] ...
CoffeeScript
CoffeeScript
nickperkinslondon/angular-bootstrap-nav-tree
Gruntfile.coffee
MIT
5a49539fd007515215e299917629097384b6e545
670
https://github.com/nickperkinslondon/angular-bootstrap-nav-tree/blob/5a49539fd007515215e299917629097384b6e545/Gruntfile.coffee
1
50
nickperkinslondon/angular-bootstrap-nav-tree:Gruntfile.coffee:1:raw_corpus
raw_corpus
module.exports = (grunt)-> grunt.initConfig pkg: grunt.file.readJSON 'package.json' jade: dist: options: pretty:true files:[ expand:true src:'src/*.jade' dest:'dist' ext:'*.html' ] less: config: options: bare:true files:[ expand:true src:['src...
CoffeeScript
nickperkinslondon/angular-bootstrap-nav-tree
Gruntfile.coffee
MIT
ffd7fd20da9ed99f9ece0fef0c09b427024d7684
670
https://github.com/nickperkinslondon/angular-bootstrap-nav-tree/blob/ffd7fd20da9ed99f9ece0fef0c09b427024d7684/Gruntfile.coffee
1
50
nickperkinslondon/angular-bootstrap-nav-tree:Gruntfile.coffee:1:completion
completion
module.exports = (grunt)-> grunt.initConfig pkg: grunt.file.readJSON 'package.json' jade: dist: options: pretty:true files:[ expand:true src:'src/*.jade' dest:'dist' ext:'*.html' ] less: config: options: bare:true files:[ expand:true src:['src...
] dev: files: 'main.css':'main.less' coffee: config: options: bare:true files:[ expand:true src:'src/*.coffee' dest:'./dist' ] watch: jade: files:['**/*.jade'] tasks:['jade'] less: files:['**/*.less'] tasks:['less'] coffee: files:['**/*...
CoffeeScript
CoffeeScript
nickperkinslondon/angular-bootstrap-nav-tree
Gruntfile.coffee
MIT
ffd7fd20da9ed99f9ece0fef0c09b427024d7684
670
https://github.com/nickperkinslondon/angular-bootstrap-nav-tree/blob/ffd7fd20da9ed99f9ece0fef0c09b427024d7684/Gruntfile.coffee
1
50
twilson63/express-coffee:src/controllers/posts.coffee:1:raw_corpus
raw_corpus
Post = require '../models/post' # Post model's CRUD controller. module.exports = # Lists all posts index: (req, res) -> Post.find {}, (err, posts) -> res.send posts # Creates new post with data from `req.body` create: (req, res) -> post = new Post req.body post.save (err, post) -> if ...
CoffeeScript
twilson63/express-coffee
src/controllers/posts.coffee
MIT
baedde8ee076605eeaf56dd50eb72fe6d5621f8e
622
https://github.com/twilson63/express-coffee/blob/baedde8ee076605eeaf56dd50eb72fe6d5621f8e/src/controllers/posts.coffee
1
47
twilson63/express-coffee:src/controllers/posts.coffee:1:coffee_to_js
coffee_to_js
Convert this CoffeeScript to JavaScript. ```coffeescript Post = require '../models/post' # Post model's CRUD controller. module.exports = # Lists all posts index: (req, res) -> Post.find {}, (err, posts) -> res.send posts # Creates new post with data from `req.body` create: (req, res) -> post =...
var Post; Post = require('../models/post'); // Post model's CRUD controller. module.exports = { // Lists all posts index: function(req, res) { return Post.find({}, function(err, posts) { return res.send(posts); }); }, // Creates new post with data from `req.body` create: function(req, res) { ...
CoffeeScript
JavaScript
twilson63/express-coffee
src/controllers/posts.coffee
MIT
baedde8ee076605eeaf56dd50eb72fe6d5621f8e
622
https://github.com/twilson63/express-coffee/blob/baedde8ee076605eeaf56dd50eb72fe6d5621f8e/src/controllers/posts.coffee
1
47