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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
elving/swag:src/swag.math.coffee:1:raw_corpus | raw_corpus | Handlebars.registerHelper 'add', (value, addition) ->
value + addition
Handlebars.registerHelper 'subtract', (value, substraction) ->
value - substraction
Handlebars.registerHelper 'divide', (value, divisor) ->
value / divisor
Handlebars.registerHelper 'multiply', (value, multiplier) ->
value * multi... | CoffeeScript | elving/swag | src/swag.math.coffee | MIT | 163af3a070eefe79a32c8239884929e0cae1f589 | 675 | https://github.com/elving/swag/blob/163af3a070eefe79a32c8239884929e0cae1f589/src/swag.math.coffee | 1 | 20 | ||
elving/swag:src/swag.math.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
Handlebars.registerHelper 'add', (value, addition) ->
value + addition
Handlebars.registerHelper 'subtract', (value, substraction) ->
value - substraction
Handlebars.registerHelper 'divide', (value, divisor) ->
value / divisor
Handlebars.registerHe... | Handlebars.registerHelper('add', function(value, addition) {
return value + addition;
});
Handlebars.registerHelper('subtract', function(value, substraction) {
return value - substraction;
});
Handlebars.registerHelper('divide', function(value, divisor) {
return value / divisor;
});
Handlebars.registerHelper('... | CoffeeScript | JavaScript | elving/swag | src/swag.math.coffee | MIT | 163af3a070eefe79a32c8239884929e0cae1f589 | 675 | https://github.com/elving/swag/blob/163af3a070eefe79a32c8239884929e0cae1f589/src/swag.math.coffee | 1 | 20 |
elving/swag:src/swag.math.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
Handlebars.registerHelper('add', function(value, addition) {
return value + addition;
});
Handlebars.registerHelper('subtract', function(value, substraction) {
return value - substraction;
});
Handlebars.registerHelper('divide', function(value, divisor) {
r... | Handlebars.registerHelper 'add', (value, addition) ->
value + addition
Handlebars.registerHelper 'subtract', (value, substraction) ->
value - substraction
Handlebars.registerHelper 'divide', (value, divisor) ->
value / divisor
Handlebars.registerHelper 'multiply', (value, multiplier) ->
value * multi... | JavaScript | CoffeeScript | elving/swag | src/swag.math.coffee | MIT | 163af3a070eefe79a32c8239884929e0cae1f589 | 675 | https://github.com/elving/swag/blob/163af3a070eefe79a32c8239884929e0cae1f589/src/swag.math.coffee | 1 | 20 |
elving/swag:src/swag.math.coffee:1:completion | completion | Handlebars.registerHelper 'add', (value, addition) ->
value + addition
Handlebars.registerHelper 'subtract', (value, substraction) ->
value - substraction
Handlebars.registerHelper 'divide', (value, divisor) ->
value / divisor
Handlebars.registerHelper 'multiply', (value, multiplier) -> | value * multiplier
Handlebars.registerHelper 'floor', (value) ->
Math.floor value
Handlebars.registerHelper 'ceil', (value) ->
Math.ceil value
Handlebars.registerHelper 'round', (value) ->
Math.round value | CoffeeScript | CoffeeScript | elving/swag | src/swag.math.coffee | MIT | 163af3a070eefe79a32c8239884929e0cae1f589 | 675 | https://github.com/elving/swag/blob/163af3a070eefe79a32c8239884929e0cae1f589/src/swag.math.coffee | 1 | 20 |
jianliaoim/talk-os:talk-web/test/spec/handlers/message.spec.coffee:1:raw_corpus | raw_corpus | Immutable = require 'immutable'
describe 'Handlers: message', ->
beforeEach ->
@messageHandler = require 'handlers/message'
@recorder = require 'actions-recorder'
spyOn(@recorder, 'getState')
describe 'Method: remove', ->
beforeEach ->
@notifyActions = require 'actions/notify'
spyOn(@n... | CoffeeScript | jianliaoim/talk-os | talk-web/test/spec/handlers/message.spec.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-web/test/spec/handlers/message.spec.coffee | 1 | 34 | ||
jianliaoim/talk-os:talk-web/test/spec/handlers/message.spec.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
Immutable = require 'immutable'
describe 'Handlers: message', ->
beforeEach ->
@messageHandler = require 'handlers/message'
@recorder = require 'actions-recorder'
spyOn(@recorder, 'getState')
describe 'Method: remove', ->
beforeEach ->
... | var Immutable;
Immutable = require('immutable');
describe('Handlers: message', function() {
beforeEach(function() {
this.messageHandler = require('handlers/message');
this.recorder = require('actions-recorder');
return spyOn(this.recorder, 'getState');
});
return describe('Method: remove', function(... | CoffeeScript | JavaScript | jianliaoim/talk-os | talk-web/test/spec/handlers/message.spec.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-web/test/spec/handlers/message.spec.coffee | 1 | 34 |
jianliaoim/talk-os:talk-web/test/spec/handlers/message.spec.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var Immutable;
Immutable = require('immutable');
describe('Handlers: message', function() {
beforeEach(function() {
this.messageHandler = require('handlers/message');
this.recorder = require('actions-recorder');
return spyOn(this.recorder, 'getState... | Immutable = require 'immutable'
describe 'Handlers: message', ->
beforeEach ->
@messageHandler = require 'handlers/message'
@recorder = require 'actions-recorder'
spyOn(@recorder, 'getState')
describe 'Method: remove', ->
beforeEach ->
@notifyActions = require 'actions/notify'
spyOn(@n... | JavaScript | CoffeeScript | jianliaoim/talk-os | talk-web/test/spec/handlers/message.spec.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-web/test/spec/handlers/message.spec.coffee | 1 | 34 |
jianliaoim/talk-os:talk-web/test/spec/handlers/message.spec.coffee:1:completion | completion | Immutable = require 'immutable'
describe 'Handlers: message', ->
beforeEach ->
@messageHandler = require 'handlers/message'
@recorder = require 'actions-recorder'
spyOn(@recorder, 'getState')
describe 'Method: remove', ->
beforeEach ->
@notifyActions = require 'actions/notify'
spyOn(@n... | messages:
teamId1:
roomId2: [
_id: 'messageId4'
attachments: [
_id: 'attachmentId3'
]
]
@recorder.getState.and.returnValue store
actionData = Immutable.fromJS
_teamId: "teamId1"
_roomId: "roomId2"
... | CoffeeScript | CoffeeScript | jianliaoim/talk-os | talk-web/test/spec/handlers/message.spec.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-web/test/spec/handlers/message.spec.coffee | 1 | 34 |
oozcitak/xmlbuilder-js:test/issues/222.coffee:1:raw_corpus | raw_corpus | suite 'Tests specific to issues:', ->
test 'Issue #222: Cant remove attribute heired from root', ->
uuid = "24ff5e22-09af-42cc-aaf6-b475137e6304"
xml = builder.begin({ encoding: 'utf-8' }).ele({
"AuthnRequest": {
"@ID": uuid,
"@Version": "2.0",
"@IssueInstant": "2019-07-... | CoffeeScript | oozcitak/xmlbuilder-js | test/issues/222.coffee | MIT | ce625aeb9f52d1f75d5d94260794d3b5fd74a8b1 | 926 | https://github.com/oozcitak/xmlbuilder-js/blob/ce625aeb9f52d1f75d5d94260794d3b5fd74a8b1/test/issues/222.coffee | 1 | 49 | ||
oozcitak/xmlbuilder-js:test/issues/222.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
suite 'Tests specific to issues:', ->
test 'Issue #222: Cant remove attribute heired from root', ->
uuid = "24ff5e22-09af-42cc-aaf6-b475137e6304"
xml = builder.begin({ encoding: 'utf-8' }).ele({
"AuthnRequest": {
"@ID": uuid,
... | suite('Tests specific to issues:', function() {
return test('Issue #222: Cant remove attribute heired from root', function() {
var uuid, xml;
uuid = "24ff5e22-09af-42cc-aaf6-b475137e6304";
xml = builder.begin({
encoding: 'utf-8'
}).ele({
"AuthnRequest": {
"@ID": uuid,
"@Ver... | CoffeeScript | JavaScript | oozcitak/xmlbuilder-js | test/issues/222.coffee | MIT | ce625aeb9f52d1f75d5d94260794d3b5fd74a8b1 | 926 | https://github.com/oozcitak/xmlbuilder-js/blob/ce625aeb9f52d1f75d5d94260794d3b5fd74a8b1/test/issues/222.coffee | 1 | 49 |
oozcitak/xmlbuilder-js:test/issues/222.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
suite('Tests specific to issues:', function() {
return test('Issue #222: Cant remove attribute heired from root', function() {
var uuid, xml;
uuid = "24ff5e22-09af-42cc-aaf6-b475137e6304";
xml = builder.begin({
encoding: 'utf-8'
}).ele({
... | suite 'Tests specific to issues:', ->
test 'Issue #222: Cant remove attribute heired from root', ->
uuid = "24ff5e22-09af-42cc-aaf6-b475137e6304"
xml = builder.begin({ encoding: 'utf-8' }).ele({
"AuthnRequest": {
"@ID": uuid,
"@Version": "2.0",
"@IssueInstant": "2019-07-... | JavaScript | CoffeeScript | oozcitak/xmlbuilder-js | test/issues/222.coffee | MIT | ce625aeb9f52d1f75d5d94260794d3b5fd74a8b1 | 926 | https://github.com/oozcitak/xmlbuilder-js/blob/ce625aeb9f52d1f75d5d94260794d3b5fd74a8b1/test/issues/222.coffee | 1 | 49 |
oozcitak/xmlbuilder-js:test/issues/222.coffee:1:completion | completion | suite 'Tests specific to issues:', ->
test 'Issue #222: Cant remove attribute heired from root', ->
uuid = "24ff5e22-09af-42cc-aaf6-b475137e6304"
xml = builder.begin({ encoding: 'utf-8' }).ele({
"AuthnRequest": {
"@ID": uuid,
"@Version": "2.0",
"@IssueInstant": "2019-07-... | ).ele(
"fa:RequestedAttributes", {
"xmlns:fa": "http://autenticacao.cartaodecidadao.pt/atributos"
}
).ele(
"fa:RequestedAttribute", {
"Name": "http://interop.gov.pt/MDC/Cidadao/NIC", "NameFormat": "urn:oasis:names:tc:SAML:2.0:attrname-format:uri"
}
)
.... | CoffeeScript | CoffeeScript | oozcitak/xmlbuilder-js | test/issues/222.coffee | MIT | ce625aeb9f52d1f75d5d94260794d3b5fd74a8b1 | 926 | https://github.com/oozcitak/xmlbuilder-js/blob/ce625aeb9f52d1f75d5d94260794d3b5fd74a8b1/test/issues/222.coffee | 1 | 49 |
jianliaoim/talk-os:talk-web/test/spec/network/storage.spec.coffee:1:raw_corpus | raw_corpus | Immutable = require 'immutable'
describe 'storage', ->
beforeunloadCB = null
beforeEach ->
spyOn window, 'addEventListener'
@storage = require 'network/storage'
@recorder = require 'actions-recorder'
@schema = require 'schema'
spyOn(@recorder, 'getState')
beforeunloadCB = window.addEven... | CoffeeScript | jianliaoim/talk-os | talk-web/test/spec/network/storage.spec.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-web/test/spec/network/storage.spec.coffee | 1 | 50 | ||
jianliaoim/talk-os:talk-web/test/spec/network/storage.spec.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
Immutable = require 'immutable'
describe 'storage', ->
beforeunloadCB = null
beforeEach ->
spyOn window, 'addEventListener'
@storage = require 'network/storage'
@recorder = require 'actions-recorder'
@schema = require 'schema'
spyOn(@r... | var Immutable;
Immutable = require('immutable');
describe('storage', function() {
var beforeunloadCB;
beforeunloadCB = null;
beforeEach(function() {
spyOn(window, 'addEventListener');
this.storage = require('network/storage');
this.recorder = require('actions-recorder');
this.schema = require('s... | CoffeeScript | JavaScript | jianliaoim/talk-os | talk-web/test/spec/network/storage.spec.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-web/test/spec/network/storage.spec.coffee | 1 | 50 |
jianliaoim/talk-os:talk-web/test/spec/network/storage.spec.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var Immutable;
Immutable = require('immutable');
describe('storage', function() {
var beforeunloadCB;
beforeunloadCB = null;
beforeEach(function() {
spyOn(window, 'addEventListener');
this.storage = require('network/storage');
this.recorder = re... | Immutable = require 'immutable'
describe 'storage', ->
beforeunloadCB = null
beforeEach ->
spyOn window, 'addEventListener'
@storage = require 'network/storage'
@recorder = require 'actions-recorder'
@schema = require 'schema'
spyOn(@recorder, 'getState')
beforeunloadCB = window.addEven... | JavaScript | CoffeeScript | jianliaoim/talk-os | talk-web/test/spec/network/storage.spec.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-web/test/spec/network/storage.spec.coffee | 1 | 50 |
jianliaoim/talk-os:talk-web/test/spec/network/storage.spec.coffee:1:completion | completion | Immutable = require 'immutable'
describe 'storage', ->
beforeunloadCB = null
beforeEach ->
spyOn window, 'addEventListener'
@storage = require 'network/storage'
@recorder = require 'actions-recorder'
@schema = require 'schema'
spyOn(@recorder, 'getState')
beforeunloadCB = window.addEven... | # localStorage cleared after logout
settings:
isLoggedIn: true
@recorder.getState.and.returnValue store
it 'should add beforeunload', ->
expect(window.addEventListener.calls.mostRecent().args[0]).toBe 'beforeunload'
it 'should add store to localStorage', ->
beforeunloadCB(... | CoffeeScript | CoffeeScript | jianliaoim/talk-os | talk-web/test/spec/network/storage.spec.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-web/test/spec/network/storage.spec.coffee | 1 | 50 |
jianliaoim/talk-os:talk-web/test/spec/network/storage.spec.coffee:2:raw_corpus | raw_corpus | afterEach ->
localStorage.clear()
it 'should get empty Map if localStorage is empty', ->
localStorage.clear()
expect(@storage.get()).toEqualImmutable Immutable.Map()
it 'should get data', ->
localStorage.setItem 'jianliaoStoreV3', JSON.stringify({a: 1})
expect(@storage.get()).toE... | CoffeeScript | jianliaoim/talk-os | talk-web/test/spec/network/storage.spec.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-web/test/spec/network/storage.spec.coffee | 51 | 60 | ||
jianliaoim/talk-os:talk-web/test/spec/network/storage.spec.coffee:2:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
afterEach ->
localStorage.clear()
it 'should get empty Map if localStorage is empty', ->
localStorage.clear()
expect(@storage.get()).toEqualImmutable Immutable.Map()
it 'should get data', ->
localStorage.setItem 'jianliaoStoreV3'... | afterEach(function() {
return localStorage.clear();
});
it('should get empty Map if localStorage is empty', function() {
localStorage.clear();
return expect(this.storage.get()).toEqualImmutable(Immutable.Map());
});
it('should get data', function() {
localStorage.setItem('jianliaoStoreV3', JSON.stringify({
... | CoffeeScript | JavaScript | jianliaoim/talk-os | talk-web/test/spec/network/storage.spec.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-web/test/spec/network/storage.spec.coffee | 51 | 60 |
jianliaoim/talk-os:talk-web/test/spec/network/storage.spec.coffee:2:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
afterEach(function() {
return localStorage.clear();
});
it('should get empty Map if localStorage is empty', function() {
localStorage.clear();
return expect(this.storage.get()).toEqualImmutable(Immutable.Map());
});
it('should get data', function() {
loca... | afterEach ->
localStorage.clear()
it 'should get empty Map if localStorage is empty', ->
localStorage.clear()
expect(@storage.get()).toEqualImmutable Immutable.Map()
it 'should get data', ->
localStorage.setItem 'jianliaoStoreV3', JSON.stringify({a: 1})
expect(@storage.get()).toE... | JavaScript | CoffeeScript | jianliaoim/talk-os | talk-web/test/spec/network/storage.spec.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-web/test/spec/network/storage.spec.coffee | 51 | 60 |
jianliaoim/talk-os:talk-web/test/spec/network/storage.spec.coffee:2:completion | completion | afterEach ->
localStorage.clear()
it 'should get empty Map if localStorage is empty', ->
localStorage.clear() | expect(@storage.get()).toEqualImmutable Immutable.Map()
it 'should get data', ->
localStorage.setItem 'jianliaoStoreV3', JSON.stringify({a: 1})
expect(@storage.get()).toEqualImmutable Immutable.Map({a: 1}) | CoffeeScript | CoffeeScript | jianliaoim/talk-os | talk-web/test/spec/network/storage.spec.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-web/test/spec/network/storage.spec.coffee | 51 | 60 |
kelp404/angular-form-builder:test/karma-ng1.2-jq2.config.coffee:1:raw_corpus | raw_corpus | module.exports = (config) ->
config.set
# base path, that will be used to resolve files and exclude
basePath: '../'
frameworks: ['jasmine']
# list of files / patterns to load in the browser
files: [
'test/lib/angularjs/angular.min.js'
'test/lib/angul... | CoffeeScript | kelp404/angular-form-builder | test/karma-ng1.2-jq2.config.coffee | MIT | c9351ddb9464fe548cee4dabae4596df2a7af5a1 | 600 | https://github.com/kelp404/angular-form-builder/blob/c9351ddb9464fe548cee4dabae4596df2a7af5a1/test/karma-ng1.2-jq2.config.coffee | 1 | 50 | ||
kelp404/angular-form-builder:test/karma-ng1.2-jq2.config.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
module.exports = (config) ->
config.set
# base path, that will be used to resolve files and exclude
basePath: '../'
frameworks: ['jasmine']
# list of files / patterns to load in the browser
files: [
'test/... | module.exports = function(config) {
return config.set({
// base path, that will be used to resolve files and exclude
basePath: '../',
frameworks: ['jasmine'],
// list of files / patterns to load in the browser
files: ['test/lib/angularjs/angular.min.js', 'test/lib/angularjs/angular-mocks.js', 'tes... | CoffeeScript | JavaScript | kelp404/angular-form-builder | test/karma-ng1.2-jq2.config.coffee | MIT | c9351ddb9464fe548cee4dabae4596df2a7af5a1 | 600 | https://github.com/kelp404/angular-form-builder/blob/c9351ddb9464fe548cee4dabae4596df2a7af5a1/test/karma-ng1.2-jq2.config.coffee | 1 | 50 |
kelp404/angular-form-builder:test/karma-ng1.2-jq2.config.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
module.exports = function(config) {
return config.set({
// base path, that will be used to resolve files and exclude
basePath: '../',
frameworks: ['jasmine'],
// list of files / patterns to load in the browser
files: ['test/lib/angularjs/angul... | module.exports = (config) ->
config.set
# base path, that will be used to resolve files and exclude
basePath: '../'
frameworks: ['jasmine']
# list of files / patterns to load in the browser
files: [
'test/lib/angularjs/angular.min.js'
'test/lib/angul... | JavaScript | CoffeeScript | kelp404/angular-form-builder | test/karma-ng1.2-jq2.config.coffee | MIT | c9351ddb9464fe548cee4dabae4596df2a7af5a1 | 600 | https://github.com/kelp404/angular-form-builder/blob/c9351ddb9464fe548cee4dabae4596df2a7af5a1/test/karma-ng1.2-jq2.config.coffee | 1 | 50 |
kelp404/angular-form-builder:test/karma-ng1.2-jq2.config.coffee:1:raw_corpus | raw_corpus | module.exports = (config) ->
config.set
# base path, that will be used to resolve files and exclude
basePath: '../'
frameworks: ['jasmine']
# list of files / patterns to load in the browser
files: [
'test/lib/angularjs/angular.1.2.12.min.js'
'test/li... | CoffeeScript | kelp404/angular-form-builder | test/karma-ng1.2-jq2.config.coffee | MIT | 13ce5d1a821f1632e600aefad8b2a37587726a57 | 600 | https://github.com/kelp404/angular-form-builder/blob/13ce5d1a821f1632e600aefad8b2a37587726a57/test/karma-ng1.2-jq2.config.coffee | 1 | 50 | ||
kelp404/angular-form-builder:test/karma-ng1.2-jq2.config.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
module.exports = (config) ->
config.set
# base path, that will be used to resolve files and exclude
basePath: '../'
frameworks: ['jasmine']
# list of files / patterns to load in the browser
files: [
'test/... | module.exports = function(config) {
return config.set({
// base path, that will be used to resolve files and exclude
basePath: '../',
frameworks: ['jasmine'],
// list of files / patterns to load in the browser
files: ['test/lib/angularjs/angular.1.2.12.min.js', 'test/lib/angularjs/angular-mocks.1.... | CoffeeScript | JavaScript | kelp404/angular-form-builder | test/karma-ng1.2-jq2.config.coffee | MIT | 13ce5d1a821f1632e600aefad8b2a37587726a57 | 600 | https://github.com/kelp404/angular-form-builder/blob/13ce5d1a821f1632e600aefad8b2a37587726a57/test/karma-ng1.2-jq2.config.coffee | 1 | 50 |
kelp404/angular-form-builder:test/karma-ng1.2-jq2.config.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
module.exports = function(config) {
return config.set({
// base path, that will be used to resolve files and exclude
basePath: '../',
frameworks: ['jasmine'],
// list of files / patterns to load in the browser
files: ['test/lib/angularjs/angul... | module.exports = (config) ->
config.set
# base path, that will be used to resolve files and exclude
basePath: '../'
frameworks: ['jasmine']
# list of files / patterns to load in the browser
files: [
'test/lib/angularjs/angular.1.2.12.min.js'
'test/li... | JavaScript | CoffeeScript | kelp404/angular-form-builder | test/karma-ng1.2-jq2.config.coffee | MIT | 13ce5d1a821f1632e600aefad8b2a37587726a57 | 600 | https://github.com/kelp404/angular-form-builder/blob/13ce5d1a821f1632e600aefad8b2a37587726a57/test/karma-ng1.2-jq2.config.coffee | 1 | 50 |
kelp404/angular-form-builder:test/karma-ng1.2-jq2.config.coffee:1:raw_corpus | raw_corpus | module.exports = (config) ->
config.set
# base path, that will be used to resolve files and exclude
basePath: '../'
frameworks: ['jasmine']
# list of files / patterns to load in the browser
files: [
'test/lib/angularjs/angular.1.2.11.min.js'
'test/li... | CoffeeScript | kelp404/angular-form-builder | test/karma-ng1.2-jq2.config.coffee | MIT | 6076ed551d4903244a8a3910a3d957c2291a227f | 600 | https://github.com/kelp404/angular-form-builder/blob/6076ed551d4903244a8a3910a3d957c2291a227f/test/karma-ng1.2-jq2.config.coffee | 1 | 50 | ||
kelp404/angular-form-builder:test/karma-ng1.2-jq2.config.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
module.exports = (config) ->
config.set
# base path, that will be used to resolve files and exclude
basePath: '../'
frameworks: ['jasmine']
# list of files / patterns to load in the browser
files: [
'test/... | module.exports = function(config) {
return config.set({
// base path, that will be used to resolve files and exclude
basePath: '../',
frameworks: ['jasmine'],
// list of files / patterns to load in the browser
files: ['test/lib/angularjs/angular.1.2.11.min.js', 'test/lib/angularjs/angular-mocks.1.... | CoffeeScript | JavaScript | kelp404/angular-form-builder | test/karma-ng1.2-jq2.config.coffee | MIT | 6076ed551d4903244a8a3910a3d957c2291a227f | 600 | https://github.com/kelp404/angular-form-builder/blob/6076ed551d4903244a8a3910a3d957c2291a227f/test/karma-ng1.2-jq2.config.coffee | 1 | 50 |
kelp404/angular-form-builder:test/karma-ng1.2-jq2.config.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
module.exports = function(config) {
return config.set({
// base path, that will be used to resolve files and exclude
basePath: '../',
frameworks: ['jasmine'],
// list of files / patterns to load in the browser
files: ['test/lib/angularjs/angul... | module.exports = (config) ->
config.set
# base path, that will be used to resolve files and exclude
basePath: '../'
frameworks: ['jasmine']
# list of files / patterns to load in the browser
files: [
'test/lib/angularjs/angular.1.2.11.min.js'
'test/li... | JavaScript | CoffeeScript | kelp404/angular-form-builder | test/karma-ng1.2-jq2.config.coffee | MIT | 6076ed551d4903244a8a3910a3d957c2291a227f | 600 | https://github.com/kelp404/angular-form-builder/blob/6076ed551d4903244a8a3910a3d957c2291a227f/test/karma-ng1.2-jq2.config.coffee | 1 | 50 |
kelp404/angular-form-builder:test/karma-ng1.2-jq2.config.coffee:1:raw_corpus | raw_corpus | module.exports = (config) ->
config.set
# base path, that will be used to resolve files and exclude
basePath: '../'
frameworks: ['jasmine']
# list of files / patterns to load in the browser
files: [
'test/lib/angularjs/angular.1.2.9.min.js'
'test/lib... | CoffeeScript | kelp404/angular-form-builder | test/karma-ng1.2-jq2.config.coffee | MIT | 2420d0bf4f0593b45949c56d608d98eef242a28c | 600 | https://github.com/kelp404/angular-form-builder/blob/2420d0bf4f0593b45949c56d608d98eef242a28c/test/karma-ng1.2-jq2.config.coffee | 1 | 50 | ||
kelp404/angular-form-builder:test/karma-ng1.2-jq2.config.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
module.exports = (config) ->
config.set
# base path, that will be used to resolve files and exclude
basePath: '../'
frameworks: ['jasmine']
# list of files / patterns to load in the browser
files: [
'test/... | module.exports = function(config) {
return config.set({
// base path, that will be used to resolve files and exclude
basePath: '../',
frameworks: ['jasmine'],
// list of files / patterns to load in the browser
files: ['test/lib/angularjs/angular.1.2.9.min.js', 'test/lib/angularjs/angular-mocks.1.2... | CoffeeScript | JavaScript | kelp404/angular-form-builder | test/karma-ng1.2-jq2.config.coffee | MIT | 2420d0bf4f0593b45949c56d608d98eef242a28c | 600 | https://github.com/kelp404/angular-form-builder/blob/2420d0bf4f0593b45949c56d608d98eef242a28c/test/karma-ng1.2-jq2.config.coffee | 1 | 50 |
kelp404/angular-form-builder:test/karma-ng1.2-jq2.config.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
module.exports = function(config) {
return config.set({
// base path, that will be used to resolve files and exclude
basePath: '../',
frameworks: ['jasmine'],
// list of files / patterns to load in the browser
files: ['test/lib/angularjs/angul... | module.exports = (config) ->
config.set
# base path, that will be used to resolve files and exclude
basePath: '../'
frameworks: ['jasmine']
# list of files / patterns to load in the browser
files: [
'test/lib/angularjs/angular.1.2.9.min.js'
'test/lib... | JavaScript | CoffeeScript | kelp404/angular-form-builder | test/karma-ng1.2-jq2.config.coffee | MIT | 2420d0bf4f0593b45949c56d608d98eef242a28c | 600 | https://github.com/kelp404/angular-form-builder/blob/2420d0bf4f0593b45949c56d608d98eef242a28c/test/karma-ng1.2-jq2.config.coffee | 1 | 50 |
kelp404/angular-form-builder:test/karma-ng1.2-jq2.config.coffee:1:raw_corpus | raw_corpus | module.exports = (config) ->
config.set
# base path, that will be used to resolve files and exclude
basePath: '../'
frameworks: ['jasmine']
# list of files / patterns to load in the browser
files: [
'test/lib/angularjs/angular.1.2.7.min.js'
'test/lib... | CoffeeScript | kelp404/angular-form-builder | test/karma-ng1.2-jq2.config.coffee | MIT | ae5b27b25c7172fefc5f3c0b30ca2bce3fdc1391 | 600 | https://github.com/kelp404/angular-form-builder/blob/ae5b27b25c7172fefc5f3c0b30ca2bce3fdc1391/test/karma-ng1.2-jq2.config.coffee | 1 | 50 | ||
kelp404/angular-form-builder:test/karma-ng1.2-jq2.config.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
module.exports = (config) ->
config.set
# base path, that will be used to resolve files and exclude
basePath: '../'
frameworks: ['jasmine']
# list of files / patterns to load in the browser
files: [
'test/... | module.exports = function(config) {
return config.set({
// base path, that will be used to resolve files and exclude
basePath: '../',
frameworks: ['jasmine'],
// list of files / patterns to load in the browser
files: ['test/lib/angularjs/angular.1.2.7.min.js', 'test/lib/angularjs/angular-mocks.1.2... | CoffeeScript | JavaScript | kelp404/angular-form-builder | test/karma-ng1.2-jq2.config.coffee | MIT | ae5b27b25c7172fefc5f3c0b30ca2bce3fdc1391 | 600 | https://github.com/kelp404/angular-form-builder/blob/ae5b27b25c7172fefc5f3c0b30ca2bce3fdc1391/test/karma-ng1.2-jq2.config.coffee | 1 | 50 |
kelp404/angular-form-builder:test/karma-ng1.2-jq2.config.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
module.exports = function(config) {
return config.set({
// base path, that will be used to resolve files and exclude
basePath: '../',
frameworks: ['jasmine'],
// list of files / patterns to load in the browser
files: ['test/lib/angularjs/angul... | module.exports = (config) ->
config.set
# base path, that will be used to resolve files and exclude
basePath: '../'
frameworks: ['jasmine']
# list of files / patterns to load in the browser
files: [
'test/lib/angularjs/angular.1.2.7.min.js'
'test/lib... | JavaScript | CoffeeScript | kelp404/angular-form-builder | test/karma-ng1.2-jq2.config.coffee | MIT | ae5b27b25c7172fefc5f3c0b30ca2bce3fdc1391 | 600 | https://github.com/kelp404/angular-form-builder/blob/ae5b27b25c7172fefc5f3c0b30ca2bce3fdc1391/test/karma-ng1.2-jq2.config.coffee | 1 | 50 |
kelp404/angular-form-builder:test/karma-ng1.2-jq2.config.coffee:1:raw_corpus | raw_corpus | module.exports = (config) ->
config.set
# base path, that will be used to resolve files and exclude
basePath: '../'
frameworks: ['jasmine']
# list of files / patterns to load in the browser
files: [
'test/lib/angularjs/angular.1.2.6.min.js'
'test/lib... | CoffeeScript | kelp404/angular-form-builder | test/karma-ng1.2-jq2.config.coffee | MIT | eba9a50b6db97462bbb0e173a012c5f8962cd016 | 600 | https://github.com/kelp404/angular-form-builder/blob/eba9a50b6db97462bbb0e173a012c5f8962cd016/test/karma-ng1.2-jq2.config.coffee | 1 | 50 | ||
kelp404/angular-form-builder:test/karma-ng1.2-jq2.config.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
module.exports = (config) ->
config.set
# base path, that will be used to resolve files and exclude
basePath: '../'
frameworks: ['jasmine']
# list of files / patterns to load in the browser
files: [
'test/... | module.exports = function(config) {
return config.set({
// base path, that will be used to resolve files and exclude
basePath: '../',
frameworks: ['jasmine'],
// list of files / patterns to load in the browser
files: ['test/lib/angularjs/angular.1.2.6.min.js', 'test/lib/angularjs/angular-mocks.1.2... | CoffeeScript | JavaScript | kelp404/angular-form-builder | test/karma-ng1.2-jq2.config.coffee | MIT | eba9a50b6db97462bbb0e173a012c5f8962cd016 | 600 | https://github.com/kelp404/angular-form-builder/blob/eba9a50b6db97462bbb0e173a012c5f8962cd016/test/karma-ng1.2-jq2.config.coffee | 1 | 50 |
kelp404/angular-form-builder:test/karma-ng1.2-jq2.config.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
module.exports = function(config) {
return config.set({
// base path, that will be used to resolve files and exclude
basePath: '../',
frameworks: ['jasmine'],
// list of files / patterns to load in the browser
files: ['test/lib/angularjs/angul... | module.exports = (config) ->
config.set
# base path, that will be used to resolve files and exclude
basePath: '../'
frameworks: ['jasmine']
# list of files / patterns to load in the browser
files: [
'test/lib/angularjs/angular.1.2.6.min.js'
'test/lib... | JavaScript | CoffeeScript | kelp404/angular-form-builder | test/karma-ng1.2-jq2.config.coffee | MIT | eba9a50b6db97462bbb0e173a012c5f8962cd016 | 600 | https://github.com/kelp404/angular-form-builder/blob/eba9a50b6db97462bbb0e173a012c5f8962cd016/test/karma-ng1.2-jq2.config.coffee | 1 | 50 |
kelp404/angular-form-builder:test/karma-ng1.2-jq2.config.coffee:1:raw_corpus | raw_corpus | module.exports = (config) ->
config.set
# base path, that will be used to resolve files and exclude
basePath: '../'
frameworks: ['jasmine']
# list of files / patterns to load in the browser
files: [
'test/lib/angularjs/angular.1.2.5.min.js'
'test/lib... | CoffeeScript | kelp404/angular-form-builder | test/karma-ng1.2-jq2.config.coffee | MIT | 507fc679e062dc50bf7bc18f79823f9ba5bb6d8e | 600 | https://github.com/kelp404/angular-form-builder/blob/507fc679e062dc50bf7bc18f79823f9ba5bb6d8e/test/karma-ng1.2-jq2.config.coffee | 1 | 50 | ||
kelp404/angular-form-builder:test/karma-ng1.2-jq2.config.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
module.exports = (config) ->
config.set
# base path, that will be used to resolve files and exclude
basePath: '../'
frameworks: ['jasmine']
# list of files / patterns to load in the browser
files: [
'test/... | module.exports = function(config) {
return config.set({
// base path, that will be used to resolve files and exclude
basePath: '../',
frameworks: ['jasmine'],
// list of files / patterns to load in the browser
files: ['test/lib/angularjs/angular.1.2.5.min.js', 'test/lib/angularjs/angular-mocks.1.2... | CoffeeScript | JavaScript | kelp404/angular-form-builder | test/karma-ng1.2-jq2.config.coffee | MIT | 507fc679e062dc50bf7bc18f79823f9ba5bb6d8e | 600 | https://github.com/kelp404/angular-form-builder/blob/507fc679e062dc50bf7bc18f79823f9ba5bb6d8e/test/karma-ng1.2-jq2.config.coffee | 1 | 50 |
kelp404/angular-form-builder:test/karma-ng1.2-jq2.config.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
module.exports = function(config) {
return config.set({
// base path, that will be used to resolve files and exclude
basePath: '../',
frameworks: ['jasmine'],
// list of files / patterns to load in the browser
files: ['test/lib/angularjs/angul... | module.exports = (config) ->
config.set
# base path, that will be used to resolve files and exclude
basePath: '../'
frameworks: ['jasmine']
# list of files / patterns to load in the browser
files: [
'test/lib/angularjs/angular.1.2.5.min.js'
'test/lib... | JavaScript | CoffeeScript | kelp404/angular-form-builder | test/karma-ng1.2-jq2.config.coffee | MIT | 507fc679e062dc50bf7bc18f79823f9ba5bb6d8e | 600 | https://github.com/kelp404/angular-form-builder/blob/507fc679e062dc50bf7bc18f79823f9ba5bb6d8e/test/karma-ng1.2-jq2.config.coffee | 1 | 50 |
kelp404/angular-form-builder:test/karma-ng1.2-jq2.config.coffee:1:raw_corpus | raw_corpus | module.exports = (config) ->
config.set
# base path, that will be used to resolve files and exclude
basePath: '../'
frameworks: ['jasmine']
# list of files / patterns to load in the browser
files: [
'test/lib/angularjs/angular.1.2.4.min.js'
'test/lib... | CoffeeScript | kelp404/angular-form-builder | test/karma-ng1.2-jq2.config.coffee | MIT | bdcf44a230bfd29a835f3014c32867a846fed261 | 600 | https://github.com/kelp404/angular-form-builder/blob/bdcf44a230bfd29a835f3014c32867a846fed261/test/karma-ng1.2-jq2.config.coffee | 1 | 50 | ||
kelp404/angular-form-builder:test/karma-ng1.2-jq2.config.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
module.exports = (config) ->
config.set
# base path, that will be used to resolve files and exclude
basePath: '../'
frameworks: ['jasmine']
# list of files / patterns to load in the browser
files: [
'test/... | module.exports = function(config) {
return config.set({
// base path, that will be used to resolve files and exclude
basePath: '../',
frameworks: ['jasmine'],
// list of files / patterns to load in the browser
files: ['test/lib/angularjs/angular.1.2.4.min.js', 'test/lib/angularjs/angular-mocks.1.2... | CoffeeScript | JavaScript | kelp404/angular-form-builder | test/karma-ng1.2-jq2.config.coffee | MIT | bdcf44a230bfd29a835f3014c32867a846fed261 | 600 | https://github.com/kelp404/angular-form-builder/blob/bdcf44a230bfd29a835f3014c32867a846fed261/test/karma-ng1.2-jq2.config.coffee | 1 | 50 |
kelp404/angular-form-builder:test/karma-ng1.2-jq2.config.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
module.exports = function(config) {
return config.set({
// base path, that will be used to resolve files and exclude
basePath: '../',
frameworks: ['jasmine'],
// list of files / patterns to load in the browser
files: ['test/lib/angularjs/angul... | module.exports = (config) ->
config.set
# base path, that will be used to resolve files and exclude
basePath: '../'
frameworks: ['jasmine']
# list of files / patterns to load in the browser
files: [
'test/lib/angularjs/angular.1.2.4.min.js'
'test/lib... | JavaScript | CoffeeScript | kelp404/angular-form-builder | test/karma-ng1.2-jq2.config.coffee | MIT | bdcf44a230bfd29a835f3014c32867a846fed261 | 600 | https://github.com/kelp404/angular-form-builder/blob/bdcf44a230bfd29a835f3014c32867a846fed261/test/karma-ng1.2-jq2.config.coffee | 1 | 50 |
kelp404/angular-form-builder:test/karma-ng1.2-jq2.config.coffee:1:raw_corpus | raw_corpus | module.exports = (config) ->
config.set
# base path, that will be used to resolve files and exclude
basePath: '../'
frameworks: ['jasmine']
# list of files / patterns to load in the browser
files: [
'test/lib/angularjs/angular.1.2.3.min.js'
'test/lib... | CoffeeScript | kelp404/angular-form-builder | test/karma-ng1.2-jq2.config.coffee | MIT | 1d5b0faba194563a27fae4ef93f8831d5903523b | 600 | https://github.com/kelp404/angular-form-builder/blob/1d5b0faba194563a27fae4ef93f8831d5903523b/test/karma-ng1.2-jq2.config.coffee | 1 | 50 | ||
kelp404/angular-form-builder:test/karma-ng1.2-jq2.config.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
module.exports = (config) ->
config.set
# base path, that will be used to resolve files and exclude
basePath: '../'
frameworks: ['jasmine']
# list of files / patterns to load in the browser
files: [
'test/... | module.exports = function(config) {
return config.set({
// base path, that will be used to resolve files and exclude
basePath: '../',
frameworks: ['jasmine'],
// list of files / patterns to load in the browser
files: ['test/lib/angularjs/angular.1.2.3.min.js', 'test/lib/angularjs/angular-mocks.1.2... | CoffeeScript | JavaScript | kelp404/angular-form-builder | test/karma-ng1.2-jq2.config.coffee | MIT | 1d5b0faba194563a27fae4ef93f8831d5903523b | 600 | https://github.com/kelp404/angular-form-builder/blob/1d5b0faba194563a27fae4ef93f8831d5903523b/test/karma-ng1.2-jq2.config.coffee | 1 | 50 |
kelp404/angular-form-builder:test/karma-ng1.2-jq2.config.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
module.exports = function(config) {
return config.set({
// base path, that will be used to resolve files and exclude
basePath: '../',
frameworks: ['jasmine'],
// list of files / patterns to load in the browser
files: ['test/lib/angularjs/angul... | module.exports = (config) ->
config.set
# base path, that will be used to resolve files and exclude
basePath: '../'
frameworks: ['jasmine']
# list of files / patterns to load in the browser
files: [
'test/lib/angularjs/angular.1.2.3.min.js'
'test/lib... | JavaScript | CoffeeScript | kelp404/angular-form-builder | test/karma-ng1.2-jq2.config.coffee | MIT | 1d5b0faba194563a27fae4ef93f8831d5903523b | 600 | https://github.com/kelp404/angular-form-builder/blob/1d5b0faba194563a27fae4ef93f8831d5903523b/test/karma-ng1.2-jq2.config.coffee | 1 | 50 |
kelp404/angular-form-builder:test/karma-ng1.2-jq2.config.coffee:1:raw_corpus | raw_corpus | module.exports = (config) ->
config.set
# base path, that will be used to resolve files and exclude
basePath: '../'
frameworks: ['jasmine']
# list of files / patterns to load in the browser
files: [
'test/lib/angularjs/angular.1.2.2.min.js'
'test/lib... | CoffeeScript | kelp404/angular-form-builder | test/karma-ng1.2-jq2.config.coffee | MIT | 16a475621c975cf4af9f1b205a841de96d4c9878 | 600 | https://github.com/kelp404/angular-form-builder/blob/16a475621c975cf4af9f1b205a841de96d4c9878/test/karma-ng1.2-jq2.config.coffee | 1 | 50 | ||
kelp404/angular-form-builder:test/karma-ng1.2-jq2.config.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
module.exports = (config) ->
config.set
# base path, that will be used to resolve files and exclude
basePath: '../'
frameworks: ['jasmine']
# list of files / patterns to load in the browser
files: [
'test/... | module.exports = function(config) {
return config.set({
// base path, that will be used to resolve files and exclude
basePath: '../',
frameworks: ['jasmine'],
// list of files / patterns to load in the browser
files: ['test/lib/angularjs/angular.1.2.2.min.js', 'test/lib/angularjs/angular-mocks.1.2... | CoffeeScript | JavaScript | kelp404/angular-form-builder | test/karma-ng1.2-jq2.config.coffee | MIT | 16a475621c975cf4af9f1b205a841de96d4c9878 | 600 | https://github.com/kelp404/angular-form-builder/blob/16a475621c975cf4af9f1b205a841de96d4c9878/test/karma-ng1.2-jq2.config.coffee | 1 | 50 |
kelp404/angular-form-builder:test/karma-ng1.2-jq2.config.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
module.exports = function(config) {
return config.set({
// base path, that will be used to resolve files and exclude
basePath: '../',
frameworks: ['jasmine'],
// list of files / patterns to load in the browser
files: ['test/lib/angularjs/angul... | module.exports = (config) ->
config.set
# base path, that will be used to resolve files and exclude
basePath: '../'
frameworks: ['jasmine']
# list of files / patterns to load in the browser
files: [
'test/lib/angularjs/angular.1.2.2.min.js'
'test/lib... | JavaScript | CoffeeScript | kelp404/angular-form-builder | test/karma-ng1.2-jq2.config.coffee | MIT | 16a475621c975cf4af9f1b205a841de96d4c9878 | 600 | https://github.com/kelp404/angular-form-builder/blob/16a475621c975cf4af9f1b205a841de96d4c9878/test/karma-ng1.2-jq2.config.coffee | 1 | 50 |
kelp404/angular-form-builder:test/karma-ng1.2-jq2.config.coffee:1:raw_corpus | raw_corpus | module.exports = (config) ->
config.set
# base path, that will be used to resolve files and exclude
basePath: '../'
frameworks: ['jasmine']
# list of files / patterns to load in the browser
files: [
'test/lib/angularjs/angular.1.2.1.min.js'
'test/lib... | CoffeeScript | kelp404/angular-form-builder | test/karma-ng1.2-jq2.config.coffee | MIT | bbfdb98ec4aa81b4e7b1f042bdec0c09429be489 | 600 | https://github.com/kelp404/angular-form-builder/blob/bbfdb98ec4aa81b4e7b1f042bdec0c09429be489/test/karma-ng1.2-jq2.config.coffee | 1 | 50 | ||
kelp404/angular-form-builder:test/karma-ng1.2-jq2.config.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
module.exports = (config) ->
config.set
# base path, that will be used to resolve files and exclude
basePath: '../'
frameworks: ['jasmine']
# list of files / patterns to load in the browser
files: [
'test/... | module.exports = function(config) {
return config.set({
// base path, that will be used to resolve files and exclude
basePath: '../',
frameworks: ['jasmine'],
// list of files / patterns to load in the browser
files: ['test/lib/angularjs/angular.1.2.1.min.js', 'test/lib/angularjs/angular-mocks.1.2... | CoffeeScript | JavaScript | kelp404/angular-form-builder | test/karma-ng1.2-jq2.config.coffee | MIT | bbfdb98ec4aa81b4e7b1f042bdec0c09429be489 | 600 | https://github.com/kelp404/angular-form-builder/blob/bbfdb98ec4aa81b4e7b1f042bdec0c09429be489/test/karma-ng1.2-jq2.config.coffee | 1 | 50 |
kelp404/angular-form-builder:test/karma-ng1.2-jq2.config.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
module.exports = function(config) {
return config.set({
// base path, that will be used to resolve files and exclude
basePath: '../',
frameworks: ['jasmine'],
// list of files / patterns to load in the browser
files: ['test/lib/angularjs/angul... | module.exports = (config) ->
config.set
# base path, that will be used to resolve files and exclude
basePath: '../'
frameworks: ['jasmine']
# list of files / patterns to load in the browser
files: [
'test/lib/angularjs/angular.1.2.1.min.js'
'test/lib... | JavaScript | CoffeeScript | kelp404/angular-form-builder | test/karma-ng1.2-jq2.config.coffee | MIT | bbfdb98ec4aa81b4e7b1f042bdec0c09429be489 | 600 | https://github.com/kelp404/angular-form-builder/blob/bbfdb98ec4aa81b4e7b1f042bdec0c09429be489/test/karma-ng1.2-jq2.config.coffee | 1 | 50 |
andreyvit/json-diff:lib/cli.coffee:1:raw_corpus | raw_corpus | fs = require 'fs'
tty = require 'tty'
{ diff } = require './index'
{ colorize } = require './colorize'
module.exports = (argv) ->
options = require('dreamopt') [
"Usage: json-diff [-vjCk] first.json second.json"
"Arguments:"
" first.json Old file #var(file1) #required"
" second.json... | CoffeeScript | andreyvit/json-diff | lib/cli.coffee | MIT | 37a99b1316c7bb474a1373f7444345b52a0913bc | 1,205 | https://github.com/andreyvit/json-diff/blob/37a99b1316c7bb474a1373f7444345b52a0913bc/lib/cli.coffee | 1 | 48 | ||
andreyvit/json-diff:lib/cli.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
fs = require 'fs'
tty = require 'tty'
{ diff } = require './index'
{ colorize } = require './colorize'
module.exports = (argv) ->
options = require('dreamopt') [
"Usage: json-diff [-vjCk] first.json second.json"
"Arguments:"
" first.json ... | var colorize, diff, fs, tty;
fs = require('fs');
tty = require('tty');
({diff} = require('./index'));
({colorize} = require('./colorize'));
module.exports = function(argv) {
var data1, data2, json1, json2, options, result;
options = require('dreamopt')(["Usage: json-diff [-vjCk] first.json second.json", "Argum... | CoffeeScript | JavaScript | andreyvit/json-diff | lib/cli.coffee | MIT | 37a99b1316c7bb474a1373f7444345b52a0913bc | 1,205 | https://github.com/andreyvit/json-diff/blob/37a99b1316c7bb474a1373f7444345b52a0913bc/lib/cli.coffee | 1 | 48 |
andreyvit/json-diff:lib/cli.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var colorize, diff, fs, tty;
fs = require('fs');
tty = require('tty');
({diff} = require('./index'));
({colorize} = require('./colorize'));
module.exports = function(argv) {
var data1, data2, json1, json2, options, result;
options = require('dreamopt')(["U... | fs = require 'fs'
tty = require 'tty'
{ diff } = require './index'
{ colorize } = require './colorize'
module.exports = (argv) ->
options = require('dreamopt') [
"Usage: json-diff [-vjCk] first.json second.json"
"Arguments:"
" first.json Old file #var(file1) #required"
" second.json... | JavaScript | CoffeeScript | andreyvit/json-diff | lib/cli.coffee | MIT | 37a99b1316c7bb474a1373f7444345b52a0913bc | 1,205 | https://github.com/andreyvit/json-diff/blob/37a99b1316c7bb474a1373f7444345b52a0913bc/lib/cli.coffee | 1 | 48 |
andreyvit/json-diff:lib/cli.coffee:1:completion | completion | fs = require 'fs'
tty = require 'tty'
{ diff } = require './index'
{ colorize } = require './colorize'
module.exports = (argv) ->
options = require('dreamopt') [
"Usage: json-diff [-vjCk] first.json second.json"
"Arguments:"
" first.json Old file #var(file1) #required"
" second.json... | data1 = fs.readFileSync(options.file1, 'utf8')
data2 = fs.readFileSync(options.file2, 'utf8')
process.stderr.write "Parsing old file...\n" if options.verbose
json1 = JSON.parse(data1)
process.stderr.write "Parsing new file...\n" if options.verbose
json2 = JSON.parse(data2)
process.stderr.write "Running ... | CoffeeScript | CoffeeScript | andreyvit/json-diff | lib/cli.coffee | MIT | 37a99b1316c7bb474a1373f7444345b52a0913bc | 1,205 | https://github.com/andreyvit/json-diff/blob/37a99b1316c7bb474a1373f7444345b52a0913bc/lib/cli.coffee | 1 | 48 |
twilson63/express-coffee:src/index.coffee:1:raw_corpus | raw_corpus | express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
session = require('express-session')
cookieParser = require('cookie-parser')
bodyParser = require("body-parser")
#### Basic application initialization
# Create app instance.
app = express()
# Define P... | CoffeeScript | twilson63/express-coffee | src/index.coffee | MIT | baedde8ee076605eeaf56dd50eb72fe6d5621f8e | 622 | https://github.com/twilson63/express-coffee/blob/baedde8ee076605eeaf56dd50eb72fe6d5621f8e/src/index.coffee | 1 | 50 | ||
twilson63/express-coffee:src/index.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
session = require('express-session')
cookieParser = require('cookie-parser')
bodyParser = require("body-parser")
#### Basic application initiali... | var app, assets, bodyParser, config, cookieParser, env, express, mongoose, session, stylus;
express = require('express');
stylus = require('stylus');
assets = require('connect-assets');
mongoose = require('mongoose');
session = require('express-session');
cookieParser = require('cookie-parser');
bodyParser = req... | CoffeeScript | JavaScript | twilson63/express-coffee | src/index.coffee | MIT | baedde8ee076605eeaf56dd50eb72fe6d5621f8e | 622 | https://github.com/twilson63/express-coffee/blob/baedde8ee076605eeaf56dd50eb72fe6d5621f8e/src/index.coffee | 1 | 50 |
twilson63/express-coffee:src/index.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var app, assets, bodyParser, config, cookieParser, env, express, mongoose, session, stylus;
express = require('express');
stylus = require('stylus');
assets = require('connect-assets');
mongoose = require('mongoose');
session = require('express-session');
coo... | express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
session = require('express-session')
cookieParser = require('cookie-parser')
bodyParser = require("body-parser")
#### Basic application initialization
# Create app instance.
app = express()
# Define P... | JavaScript | CoffeeScript | twilson63/express-coffee | src/index.coffee | MIT | baedde8ee076605eeaf56dd50eb72fe6d5621f8e | 622 | https://github.com/twilson63/express-coffee/blob/baedde8ee076605eeaf56dd50eb72fe6d5621f8e/src/index.coffee | 1 | 50 |
twilson63/express-coffee:src/index.coffee:1:completion | completion | express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
session = require('express-session')
cookieParser = require('cookie-parser')
bodyParser = require("body-parser")
#### Basic application initialization
# Create app instance.
app = express()
# Define P... | else
console.log('If you are running in production, you may want to modify the mongoose connect path')
#### View initialization
# Add Connect Assets.
app.use assets()
# Set the public folder as static assets.
app.use express.static(process.cwd() + '/public')
# Express Session
console.log "setting session/cookie"
ap... | CoffeeScript | CoffeeScript | twilson63/express-coffee | src/index.coffee | MIT | baedde8ee076605eeaf56dd50eb72fe6d5621f8e | 622 | https://github.com/twilson63/express-coffee/blob/baedde8ee076605eeaf56dd50eb72fe6d5621f8e/src/index.coffee | 1 | 50 |
twilson63/express-coffee:src/index.coffee:1:raw_corpus | raw_corpus | express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
#### Basic application initialization
# Create app instance.
app = express()
# Define Port
app.port = process.env.PORT or process.env.VMC_APP_PORT or 3000
# Config module exports has `setEnvironmen... | CoffeeScript | twilson63/express-coffee | src/index.coffee | MIT | 1f26c13d8f4acc093c6cd99c5a6e9c9a8c421a8c | 622 | https://github.com/twilson63/express-coffee/blob/1f26c13d8f4acc093c6cd99c5a6e9c9a8c421a8c/src/index.coffee | 1 | 50 | ||
twilson63/express-coffee:src/index.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
#### Basic application initialization
# Create app instance.
app = express()
# Define Port
app.port = process.env.PORT or process.env.VMC_APP_... | var app, assets, config, express, mongoose, routes, store, stylus;
express = require('express');
stylus = require('stylus');
assets = require('connect-assets');
mongoose = require('mongoose');
//### Basic application initialization
// Create app instance.
app = express();
// Define Port
app.port = process.env.POR... | CoffeeScript | JavaScript | twilson63/express-coffee | src/index.coffee | MIT | 1f26c13d8f4acc093c6cd99c5a6e9c9a8c421a8c | 622 | https://github.com/twilson63/express-coffee/blob/1f26c13d8f4acc093c6cd99c5a6e9c9a8c421a8c/src/index.coffee | 1 | 50 |
twilson63/express-coffee:src/index.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var app, assets, config, express, mongoose, routes, store, stylus;
express = require('express');
stylus = require('stylus');
assets = require('connect-assets');
mongoose = require('mongoose');
//### Basic application initialization
// Create app instance.
app ... | express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
#### Basic application initialization
# Create app instance.
app = express()
# Define Port
app.port = process.env.PORT or process.env.VMC_APP_PORT or 3000
# Config module exports has `setEnvironmen... | JavaScript | CoffeeScript | twilson63/express-coffee | src/index.coffee | MIT | 1f26c13d8f4acc093c6cd99c5a6e9c9a8c421a8c | 622 | https://github.com/twilson63/express-coffee/blob/1f26c13d8f4acc093c6cd99c5a6e9c9a8c421a8c/src/index.coffee | 1 | 50 |
twilson63/express-coffee:src/index.coffee:1:completion | completion | express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
#### Basic application initialization
# Create app instance.
app = express()
# Define Port
app.port = process.env.PORT or process.env.VMC_APP_PORT or 3000
# Config module exports has `setEnvironmen... | #### View initialization
# Add Connect Assets.
app.use assets()
# Set the public folder as static assets.
app.use express.static(process.cwd() + '/public')
# Express Session
store = new express.session.MemoryStore
app.use express.cookieParser()
app.use express.session(
secret: 'shhh'
store: store
)
# Set View Engi... | CoffeeScript | CoffeeScript | twilson63/express-coffee | src/index.coffee | MIT | 1f26c13d8f4acc093c6cd99c5a6e9c9a8c421a8c | 622 | https://github.com/twilson63/express-coffee/blob/1f26c13d8f4acc093c6cd99c5a6e9c9a8c421a8c/src/index.coffee | 1 | 50 |
twilson63/express-coffee:src/index.coffee:1:raw_corpus | raw_corpus | express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
#### Basic application initialization
# Create app instance.
app = express()
# Define Port
app.port = process.env.PORT or process.env.VMC_APP_PORT or 3000
# Config module exports has `setEnvironmen... | CoffeeScript | twilson63/express-coffee | src/index.coffee | MIT | 2dbbb3c381b30a37a22cdbd082e16951f131f1a2 | 622 | https://github.com/twilson63/express-coffee/blob/2dbbb3c381b30a37a22cdbd082e16951f131f1a2/src/index.coffee | 1 | 50 | ||
twilson63/express-coffee:src/index.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
#### Basic application initialization
# Create app instance.
app = express()
# Define Port
app.port = process.env.PORT or process.env.VMC_APP_... | var app, assets, config, express, mongoose, routes, store, stylus;
express = require('express');
stylus = require('stylus');
assets = require('connect-assets');
mongoose = require('mongoose');
//### Basic application initialization
// Create app instance.
app = express();
// Define Port
app.port = process.env.POR... | CoffeeScript | JavaScript | twilson63/express-coffee | src/index.coffee | MIT | 2dbbb3c381b30a37a22cdbd082e16951f131f1a2 | 622 | https://github.com/twilson63/express-coffee/blob/2dbbb3c381b30a37a22cdbd082e16951f131f1a2/src/index.coffee | 1 | 50 |
twilson63/express-coffee:src/index.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var app, assets, config, express, mongoose, routes, store, stylus;
express = require('express');
stylus = require('stylus');
assets = require('connect-assets');
mongoose = require('mongoose');
//### Basic application initialization
// Create app instance.
app ... | express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
#### Basic application initialization
# Create app instance.
app = express()
# Define Port
app.port = process.env.PORT or process.env.VMC_APP_PORT or 3000
# Config module exports has `setEnvironmen... | JavaScript | CoffeeScript | twilson63/express-coffee | src/index.coffee | MIT | 2dbbb3c381b30a37a22cdbd082e16951f131f1a2 | 622 | https://github.com/twilson63/express-coffee/blob/2dbbb3c381b30a37a22cdbd082e16951f131f1a2/src/index.coffee | 1 | 50 |
twilson63/express-coffee:src/index.coffee:1:completion | completion | express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
#### Basic application initialization
# Create app instance.
app = express()
# Define Port
app.port = process.env.PORT or process.env.VMC_APP_PORT or 3000
# Config module exports has `setEnvironmen... | #### View initialization
# Add Connect Assets.
app.use assets()
# Set the public folder as static assets.
app.use express.static(process.cwd() + '/public')
# Express Session
store = new express.session.MemoryStore
app.use express.cookieParser()
app.use express.session(
secret: 'shhh'
store: store
)
# Set View Engi... | CoffeeScript | CoffeeScript | twilson63/express-coffee | src/index.coffee | MIT | 2dbbb3c381b30a37a22cdbd082e16951f131f1a2 | 622 | https://github.com/twilson63/express-coffee/blob/2dbbb3c381b30a37a22cdbd082e16951f131f1a2/src/index.coffee | 1 | 50 |
twilson63/express-coffee:src/index.coffee:1:raw_corpus | raw_corpus | express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
#### Basic application initialization
# Create app instance.
app = express()
# Define Port
app.port = process.env.PORT or process.env.VMC_APP_PORT or 3000
# Config module exports has `setEnvironmen... | CoffeeScript | twilson63/express-coffee | src/index.coffee | MIT | fa29650d06efd925c26d63a0b6a8af200d685de5 | 622 | https://github.com/twilson63/express-coffee/blob/fa29650d06efd925c26d63a0b6a8af200d685de5/src/index.coffee | 1 | 48 | ||
twilson63/express-coffee:src/index.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
#### Basic application initialization
# Create app instance.
app = express()
# Define Port
app.port = process.env.PORT or process.env.VMC_APP_... | var app, assets, config, express, mongoose, routes, stylus;
express = require('express');
stylus = require('stylus');
assets = require('connect-assets');
mongoose = require('mongoose');
//### Basic application initialization
// Create app instance.
app = express();
// Define Port
app.port = process.env.PORT || pr... | CoffeeScript | JavaScript | twilson63/express-coffee | src/index.coffee | MIT | fa29650d06efd925c26d63a0b6a8af200d685de5 | 622 | https://github.com/twilson63/express-coffee/blob/fa29650d06efd925c26d63a0b6a8af200d685de5/src/index.coffee | 1 | 48 |
twilson63/express-coffee:src/index.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var app, assets, config, express, mongoose, routes, stylus;
express = require('express');
stylus = require('stylus');
assets = require('connect-assets');
mongoose = require('mongoose');
//### Basic application initialization
// Create app instance.
app = expre... | express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
#### Basic application initialization
# Create app instance.
app = express()
# Define Port
app.port = process.env.PORT or process.env.VMC_APP_PORT or 3000
# Config module exports has `setEnvironmen... | JavaScript | CoffeeScript | twilson63/express-coffee | src/index.coffee | MIT | fa29650d06efd925c26d63a0b6a8af200d685de5 | 622 | https://github.com/twilson63/express-coffee/blob/fa29650d06efd925c26d63a0b6a8af200d685de5/src/index.coffee | 1 | 48 |
twilson63/express-coffee:src/index.coffee:1:completion | completion | express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
#### Basic application initialization
# Create app instance.
app = express()
# Define Port
app.port = process.env.PORT or process.env.VMC_APP_PORT or 3000
# Config module exports has `setEnvironmen... | console.log('If you are running in production, you may want to modify the mongoose connect path')
#### View initialization
# Add Connect Assets.
app.use assets()
# Set the public folder as static assets.
app.use express.static(process.cwd() + '/public')
# Set View Engine.
app.set 'view engine', 'jade'
# [Body parse... | CoffeeScript | CoffeeScript | twilson63/express-coffee | src/index.coffee | MIT | fa29650d06efd925c26d63a0b6a8af200d685de5 | 622 | https://github.com/twilson63/express-coffee/blob/fa29650d06efd925c26d63a0b6a8af200d685de5/src/index.coffee | 1 | 48 |
twilson63/express-coffee:src/index.coffee:1:raw_corpus | raw_corpus | express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
#### Basic application initialization
# Create app instance.
app = express()
# Define Port
app.port = process.env.PORT or process.env.VMC_APP_PORT or 3000
# Config module exports has `setEnvironmen... | CoffeeScript | twilson63/express-coffee | src/index.coffee | MIT | a2856ac2ce95710c56a5b5ca4b32c30852c4301f | 622 | https://github.com/twilson63/express-coffee/blob/a2856ac2ce95710c56a5b5ca4b32c30852c4301f/src/index.coffee | 1 | 47 | ||
twilson63/express-coffee:src/index.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
#### Basic application initialization
# Create app instance.
app = express()
# Define Port
app.port = process.env.PORT or process.env.VMC_APP_... | var app, assets, config, express, mongoose, routes, stylus;
express = require('express');
stylus = require('stylus');
assets = require('connect-assets');
mongoose = require('mongoose');
//### Basic application initialization
// Create app instance.
app = express();
// Define Port
app.port = process.env.PORT || pr... | CoffeeScript | JavaScript | twilson63/express-coffee | src/index.coffee | MIT | a2856ac2ce95710c56a5b5ca4b32c30852c4301f | 622 | https://github.com/twilson63/express-coffee/blob/a2856ac2ce95710c56a5b5ca4b32c30852c4301f/src/index.coffee | 1 | 47 |
twilson63/express-coffee:src/index.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var app, assets, config, express, mongoose, routes, stylus;
express = require('express');
stylus = require('stylus');
assets = require('connect-assets');
mongoose = require('mongoose');
//### Basic application initialization
// Create app instance.
app = expre... | express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
#### Basic application initialization
# Create app instance.
app = express()
# Define Port
app.port = process.env.PORT or process.env.VMC_APP_PORT or 3000
# Config module exports has `setEnvironmen... | JavaScript | CoffeeScript | twilson63/express-coffee | src/index.coffee | MIT | a2856ac2ce95710c56a5b5ca4b32c30852c4301f | 622 | https://github.com/twilson63/express-coffee/blob/a2856ac2ce95710c56a5b5ca4b32c30852c4301f/src/index.coffee | 1 | 47 |
twilson63/express-coffee:src/index.coffee:1:completion | completion | express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
#### Basic application initialization
# Create app instance.
app = express()
# Define Port
app.port = process.env.PORT or process.env.VMC_APP_PORT or 3000
# Config module exports has `setEnvironmen... | #### View initialization
# Add Connect Assets.
app.use assets()
# Set the public folder as static assets.
app.use express.static(process.cwd() + '/public')
# Set View Engine.
app.set 'view engine', 'jade'
# [Body parser middleware](http://www.senchalabs.org/connect/middleware-bodyParser.html) parses JSON or XML bodi... | CoffeeScript | CoffeeScript | twilson63/express-coffee | src/index.coffee | MIT | a2856ac2ce95710c56a5b5ca4b32c30852c4301f | 622 | https://github.com/twilson63/express-coffee/blob/a2856ac2ce95710c56a5b5ca4b32c30852c4301f/src/index.coffee | 1 | 47 |
twilson63/express-coffee:src/index.coffee:1:raw_corpus | raw_corpus | express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
#### Basic application initialization
# Create app instance.
app = express()
# Define Port
app.port = process.env.PORT or process.env.VMC_APP_PORT or 3000
# Config module exports has `setEnvironmen... | CoffeeScript | twilson63/express-coffee | src/index.coffee | MIT | 79dfb9ea8d049ff9884be24ad81dd4684f76aef7 | 622 | https://github.com/twilson63/express-coffee/blob/79dfb9ea8d049ff9884be24ad81dd4684f76aef7/src/index.coffee | 1 | 45 | ||
twilson63/express-coffee:src/index.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
#### Basic application initialization
# Create app instance.
app = express()
# Define Port
app.port = process.env.PORT or process.env.VMC_APP_... | var app, assets, config, db_config, express, mongoose, routes, stylus;
express = require('express');
stylus = require('stylus');
assets = require('connect-assets');
mongoose = require('mongoose');
//### Basic application initialization
// Create app instance.
app = express();
// Define Port
app.port = process.env... | CoffeeScript | JavaScript | twilson63/express-coffee | src/index.coffee | MIT | 79dfb9ea8d049ff9884be24ad81dd4684f76aef7 | 622 | https://github.com/twilson63/express-coffee/blob/79dfb9ea8d049ff9884be24ad81dd4684f76aef7/src/index.coffee | 1 | 45 |
twilson63/express-coffee:src/index.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var app, assets, config, db_config, express, mongoose, routes, stylus;
express = require('express');
stylus = require('stylus');
assets = require('connect-assets');
mongoose = require('mongoose');
//### Basic application initialization
// Create app instance.
... | express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
#### Basic application initialization
# Create app instance.
app = express()
# Define Port
app.port = process.env.PORT or process.env.VMC_APP_PORT or 3000
# Config module exports has `setEnvironmen... | JavaScript | CoffeeScript | twilson63/express-coffee | src/index.coffee | MIT | 79dfb9ea8d049ff9884be24ad81dd4684f76aef7 | 622 | https://github.com/twilson63/express-coffee/blob/79dfb9ea8d049ff9884be24ad81dd4684f76aef7/src/index.coffee | 1 | 45 |
twilson63/express-coffee:src/index.coffee:1:completion | completion | express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
#### Basic application initialization
# Create app instance.
app = express()
# Define Port
app.port = process.env.PORT or process.env.VMC_APP_PORT or 3000
# Config module exports has `setEnvironmen... | #### View initialization
# Add Connect Assets.
app.use assets()
# Set the public folder as static assets.
app.use express.static(process.cwd() + '/public')
# Set View Engine.
app.set 'view engine', 'jade'
# [Body parser middleware](http://www.senchalabs.org/connect/middleware-bodyParser.html) parses JSON or XML bodi... | CoffeeScript | CoffeeScript | twilson63/express-coffee | src/index.coffee | MIT | 79dfb9ea8d049ff9884be24ad81dd4684f76aef7 | 622 | https://github.com/twilson63/express-coffee/blob/79dfb9ea8d049ff9884be24ad81dd4684f76aef7/src/index.coffee | 1 | 45 |
twilson63/express-coffee:src/index.coffee:1:raw_corpus | raw_corpus | express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
#### Basic application initialization
# Create app instance.
app = express()
# Define Port
app.port = process.env.PORT or process.env.VMC_APP_PORT or 3000
# Config module exports has `setEnvironmen... | CoffeeScript | twilson63/express-coffee | src/index.coffee | MIT | 7d31d2d49bec1ab69e9fab0b33a41153c72c01e6 | 622 | https://github.com/twilson63/express-coffee/blob/7d31d2d49bec1ab69e9fab0b33a41153c72c01e6/src/index.coffee | 1 | 46 | ||
twilson63/express-coffee:src/index.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
#### Basic application initialization
# Create app instance.
app = express()
# Define Port
app.port = process.env.PORT or process.env.VMC_APP_... | var app, assets, config, express, mongoose, routes, stylus;
express = require('express');
stylus = require('stylus');
assets = require('connect-assets');
mongoose = require('mongoose');
//### Basic application initialization
// Create app instance.
app = express();
// Define Port
app.port = process.env.PORT || pr... | CoffeeScript | JavaScript | twilson63/express-coffee | src/index.coffee | MIT | 7d31d2d49bec1ab69e9fab0b33a41153c72c01e6 | 622 | https://github.com/twilson63/express-coffee/blob/7d31d2d49bec1ab69e9fab0b33a41153c72c01e6/src/index.coffee | 1 | 46 |
twilson63/express-coffee:src/index.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var app, assets, config, express, mongoose, routes, stylus;
express = require('express');
stylus = require('stylus');
assets = require('connect-assets');
mongoose = require('mongoose');
//### Basic application initialization
// Create app instance.
app = expre... | express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
#### Basic application initialization
# Create app instance.
app = express()
# Define Port
app.port = process.env.PORT or process.env.VMC_APP_PORT or 3000
# Config module exports has `setEnvironmen... | JavaScript | CoffeeScript | twilson63/express-coffee | src/index.coffee | MIT | 7d31d2d49bec1ab69e9fab0b33a41153c72c01e6 | 622 | https://github.com/twilson63/express-coffee/blob/7d31d2d49bec1ab69e9fab0b33a41153c72c01e6/src/index.coffee | 1 | 46 |
twilson63/express-coffee:src/index.coffee:1:completion | completion | express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
#### Basic application initialization
# Create app instance.
app = express()
# Define Port
app.port = process.env.PORT or process.env.VMC_APP_PORT or 3000
# Config module exports has `setEnvironmen... | #### View initialization
# Add Connect Assets.
app.use assets()
# Set the public folder as static assets.
app.use express.static(process.cwd() + '/public')
# Set View Engine.
app.set 'view engine', 'jade'
# [Body parser middleware](http://www.senchalabs.org/connect/middleware-bodyParser.html) parses JSON or XML bodi... | CoffeeScript | CoffeeScript | twilson63/express-coffee | src/index.coffee | MIT | 7d31d2d49bec1ab69e9fab0b33a41153c72c01e6 | 622 | https://github.com/twilson63/express-coffee/blob/7d31d2d49bec1ab69e9fab0b33a41153c72c01e6/src/index.coffee | 1 | 46 |
twilson63/express-coffee:src/index.coffee:1:raw_corpus | raw_corpus | express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
#### Basic application initialization
# Create app instance.
app = express()
# Initialize routes
routes = require './routes'
routes(app)
# Define Port
app.port = process.env.PORT or process.env.VMC_A... | CoffeeScript | twilson63/express-coffee | src/index.coffee | MIT | 5d7c72c1ecb1d5e13c087189bde1aa7977012ff2 | 622 | https://github.com/twilson63/express-coffee/blob/5d7c72c1ecb1d5e13c087189bde1aa7977012ff2/src/index.coffee | 1 | 42 | ||
twilson63/express-coffee:src/index.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
#### Basic application initialization
# Create app instance.
app = express()
# Initialize routes
routes = require './routes'
routes(app)
# Def... | var app, assets, config, express, mongoose, routes, stylus;
express = require('express');
stylus = require('stylus');
assets = require('connect-assets');
mongoose = require('mongoose');
//### Basic application initialization
// Create app instance.
app = express();
// Initialize routes
routes = require('./routes'... | CoffeeScript | JavaScript | twilson63/express-coffee | src/index.coffee | MIT | 5d7c72c1ecb1d5e13c087189bde1aa7977012ff2 | 622 | https://github.com/twilson63/express-coffee/blob/5d7c72c1ecb1d5e13c087189bde1aa7977012ff2/src/index.coffee | 1 | 42 |
twilson63/express-coffee:src/index.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var app, assets, config, express, mongoose, routes, stylus;
express = require('express');
stylus = require('stylus');
assets = require('connect-assets');
mongoose = require('mongoose');
//### Basic application initialization
// Create app instance.
app = expre... | express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
#### Basic application initialization
# Create app instance.
app = express()
# Initialize routes
routes = require './routes'
routes(app)
# Define Port
app.port = process.env.PORT or process.env.VMC_A... | JavaScript | CoffeeScript | twilson63/express-coffee | src/index.coffee | MIT | 5d7c72c1ecb1d5e13c087189bde1aa7977012ff2 | 622 | https://github.com/twilson63/express-coffee/blob/5d7c72c1ecb1d5e13c087189bde1aa7977012ff2/src/index.coffee | 1 | 42 |
twilson63/express-coffee:src/index.coffee:1:completion | completion | express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
#### Basic application initialization
# Create app instance.
app = express()
# Initialize routes
routes = require './routes'
routes(app)
# Define Port
app.port = process.env.PORT or process.env.VMC_A... | # TODO: move to `config`
mongoose.connect 'mongodb://localhost/example'
# [Body parser middleware](http://www.senchalabs.org/connect/middleware-bodyParser.html) parses JSON or XML bodies into `req.body` object
app.use express.bodyParser()
#### View initialization
# Add Connect Assets.
app.use assets()
# Set the publ... | CoffeeScript | CoffeeScript | twilson63/express-coffee | src/index.coffee | MIT | 5d7c72c1ecb1d5e13c087189bde1aa7977012ff2 | 622 | https://github.com/twilson63/express-coffee/blob/5d7c72c1ecb1d5e13c087189bde1aa7977012ff2/src/index.coffee | 1 | 42 |
twilson63/express-coffee:src/index.coffee:1:raw_corpus | raw_corpus | express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
# Create app instance
app = express()
# set instance running environments. they have to match those in config.coffee
config = require "./config"
app.configure 'production', 'development', 'testing', -... | CoffeeScript | twilson63/express-coffee | src/index.coffee | MIT | 80f4a43f16bbcd1bec4bb24533af53a8e7470c3a | 622 | https://github.com/twilson63/express-coffee/blob/80f4a43f16bbcd1bec4bb24533af53a8e7470c3a/src/index.coffee | 1 | 32 | ||
twilson63/express-coffee:src/index.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
# Create app instance
app = express()
# set instance running environments. they have to match those in config.coffee
config = require "./config... | var app, assets, config, express, mongoose, routes, stylus;
express = require('express');
stylus = require('stylus');
assets = require('connect-assets');
mongoose = require('mongoose');
// Create app instance
app = express();
// set instance running environments. they have to match those in config.coffee
config =... | CoffeeScript | JavaScript | twilson63/express-coffee | src/index.coffee | MIT | 80f4a43f16bbcd1bec4bb24533af53a8e7470c3a | 622 | https://github.com/twilson63/express-coffee/blob/80f4a43f16bbcd1bec4bb24533af53a8e7470c3a/src/index.coffee | 1 | 32 |
twilson63/express-coffee:src/index.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var app, assets, config, express, mongoose, routes, stylus;
express = require('express');
stylus = require('stylus');
assets = require('connect-assets');
mongoose = require('mongoose');
// Create app instance
app = express();
// set instance running environme... | express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
# Create app instance
app = express()
# set instance running environments. they have to match those in config.coffee
config = require "./config"
app.configure 'production', 'development', 'testing', -... | JavaScript | CoffeeScript | twilson63/express-coffee | src/index.coffee | MIT | 80f4a43f16bbcd1bec4bb24533af53a8e7470c3a | 622 | https://github.com/twilson63/express-coffee/blob/80f4a43f16bbcd1bec4bb24533af53a8e7470c3a/src/index.coffee | 1 | 32 |
twilson63/express-coffee:src/index.coffee:1:completion | completion | express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
# Create app instance
app = express()
# set instance running environments. they have to match those in config.coffee
config = require "./config"
app.configure 'production', 'development', 'testing', -... | # Set the public folder as static assets
app.use express.static(process.cwd() + '/public')
app.use express.bodyParser()
# Set View Engine
app.set 'view engine', 'jade'
# Initialize routes
routes = require './routes'
routes(app)
# Define Port
app.port = process.env.PORT or process.env.VMC_APP_PORT or 3000
module.ex... | CoffeeScript | CoffeeScript | twilson63/express-coffee | src/index.coffee | MIT | 80f4a43f16bbcd1bec4bb24533af53a8e7470c3a | 622 | https://github.com/twilson63/express-coffee/blob/80f4a43f16bbcd1bec4bb24533af53a8e7470c3a/src/index.coffee | 1 | 32 |
twilson63/express-coffee:src/index.coffee:1:raw_corpus | raw_corpus | express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
# Create app instance
app = express()
# set instance running environments. they have to match those in config.coffee
config = require "./config"
app.configure 'production', 'development', 'testing', -... | CoffeeScript | twilson63/express-coffee | src/index.coffee | MIT | 8ef81eb8de792247f17b6806e8f878a297c09d13 | 622 | https://github.com/twilson63/express-coffee/blob/8ef81eb8de792247f17b6806e8f878a297c09d13/src/index.coffee | 1 | 32 | ||
twilson63/express-coffee:src/index.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
# Create app instance
app = express()
# set instance running environments. they have to match those in config.coffee
config = require "./config... | var app, assets, config, express, mongoose, port, routes, stylus;
express = require('express');
stylus = require('stylus');
assets = require('connect-assets');
mongoose = require('mongoose');
// Create app instance
app = express();
// set instance running environments. they have to match those in config.coffee
co... | CoffeeScript | JavaScript | twilson63/express-coffee | src/index.coffee | MIT | 8ef81eb8de792247f17b6806e8f878a297c09d13 | 622 | https://github.com/twilson63/express-coffee/blob/8ef81eb8de792247f17b6806e8f878a297c09d13/src/index.coffee | 1 | 32 |
twilson63/express-coffee:src/index.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var app, assets, config, express, mongoose, port, routes, stylus;
express = require('express');
stylus = require('stylus');
assets = require('connect-assets');
mongoose = require('mongoose');
// Create app instance
app = express();
// set instance running env... | express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
# Create app instance
app = express()
# set instance running environments. they have to match those in config.coffee
config = require "./config"
app.configure 'production', 'development', 'testing', -... | JavaScript | CoffeeScript | twilson63/express-coffee | src/index.coffee | MIT | 8ef81eb8de792247f17b6806e8f878a297c09d13 | 622 | https://github.com/twilson63/express-coffee/blob/8ef81eb8de792247f17b6806e8f878a297c09d13/src/index.coffee | 1 | 32 |
twilson63/express-coffee:src/index.coffee:1:completion | completion | express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
# Create app instance
app = express()
# set instance running environments. they have to match those in config.coffee
config = require "./config"
app.configure 'production', 'development', 'testing', -... | # Set the public folder as static assets
app.use express.static(process.cwd() + '/public')
# Set View Engine
app.set 'view engine', 'jade'
# Initialize routes
routes = require './routes'
routes(app)
# Define Port
port = process.env.PORT or process.env.VMC_APP_PORT or 3000
# Start Server
app.listen port, ->
console.... | CoffeeScript | CoffeeScript | twilson63/express-coffee | src/index.coffee | MIT | 8ef81eb8de792247f17b6806e8f878a297c09d13 | 622 | https://github.com/twilson63/express-coffee/blob/8ef81eb8de792247f17b6806e8f878a297c09d13/src/index.coffee | 1 | 32 |
twilson63/express-coffee:src/index.coffee:1:raw_corpus | raw_corpus | express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
mongoose.connect 'mongodb://localhost/example'
app = express()
# Add Connect Assets
app.use assets()
# Set the public folder as static assets
app.use express.static(process.cwd() + '/public')
# Set Vie... | CoffeeScript | twilson63/express-coffee | src/index.coffee | MIT | 7f74720deb4491c4628c42dcb6e54b2c299553f2 | 622 | https://github.com/twilson63/express-coffee/blob/7f74720deb4491c4628c42dcb6e54b2c299553f2/src/index.coffee | 1 | 24 | ||
twilson63/express-coffee:src/index.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
mongoose.connect 'mongodb://localhost/example'
app = express()
# Add Connect Assets
app.use assets()
# Set the public folder as static assets
ap... | var app, assets, express, mongoose, port, routes, stylus;
express = require('express');
stylus = require('stylus');
assets = require('connect-assets');
mongoose = require('mongoose');
mongoose.connect('mongodb://localhost/example');
app = express();
// Add Connect Assets
app.use(assets());
// Set the public fol... | CoffeeScript | JavaScript | twilson63/express-coffee | src/index.coffee | MIT | 7f74720deb4491c4628c42dcb6e54b2c299553f2 | 622 | https://github.com/twilson63/express-coffee/blob/7f74720deb4491c4628c42dcb6e54b2c299553f2/src/index.coffee | 1 | 24 |
twilson63/express-coffee:src/index.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var app, assets, express, mongoose, port, routes, stylus;
express = require('express');
stylus = require('stylus');
assets = require('connect-assets');
mongoose = require('mongoose');
mongoose.connect('mongodb://localhost/example');
app = express();
// Add C... | express = require 'express'
stylus = require 'stylus'
assets = require 'connect-assets'
mongoose = require 'mongoose'
mongoose.connect 'mongodb://localhost/example'
app = express()
# Add Connect Assets
app.use assets()
# Set the public folder as static assets
app.use express.static(process.cwd() + '/public')
# Set Vie... | JavaScript | CoffeeScript | twilson63/express-coffee | src/index.coffee | MIT | 7f74720deb4491c4628c42dcb6e54b2c299553f2 | 622 | https://github.com/twilson63/express-coffee/blob/7f74720deb4491c4628c42dcb6e54b2c299553f2/src/index.coffee | 1 | 24 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.