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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
jianliaoim/talk-os:talk-web/client/app/talk-download.coffee:1:raw_corpus | raw_corpus | React = require 'react'
lang = require '../locales/lang'
{ div, a } = React.DOM
url = require '../util/url'
module.exports = React.createClass
displayName: 'talk-download'
render: ->
div className: 'talk-download flex-horiz',
div className: 'client is-ios flex-static',
div className: 'logo'
... | CoffeeScript | jianliaoim/talk-os | talk-web/client/app/talk-download.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-web/client/app/talk-download.coffee | 1 | 31 | ||
jianliaoim/talk-os:talk-web/client/app/talk-download.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
React = require 'react'
lang = require '../locales/lang'
{ div, a } = React.DOM
url = require '../util/url'
module.exports = React.createClass
displayName: 'talk-download'
render: ->
div className: 'talk-download flex-horiz',
div className: 'cli... | var React, a, div, lang, url;
React = require('react');
lang = require('../locales/lang');
({div, a} = React.DOM);
url = require('../util/url');
module.exports = React.createClass({
displayName: 'talk-download',
render: function() {
return div({
className: 'talk-download flex-horiz'
}, div({
... | CoffeeScript | JavaScript | jianliaoim/talk-os | talk-web/client/app/talk-download.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-web/client/app/talk-download.coffee | 1 | 31 |
jianliaoim/talk-os:talk-web/client/app/talk-download.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var React, a, div, lang, url;
React = require('react');
lang = require('../locales/lang');
({div, a} = React.DOM);
url = require('../util/url');
module.exports = React.createClass({
displayName: 'talk-download',
render: function() {
return div({
... | React = require 'react'
lang = require '../locales/lang'
{ div, a } = React.DOM
url = require '../util/url'
module.exports = React.createClass
displayName: 'talk-download'
render: ->
div className: 'talk-download flex-horiz',
div className: 'client is-ios flex-static',
div className: 'logo'
... | JavaScript | CoffeeScript | jianliaoim/talk-os | talk-web/client/app/talk-download.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-web/client/app/talk-download.coffee | 1 | 31 |
jianliaoim/talk-os:talk-web/client/app/talk-download.coffee:1:completion | completion | React = require 'react'
lang = require '../locales/lang'
{ div, a } = React.DOM
url = require '../util/url'
module.exports = React.createClass
displayName: 'talk-download'
render: ->
div className: 'talk-download flex-horiz',
div className: 'client is-ios flex-static',
div className: 'logo'
... | div className: 'client is-android flex-static',
div className: 'logo'
a target: '_blank', href: url.androidAppUrl, 'Android'
div className: 'client is-windows flex-static',
div className: 'logo'
div className: 'flex flex-around',
a href: url.windows32AppUrl, 'x32'
... | CoffeeScript | CoffeeScript | jianliaoim/talk-os | talk-web/client/app/talk-download.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-web/client/app/talk-download.coffee | 1 | 31 |
cdglabs/apparatus:src/Evaluator/evaluateNpmRequire.coffee:1:raw_corpus | raw_corpus | _ = require "underscore"
JspmCache = require "../Util/JspmCache"
jspmCache = new JspmCache()
module.exports = npmRequire = (moduleName) ->
# This means, get the module, or if it's not available yet, set up a callback
maybeModule = jspmCache.get("npm:" + moduleName, -> Apparatus.refresh())
if maybeModule == Js... | CoffeeScript | cdglabs/apparatus | src/Evaluator/evaluateNpmRequire.coffee | MIT | 504564ac693a99b113657cfdd0154ef8787ac17b | 1,052 | https://github.com/cdglabs/apparatus/blob/504564ac693a99b113657cfdd0154ef8787ac17b/src/Evaluator/evaluateNpmRequire.coffee | 1 | 17 | ||
cdglabs/apparatus:src/Evaluator/evaluateNpmRequire.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
_ = require "underscore"
JspmCache = require "../Util/JspmCache"
jspmCache = new JspmCache()
module.exports = npmRequire = (moduleName) ->
# This means, get the module, or if it's not available yet, set up a callback
maybeModule = jspmCache.get("npm:" + mo... | var JspmCache, _, jspmCache, npmRequire;
_ = require("underscore");
JspmCache = require("../Util/JspmCache");
jspmCache = new JspmCache();
module.exports = npmRequire = function(moduleName) {
var maybeModule;
// This means, get the module, or if it's not available yet, set up a callback
maybeModule = jspmCach... | CoffeeScript | JavaScript | cdglabs/apparatus | src/Evaluator/evaluateNpmRequire.coffee | MIT | 504564ac693a99b113657cfdd0154ef8787ac17b | 1,052 | https://github.com/cdglabs/apparatus/blob/504564ac693a99b113657cfdd0154ef8787ac17b/src/Evaluator/evaluateNpmRequire.coffee | 1 | 17 |
cdglabs/apparatus:src/Evaluator/evaluateNpmRequire.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var JspmCache, _, jspmCache, npmRequire;
_ = require("underscore");
JspmCache = require("../Util/JspmCache");
jspmCache = new JspmCache();
module.exports = npmRequire = function(moduleName) {
var maybeModule;
// This means, get the module, or if it's not av... | _ = require "underscore"
JspmCache = require "../Util/JspmCache"
jspmCache = new JspmCache()
module.exports = npmRequire = (moduleName) ->
# This means, get the module, or if it's not available yet, set up a callback
maybeModule = jspmCache.get("npm:" + moduleName, -> Apparatus.refresh())
if maybeModule == Js... | JavaScript | CoffeeScript | cdglabs/apparatus | src/Evaluator/evaluateNpmRequire.coffee | MIT | 504564ac693a99b113657cfdd0154ef8787ac17b | 1,052 | https://github.com/cdglabs/apparatus/blob/504564ac693a99b113657cfdd0154ef8787ac17b/src/Evaluator/evaluateNpmRequire.coffee | 1 | 17 |
cdglabs/apparatus:src/Evaluator/evaluateNpmRequire.coffee:1:completion | completion | _ = require "underscore"
JspmCache = require "../Util/JspmCache"
jspmCache = new JspmCache()
module.exports = npmRequire = (moduleName) ->
# This means, get the module, or if it's not available yet, set up a callback | maybeModule = jspmCache.get("npm:" + moduleName, -> Apparatus.refresh())
if maybeModule == JspmCache.IS_LOADING
throw Error("Module #{moduleName} is still loading")
if _.isError(maybeModule)
throw maybeModule
return maybeModule | CoffeeScript | CoffeeScript | cdglabs/apparatus | src/Evaluator/evaluateNpmRequire.coffee | MIT | 504564ac693a99b113657cfdd0154ef8787ac17b | 1,052 | https://github.com/cdglabs/apparatus/blob/504564ac693a99b113657cfdd0154ef8787ac17b/src/Evaluator/evaluateNpmRequire.coffee | 1 | 17 |
octoblu/meshblu:lib/revokeToken.coffee:1:raw_corpus | raw_corpus | _ = require 'lodash'
revokeToken = (ownerDevice, targetUuid, targetToken, callback=_.noop, dependencies={}) =>
Device = dependencies.Device ? require('./models/device')
getDevice = dependencies.getDevice ? require('./getDevice')
securityImpl = dependencies.securityImpl ? require('./getSecurityImpl')
getDevice... | CoffeeScript | octoblu/meshblu | lib/revokeToken.coffee | MIT | 570d4f4280f91848309ce5ab47bcd872eb24a557 | 815 | https://github.com/octoblu/meshblu/blob/570d4f4280f91848309ce5ab47bcd872eb24a557/lib/revokeToken.coffee | 1 | 20 | ||
octoblu/meshblu:lib/revokeToken.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
_ = require 'lodash'
revokeToken = (ownerDevice, targetUuid, targetToken, callback=_.noop, dependencies={}) =>
Device = dependencies.Device ? require('./models/device')
getDevice = dependencies.getDevice ? require('./getDevice')
securityImpl = dependencies... | var _, revokeToken;
_ = require('lodash');
revokeToken = (ownerDevice, targetUuid, targetToken, callback = _.noop, dependencies = {}) => {
var Device, getDevice, ref, ref1, ref2, securityImpl;
Device = (ref = dependencies.Device) != null ? ref : require('./models/device');
getDevice = (ref1 = dependencies.getDe... | CoffeeScript | JavaScript | octoblu/meshblu | lib/revokeToken.coffee | MIT | 570d4f4280f91848309ce5ab47bcd872eb24a557 | 815 | https://github.com/octoblu/meshblu/blob/570d4f4280f91848309ce5ab47bcd872eb24a557/lib/revokeToken.coffee | 1 | 20 |
octoblu/meshblu:lib/revokeToken.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var _, revokeToken;
_ = require('lodash');
revokeToken = (ownerDevice, targetUuid, targetToken, callback = _.noop, dependencies = {}) => {
var Device, getDevice, ref, ref1, ref2, securityImpl;
Device = (ref = dependencies.Device) != null ? ref : require('./mo... | _ = require 'lodash'
revokeToken = (ownerDevice, targetUuid, targetToken, callback=_.noop, dependencies={}) =>
Device = dependencies.Device ? require('./models/device')
getDevice = dependencies.getDevice ? require('./getDevice')
securityImpl = dependencies.securityImpl ? require('./getSecurityImpl')
getDevice... | JavaScript | CoffeeScript | octoblu/meshblu | lib/revokeToken.coffee | MIT | 570d4f4280f91848309ce5ab47bcd872eb24a557 | 815 | https://github.com/octoblu/meshblu/blob/570d4f4280f91848309ce5ab47bcd872eb24a557/lib/revokeToken.coffee | 1 | 20 |
octoblu/meshblu:lib/revokeToken.coffee:1:completion | completion | _ = require 'lodash'
revokeToken = (ownerDevice, targetUuid, targetToken, callback=_.noop, dependencies={}) =>
Device = dependencies.Device ? require('./models/device')
getDevice = dependencies.getDevice ? require('./getDevice')
securityImpl = dependencies.securityImpl ? require('./getSecurityImpl')
getDevice... | securityImpl.canConfigure ownerDevice, targetDevice, (error, permission) =>
return callback new Error 'unauthorized' unless permission
device = new Device uuid: targetUuid
device.revokeToken targetToken, (error) =>
return callback error if error?
callback null
module.exports = revok... | CoffeeScript | CoffeeScript | octoblu/meshblu | lib/revokeToken.coffee | MIT | 570d4f4280f91848309ce5ab47bcd872eb24a557 | 815 | https://github.com/octoblu/meshblu/blob/570d4f4280f91848309ce5ab47bcd872eb24a557/lib/revokeToken.coffee | 1 | 20 |
ExpediaGroup/cyclotron:cyclotron-site/test/unit/mixins-flattenObject-spec.coffee:1:raw_corpus | raw_corpus | ###
# Copyright (c) 2013-2018 the original author or authors.
#
# Licensed under the MIT License (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.opensource.org/licenses/mit-license.php
#
# Unless required by applicable law ... | CoffeeScript | ExpediaGroup/cyclotron | cyclotron-site/test/unit/mixins-flattenObject-spec.coffee | MIT | 0228db71d84a3138a9ffddb50d8f4f8ff37cc5ab | 1,544 | https://github.com/ExpediaGroup/cyclotron/blob/0228db71d84a3138a9ffddb50d8f4f8ff37cc5ab/cyclotron-site/test/unit/mixins-flattenObject-spec.coffee | 1 | 50 | ||
ExpediaGroup/cyclotron:cyclotron-site/test/unit/mixins-flattenObject-spec.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
###
# Copyright (c) 2013-2018 the original author or authors.
#
# Licensed under the MIT License (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.opensource.org/licens... | /*
* Copyright (c) 2013-2018 the original author or authors.
*
* Licensed under the MIT License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.opensource.org/licenses/mit-license.php
*
* Unless required by applica... | CoffeeScript | JavaScript | ExpediaGroup/cyclotron | cyclotron-site/test/unit/mixins-flattenObject-spec.coffee | MIT | 0228db71d84a3138a9ffddb50d8f4f8ff37cc5ab | 1,544 | https://github.com/ExpediaGroup/cyclotron/blob/0228db71d84a3138a9ffddb50d8f4f8ff37cc5ab/cyclotron-site/test/unit/mixins-flattenObject-spec.coffee | 1 | 50 |
ExpediaGroup/cyclotron:cyclotron-site/test/unit/mixins-flattenObject-spec.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
/*
* Copyright (c) 2013-2018 the original author or authors.
*
* Licensed under the MIT License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.opensource.org/li... | ###
# Copyright (c) 2013-2018 the original author or authors.
#
# Licensed under the MIT License (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.opensource.org/licenses/mit-license.php
#
# Unless required by applicable law ... | JavaScript | CoffeeScript | ExpediaGroup/cyclotron | cyclotron-site/test/unit/mixins-flattenObject-spec.coffee | MIT | 0228db71d84a3138a9ffddb50d8f4f8ff37cc5ab | 1,544 | https://github.com/ExpediaGroup/cyclotron/blob/0228db71d84a3138a9ffddb50d8f4f8ff37cc5ab/cyclotron-site/test/unit/mixins-flattenObject-spec.coffee | 1 | 50 |
ExpediaGroup/cyclotron:cyclotron-site/test/unit/mixins-flattenObject-spec.coffee:1:completion | completion | ###
# Copyright (c) 2013-2018 the original author or authors.
#
# Licensed under the MIT License (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.opensource.org/licenses/mit-license.php
#
# Unless required by applicable law ... | expect(_.flattenObject('')).toBeEmptyString()
it 'should return a string if given a string', ->
expect(_.flattenObject('hello')).toBe 'hello'
it 'should return a number if given a number', ->
expect(_.flattenObject(42)).toBe 42
it 'should return an array if given an array', ->
exp... | CoffeeScript | CoffeeScript | ExpediaGroup/cyclotron | cyclotron-site/test/unit/mixins-flattenObject-spec.coffee | MIT | 0228db71d84a3138a9ffddb50d8f4f8ff37cc5ab | 1,544 | https://github.com/ExpediaGroup/cyclotron/blob/0228db71d84a3138a9ffddb50d8f4f8ff37cc5ab/cyclotron-site/test/unit/mixins-flattenObject-spec.coffee | 1 | 50 |
ExpediaGroup/cyclotron:cyclotron-site/test/unit/mixins-flattenObject-spec.coffee:1:raw_corpus | raw_corpus | ###
# Copyright (c) 2013-2015 the original author or authors.
#
# Licensed under the MIT License (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.opensource.org/licenses/mit-license.php
#
# Unless required by applicable law ... | CoffeeScript | ExpediaGroup/cyclotron | cyclotron-site/test/unit/mixins-flattenObject-spec.coffee | MIT | e6c2d6b6ba251383102913db30400f783b64f049 | 1,544 | https://github.com/ExpediaGroup/cyclotron/blob/e6c2d6b6ba251383102913db30400f783b64f049/cyclotron-site/test/unit/mixins-flattenObject-spec.coffee | 1 | 50 | ||
ExpediaGroup/cyclotron:cyclotron-site/test/unit/mixins-flattenObject-spec.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
###
# Copyright (c) 2013-2015 the original author or authors.
#
# Licensed under the MIT License (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.opensource.org/licens... | /*
* Copyright (c) 2013-2015 the original author or authors.
*
* Licensed under the MIT License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.opensource.org/licenses/mit-license.php
*
* Unless required by applica... | CoffeeScript | JavaScript | ExpediaGroup/cyclotron | cyclotron-site/test/unit/mixins-flattenObject-spec.coffee | MIT | e6c2d6b6ba251383102913db30400f783b64f049 | 1,544 | https://github.com/ExpediaGroup/cyclotron/blob/e6c2d6b6ba251383102913db30400f783b64f049/cyclotron-site/test/unit/mixins-flattenObject-spec.coffee | 1 | 50 |
ExpediaGroup/cyclotron:cyclotron-site/test/unit/mixins-flattenObject-spec.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
/*
* Copyright (c) 2013-2015 the original author or authors.
*
* Licensed under the MIT License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.opensource.org/li... | ###
# Copyright (c) 2013-2015 the original author or authors.
#
# Licensed under the MIT License (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.opensource.org/licenses/mit-license.php
#
# Unless required by applicable law ... | JavaScript | CoffeeScript | ExpediaGroup/cyclotron | cyclotron-site/test/unit/mixins-flattenObject-spec.coffee | MIT | e6c2d6b6ba251383102913db30400f783b64f049 | 1,544 | https://github.com/ExpediaGroup/cyclotron/blob/e6c2d6b6ba251383102913db30400f783b64f049/cyclotron-site/test/unit/mixins-flattenObject-spec.coffee | 1 | 50 |
ExpediaGroup/cyclotron:cyclotron-site/test/unit/mixins-flattenObject-spec.coffee:1:completion | completion | ###
# Copyright (c) 2013-2015 the original author or authors.
#
# Licensed under the MIT License (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.opensource.org/licenses/mit-license.php
#
# Unless required by applicable law ... | expect(_.flattenObject('')).toBeEmptyString()
it 'should return a string if given a string', ->
expect(_.flattenObject('hello')).toBe 'hello'
it 'should return a number if given a number', ->
expect(_.flattenObject(42)).toBe 42
it 'should return an array if given an array', ->
exp... | CoffeeScript | CoffeeScript | ExpediaGroup/cyclotron | cyclotron-site/test/unit/mixins-flattenObject-spec.coffee | MIT | e6c2d6b6ba251383102913db30400f783b64f049 | 1,544 | https://github.com/ExpediaGroup/cyclotron/blob/e6c2d6b6ba251383102913db30400f783b64f049/cyclotron-site/test/unit/mixins-flattenObject-spec.coffee | 1 | 50 |
twilson63/express-coffee:assets/js/app.coffee:1:raw_corpus | raw_corpus | $ ->
x = -> $('<h2>Express Coffee Template 1.4</h2>').prependTo('.right')
setTimeout x, 500 | CoffeeScript | twilson63/express-coffee | assets/js/app.coffee | MIT | baedde8ee076605eeaf56dd50eb72fe6d5621f8e | 622 | https://github.com/twilson63/express-coffee/blob/baedde8ee076605eeaf56dd50eb72fe6d5621f8e/assets/js/app.coffee | 1 | 3 | ||
twilson63/express-coffee:assets/js/app.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
$ ->
x = -> $('<h2>Express Coffee Template 1.4</h2>').prependTo('.right')
setTimeout x, 500
``` | $(function() {
var x;
x = function() {
return $('<h2>Express Coffee Template 1.4</h2>').prependTo('.right');
};
return setTimeout(x, 500);
}); | CoffeeScript | JavaScript | twilson63/express-coffee | assets/js/app.coffee | MIT | baedde8ee076605eeaf56dd50eb72fe6d5621f8e | 622 | https://github.com/twilson63/express-coffee/blob/baedde8ee076605eeaf56dd50eb72fe6d5621f8e/assets/js/app.coffee | 1 | 3 |
twilson63/express-coffee:assets/js/app.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
$(function() {
var x;
x = function() {
return $('<h2>Express Coffee Template 1.4</h2>').prependTo('.right');
};
return setTimeout(x, 500);
});
``` | $ ->
x = -> $('<h2>Express Coffee Template 1.4</h2>').prependTo('.right')
setTimeout x, 500 | JavaScript | CoffeeScript | twilson63/express-coffee | assets/js/app.coffee | MIT | baedde8ee076605eeaf56dd50eb72fe6d5621f8e | 622 | https://github.com/twilson63/express-coffee/blob/baedde8ee076605eeaf56dd50eb72fe6d5621f8e/assets/js/app.coffee | 1 | 3 |
twilson63/express-coffee:assets/js/app.coffee:1:raw_corpus | raw_corpus | $ ->
x = -> $('<h2>Express Coffee Template 1.3</h2>').prependTo('.right')
setTimeout x, 500 | CoffeeScript | twilson63/express-coffee | assets/js/app.coffee | MIT | fc7fde99d0d767d77ea30dd6cd7bea4baa4fa8c7 | 622 | https://github.com/twilson63/express-coffee/blob/fc7fde99d0d767d77ea30dd6cd7bea4baa4fa8c7/assets/js/app.coffee | 1 | 3 | ||
twilson63/express-coffee:assets/js/app.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
$ ->
x = -> $('<h2>Express Coffee Template 1.3</h2>').prependTo('.right')
setTimeout x, 500
``` | $(function() {
var x;
x = function() {
return $('<h2>Express Coffee Template 1.3</h2>').prependTo('.right');
};
return setTimeout(x, 500);
}); | CoffeeScript | JavaScript | twilson63/express-coffee | assets/js/app.coffee | MIT | fc7fde99d0d767d77ea30dd6cd7bea4baa4fa8c7 | 622 | https://github.com/twilson63/express-coffee/blob/fc7fde99d0d767d77ea30dd6cd7bea4baa4fa8c7/assets/js/app.coffee | 1 | 3 |
twilson63/express-coffee:assets/js/app.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
$(function() {
var x;
x = function() {
return $('<h2>Express Coffee Template 1.3</h2>').prependTo('.right');
};
return setTimeout(x, 500);
});
``` | $ ->
x = -> $('<h2>Express Coffee Template 1.3</h2>').prependTo('.right')
setTimeout x, 500 | JavaScript | CoffeeScript | twilson63/express-coffee | assets/js/app.coffee | MIT | fc7fde99d0d767d77ea30dd6cd7bea4baa4fa8c7 | 622 | https://github.com/twilson63/express-coffee/blob/fc7fde99d0d767d77ea30dd6cd7bea4baa4fa8c7/assets/js/app.coffee | 1 | 3 |
twilson63/express-coffee:assets/js/app.coffee:1:raw_corpus | raw_corpus | $ ->
x = -> $('<h2>Express Coffee Template 1.2</h2>').prependTo('.right')
setTimeout x, 500 | CoffeeScript | twilson63/express-coffee | assets/js/app.coffee | MIT | eb6c371ae555de80cc38b208615e3d8f977d3bc1 | 622 | https://github.com/twilson63/express-coffee/blob/eb6c371ae555de80cc38b208615e3d8f977d3bc1/assets/js/app.coffee | 1 | 3 | ||
twilson63/express-coffee:assets/js/app.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
$ ->
x = -> $('<h2>Express Coffee Template 1.2</h2>').prependTo('.right')
setTimeout x, 500
``` | $(function() {
var x;
x = function() {
return $('<h2>Express Coffee Template 1.2</h2>').prependTo('.right');
};
return setTimeout(x, 500);
}); | CoffeeScript | JavaScript | twilson63/express-coffee | assets/js/app.coffee | MIT | eb6c371ae555de80cc38b208615e3d8f977d3bc1 | 622 | https://github.com/twilson63/express-coffee/blob/eb6c371ae555de80cc38b208615e3d8f977d3bc1/assets/js/app.coffee | 1 | 3 |
twilson63/express-coffee:assets/js/app.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
$(function() {
var x;
x = function() {
return $('<h2>Express Coffee Template 1.2</h2>').prependTo('.right');
};
return setTimeout(x, 500);
});
``` | $ ->
x = -> $('<h2>Express Coffee Template 1.2</h2>').prependTo('.right')
setTimeout x, 500 | JavaScript | CoffeeScript | twilson63/express-coffee | assets/js/app.coffee | MIT | eb6c371ae555de80cc38b208615e3d8f977d3bc1 | 622 | https://github.com/twilson63/express-coffee/blob/eb6c371ae555de80cc38b208615e3d8f977d3bc1/assets/js/app.coffee | 1 | 3 |
twilson63/express-coffee:assets/js/app.coffee:1:raw_corpus | raw_corpus | $ ->
x = -> $('<h2 style="background: black;color:white;margin:10px;width:100%;text-align:center;">Express Coffee Template 1.2</h2>').prependTo('.right')
setTimeout x, 2000 | CoffeeScript | twilson63/express-coffee | assets/js/app.coffee | MIT | cd5bf56398af27a1d9d3c1b9e4cfabbbacf142de | 622 | https://github.com/twilson63/express-coffee/blob/cd5bf56398af27a1d9d3c1b9e4cfabbbacf142de/assets/js/app.coffee | 1 | 3 | ||
twilson63/express-coffee:assets/js/app.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
$ ->
x = -> $('<h2 style="background: black;color:white;margin:10px;width:100%;text-align:center;">Express Coffee Template 1.2</h2>').prependTo('.right')
setTimeout x, 2000
``` | $(function() {
var x;
x = function() {
return $('<h2 style="background: black;color:white;margin:10px;width:100%;text-align:center;">Express Coffee Template 1.2</h2>').prependTo('.right');
};
return setTimeout(x, 2000);
}); | CoffeeScript | JavaScript | twilson63/express-coffee | assets/js/app.coffee | MIT | cd5bf56398af27a1d9d3c1b9e4cfabbbacf142de | 622 | https://github.com/twilson63/express-coffee/blob/cd5bf56398af27a1d9d3c1b9e4cfabbbacf142de/assets/js/app.coffee | 1 | 3 |
twilson63/express-coffee:assets/js/app.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
$(function() {
var x;
x = function() {
return $('<h2 style="background: black;color:white;margin:10px;width:100%;text-align:center;">Express Coffee Template 1.2</h2>').prependTo('.right');
};
return setTimeout(x, 2000);
});
``` | $ ->
x = -> $('<h2 style="background: black;color:white;margin:10px;width:100%;text-align:center;">Express Coffee Template 1.2</h2>').prependTo('.right')
setTimeout x, 2000 | JavaScript | CoffeeScript | twilson63/express-coffee | assets/js/app.coffee | MIT | cd5bf56398af27a1d9d3c1b9e4cfabbbacf142de | 622 | https://github.com/twilson63/express-coffee/blob/cd5bf56398af27a1d9d3c1b9e4cfabbbacf142de/assets/js/app.coffee | 1 | 3 |
jianliaoim/talk-os:talk-web/karma.conf.coffee:1:raw_corpus | raw_corpus | module.exports = (config) ->
config.set
# base path that will be used to resolve all patterns (eg. files, exclude)
basePath: ''
# frameworks to use
# available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ['jasmine']
# list of files / patterns to load in the brow... | CoffeeScript | jianliaoim/talk-os | talk-web/karma.conf.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-web/karma.conf.coffee | 15 | 64 | ||
jianliaoim/talk-os:talk-web/karma.conf.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 all patterns (eg. files, exclude)
basePath: ''
# frameworks to use
# available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ['jasmi... | module.exports = function(config) {
return config.set({
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: '',
// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ['jasmine'],
// list of files / patterns to... | CoffeeScript | JavaScript | jianliaoim/talk-os | talk-web/karma.conf.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-web/karma.conf.coffee | 15 | 64 |
jianliaoim/talk-os:talk-web/karma.conf.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 all patterns (eg. files, exclude)
basePath: '',
// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
fram... | module.exports = (config) ->
config.set
# base path that will be used to resolve all patterns (eg. files, exclude)
basePath: ''
# frameworks to use
# available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ['jasmine']
# list of files / patterns to load in the brow... | JavaScript | CoffeeScript | jianliaoim/talk-os | talk-web/karma.conf.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-web/karma.conf.coffee | 15 | 64 |
jianliaoim/talk-os:talk-web/karma.conf.coffee:1:completion | completion | module.exports = (config) ->
config.set
# base path that will be used to resolve all patterns (eg. files, exclude)
basePath: ''
# frameworks to use
# available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ['jasmine']
# list of files / patterns to load in the brow... | preprocessors:
'test/spec/*': ['webpack']
plugins: [
'karma-webpack'
'karma-coffee-preprocessor'
'karma-jasmine'
'karma-phantomjs-launcher'
]
webpack: webpackConfig
webpackMiddleware:
stats:
colors: true
noInfo: false
quiet: true
# test... | CoffeeScript | CoffeeScript | jianliaoim/talk-os | talk-web/karma.conf.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-web/karma.conf.coffee | 15 | 64 |
jianliaoim/talk-os:talk-web/karma.conf.coffee:2:raw_corpus | raw_corpus | reporters: ['dots']
reportSlowerThan: 500
# web server port
port: 9876
# enable / disable colors in the output (reporters and logs)
colors: true
# level of logging
# possible values:
# - config.LOG_DISABLE
# - config.LOG_ERROR
# - config.LOG_WARN
# - config.LOG_INFO
... | CoffeeScript | jianliaoim/talk-os | talk-web/karma.conf.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-web/karma.conf.coffee | 65 | 100 | ||
jianliaoim/talk-os:talk-web/karma.conf.coffee:2:completion | completion | reporters: ['dots']
reportSlowerThan: 500
# web server port
port: 9876
# enable / disable colors in the output (reporters and logs)
colors: true
# level of logging
# possible values:
# - config.LOG_DISABLE
# - config.LOG_ERROR | # - config.LOG_WARN
# - config.LOG_INFO
# - config.LOG_DEBUG
logLevel: config.LOG_INFO
# enable / disable watching file and executing tests whenever any file changes
autoWatch: true
# start these browsers
# available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
... | CoffeeScript | CoffeeScript | jianliaoim/talk-os | talk-web/karma.conf.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-web/karma.conf.coffee | 65 | 100 |
iostreamer-X/Awkward:terminal/main.coffee:1:raw_corpus | raw_corpus | handler_action = (args,cb)->
require('./handler') args
cb()
module.exports = (awkward)->
awkward.mode 'repl'
.delimiter 'ward:~$'
.description 'Enter the awkward zone.'
.action handler_action | CoffeeScript | iostreamer-X/Awkward | terminal/main.coffee | MIT | 4deba7087cfbcf772ec18ce95cba2f5d340f2071 | 458 | https://github.com/iostreamer-X/Awkward/blob/4deba7087cfbcf772ec18ce95cba2f5d340f2071/terminal/main.coffee | 1 | 9 | ||
iostreamer-X/Awkward:terminal/main.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
handler_action = (args,cb)->
require('./handler') args
cb()
module.exports = (awkward)->
awkward.mode 'repl'
.delimiter 'ward:~$'
.description 'Enter the awkward zone.'
.action handler_action
``` | var handler_action;
handler_action = function(args, cb) {
require('./handler')(args);
return cb();
};
module.exports = function(awkward) {
return awkward.mode('repl').delimiter('ward:~$').description('Enter the awkward zone.').action(handler_action);
}; | CoffeeScript | JavaScript | iostreamer-X/Awkward | terminal/main.coffee | MIT | 4deba7087cfbcf772ec18ce95cba2f5d340f2071 | 458 | https://github.com/iostreamer-X/Awkward/blob/4deba7087cfbcf772ec18ce95cba2f5d340f2071/terminal/main.coffee | 1 | 9 |
iostreamer-X/Awkward:terminal/main.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var handler_action;
handler_action = function(args, cb) {
require('./handler')(args);
return cb();
};
module.exports = function(awkward) {
return awkward.mode('repl').delimiter('ward:~$').description('Enter the awkward zone.').action(handler_action);
};
``` | handler_action = (args,cb)->
require('./handler') args
cb()
module.exports = (awkward)->
awkward.mode 'repl'
.delimiter 'ward:~$'
.description 'Enter the awkward zone.'
.action handler_action | JavaScript | CoffeeScript | iostreamer-X/Awkward | terminal/main.coffee | MIT | 4deba7087cfbcf772ec18ce95cba2f5d340f2071 | 458 | https://github.com/iostreamer-X/Awkward/blob/4deba7087cfbcf772ec18ce95cba2f5d340f2071/terminal/main.coffee | 1 | 9 |
iostreamer-X/Awkward:terminal/main.coffee:1:completion | completion | handler_action = (args,cb)->
require('./handler') args
cb() | module.exports = (awkward)->
awkward.mode 'repl'
.delimiter 'ward:~$'
.description 'Enter the awkward zone.'
.action handler_action | CoffeeScript | CoffeeScript | iostreamer-X/Awkward | terminal/main.coffee | MIT | 4deba7087cfbcf772ec18ce95cba2f5d340f2071 | 458 | https://github.com/iostreamer-X/Awkward/blob/4deba7087cfbcf772ec18ce95cba2f5d340f2071/terminal/main.coffee | 1 | 9 |
jianliaoim/talk-os:talk-web/client/util/overload.coffee:1:raw_corpus | raw_corpus | Store = require 'store2'
analytics = require '../util/analytics'
_open = window.open
window.open = (url) ->
if window.MacGap?.Window
window.MacGap.Window.open url: url
else
_open.apply window, arguments
if __DEV__
installDevTools = require('immutable-devtools')
installDevTools.default require('immutab... | CoffeeScript | jianliaoim/talk-os | talk-web/client/util/overload.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-web/client/util/overload.coffee | 1 | 25 | ||
jianliaoim/talk-os:talk-web/client/util/overload.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
Store = require 'store2'
analytics = require '../util/analytics'
_open = window.open
window.open = (url) ->
if window.MacGap?.Window
window.MacGap.Window.open url: url
else
_open.apply window, arguments
if __DEV__
installDevTools = require('immuta... | var STORAGE_ACTIVE_KEY, Store, _open, analytics, installDevTools, lastSendTime;
Store = require('store2');
analytics = require('../util/analytics');
_open = window.open;
window.open = function(url) {
var ref;
if ((ref = window.MacGap) != null ? ref.Window : void 0) {
return window.MacGap.Window.open({
... | CoffeeScript | JavaScript | jianliaoim/talk-os | talk-web/client/util/overload.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-web/client/util/overload.coffee | 1 | 25 |
jianliaoim/talk-os:talk-web/client/util/overload.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var STORAGE_ACTIVE_KEY, Store, _open, analytics, installDevTools, lastSendTime;
Store = require('store2');
analytics = require('../util/analytics');
_open = window.open;
window.open = function(url) {
var ref;
if ((ref = window.MacGap) != null ? ref.Window :... | Store = require 'store2'
analytics = require '../util/analytics'
_open = window.open
window.open = (url) ->
if window.MacGap?.Window
window.MacGap.Window.open url: url
else
_open.apply window, arguments
if __DEV__
installDevTools = require('immutable-devtools')
installDevTools.default require('immutab... | JavaScript | CoffeeScript | jianliaoim/talk-os | talk-web/client/util/overload.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-web/client/util/overload.coffee | 1 | 25 |
jianliaoim/talk-os:talk-web/client/util/overload.coffee:1:completion | completion | Store = require 'store2'
analytics = require '../util/analytics'
_open = window.open
window.open = (url) ->
if window.MacGap?.Window
window.MacGap.Window.open url: url
else
_open.apply window, arguments
if __DEV__
installDevTools = require('immutable-devtools') | installDevTools.default require('immutable')
# 统计用户活跃度。每隔一个小时发一次数据
STORAGE_ACTIVE_KEY = 'jianliaoAlive'
lastSendTime =
Store.get(STORAGE_ACTIVE_KEY) or 0
window.onclick = ->
now = (new Date).valueOf()
if now - lastSendTime >= 60 * 60 * 1000
analytics.alive()
lastSendTime = now
Store.set(STORAGE_ACTI... | CoffeeScript | CoffeeScript | jianliaoim/talk-os | talk-web/client/util/overload.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-web/client/util/overload.coffee | 1 | 25 |
jianliaoim/talk-os:talk-web/client/util/lazy-modules.coffee:1:raw_corpus | raw_corpus | # 异步加载的计划, 通过异步加载模块的方式控制代码
# controller 当中异步加载并 define 组件
# renderer 当中 load 组件用户渲染
# 代码有点 tricky 而且用设计模式和可变对象, 而不是纯函数的手法, 谨慎使用
React = require 'react'
analytics = require './analytics'
lazyModules = {}
exports.define = (moduleName, module) ->
lazyModules[moduleName] = module
exports.load = (moduleName) ->
laz... | CoffeeScript | jianliaoim/talk-os | talk-web/client/util/lazy-modules.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-web/client/util/lazy-modules.coffee | 1 | 25 | ||
jianliaoim/talk-os:talk-web/client/util/lazy-modules.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
# 异步加载的计划, 通过异步加载模块的方式控制代码
# controller 当中异步加载并 define 组件
# renderer 当中 load 组件用户渲染
# 代码有点 tricky 而且用设计模式和可变对象, 而不是纯函数的手法, 谨慎使用
React = require 'react'
analytics = require './analytics'
lazyModules = {}
exports.define = (moduleName, module) ->
lazyModules[m... | // 异步加载的计划, 通过异步加载模块的方式控制代码
// controller 当中异步加载并 define 组件
// renderer 当中 load 组件用户渲染
// 代码有点 tricky 而且用设计模式和可变对象, 而不是纯函数的手法, 谨慎使用
var React, analytics, lazyModules;
React = require('react');
analytics = require('./analytics');
lazyModules = {};
exports.define = function(moduleName, module) {
return lazyModules[... | CoffeeScript | JavaScript | jianliaoim/talk-os | talk-web/client/util/lazy-modules.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-web/client/util/lazy-modules.coffee | 1 | 25 |
jianliaoim/talk-os:talk-web/client/util/lazy-modules.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
// 异步加载的计划, 通过异步加载模块的方式控制代码
// controller 当中异步加载并 define 组件
// renderer 当中 load 组件用户渲染
// 代码有点 tricky 而且用设计模式和可变对象, 而不是纯函数的手法, 谨慎使用
var React, analytics, lazyModules;
React = require('react');
analytics = require('./analytics');
lazyModules = {};
exports.define... | # 异步加载的计划, 通过异步加载模块的方式控制代码
# controller 当中异步加载并 define 组件
# renderer 当中 load 组件用户渲染
# 代码有点 tricky 而且用设计模式和可变对象, 而不是纯函数的手法, 谨慎使用
React = require 'react'
analytics = require './analytics'
lazyModules = {}
exports.define = (moduleName, module) ->
lazyModules[moduleName] = module
exports.load = (moduleName) ->
laz... | JavaScript | CoffeeScript | jianliaoim/talk-os | talk-web/client/util/lazy-modules.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-web/client/util/lazy-modules.coffee | 1 | 25 |
jianliaoim/talk-os:talk-web/client/util/lazy-modules.coffee:1:completion | completion | # 异步加载的计划, 通过异步加载模块的方式控制代码
# controller 当中异步加载并 define 组件
# renderer 当中 load 组件用户渲染
# 代码有点 tricky 而且用设计模式和可变对象, 而不是纯函数的手法, 谨慎使用
React = require 'react'
analytics = require './analytics'
lazyModules = {}
exports.define = (moduleName, module) -> | lazyModules[moduleName] = module
exports.load = (moduleName) ->
lazyModules[moduleName]
exports.ensureCodeEditor = (cb) ->
requireStartTime = (new Date).valueOf()
require.ensure [], ->
exports.define 'codemirror', require './codemirror'
exports.define 'code-editor', React.createFactory require '../modul... | CoffeeScript | CoffeeScript | jianliaoim/talk-os | talk-web/client/util/lazy-modules.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-web/client/util/lazy-modules.coffee | 1 | 25 |
CaryLandholt/AngularFun:src/scripts/main.coffee:1:raw_corpus | raw_corpus | require
paths:
'libs/angular' : 'libs/angular.min'
'libs/angular-resource' : 'libs/angular-resource.min'
'libs/angular-route' : 'libs/angular-route.min'
shim:
'controllers/gitHubController' : deps: ['libs/angular', 'app', 'services/gitHubService']
'co... | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | cb59040b164996bca974f6142cab43e4482afc31 | 672 | https://github.com/CaryLandholt/AngularFun/blob/cb59040b164996bca974f6142cab43e4482afc31/src/scripts/main.coffee | 1 | 39 | ||
CaryLandholt/AngularFun:src/scripts/main.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
require
paths:
'libs/angular' : 'libs/angular.min'
'libs/angular-resource' : 'libs/angular-resource.min'
'libs/angular-route' : 'libs/angular-route.min'
shim:
'controllers/gitHubController' : deps... | require({
paths: {
'libs/angular': 'libs/angular.min',
'libs/angular-resource': 'libs/angular-resource.min',
'libs/angular-route': 'libs/angular-route.min'
},
shim: {
'controllers/gitHubController': {
deps: ['libs/angular', 'app', 'services/gitHubService']
},
'controllers/personContr... | CoffeeScript | JavaScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | cb59040b164996bca974f6142cab43e4482afc31 | 672 | https://github.com/CaryLandholt/AngularFun/blob/cb59040b164996bca974f6142cab43e4482afc31/src/scripts/main.coffee | 1 | 39 |
CaryLandholt/AngularFun:src/scripts/main.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
require({
paths: {
'libs/angular': 'libs/angular.min',
'libs/angular-resource': 'libs/angular-resource.min',
'libs/angular-route': 'libs/angular-route.min'
},
shim: {
'controllers/gitHubController': {
deps: ['libs/angular', 'app', 'servi... | require
paths:
'libs/angular' : 'libs/angular.min'
'libs/angular-resource' : 'libs/angular-resource.min'
'libs/angular-route' : 'libs/angular-route.min'
shim:
'controllers/gitHubController' : deps: ['libs/angular', 'app', 'services/gitHubService']
'co... | JavaScript | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | cb59040b164996bca974f6142cab43e4482afc31 | 672 | https://github.com/CaryLandholt/AngularFun/blob/cb59040b164996bca974f6142cab43e4482afc31/src/scripts/main.coffee | 1 | 39 |
CaryLandholt/AngularFun:src/scripts/main.coffee:1:completion | completion | require
paths:
'libs/angular' : 'libs/angular.min'
'libs/angular-resource' : 'libs/angular-resource.min'
'libs/angular-route' : 'libs/angular-route.min'
shim:
'controllers/gitHubController' : deps: ['libs/angular', 'app', 'services/gitHubService']
'co... | 'app' : deps: ['libs/angular', 'libs/angular-resource', 'libs/angular-route']
'bootstrap' : deps: ['libs/angular', 'app']
'routes' : deps: ['libs/angular', 'libs/angular-route', 'app']
'run' : deps: ... | CoffeeScript | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | cb59040b164996bca974f6142cab43e4482afc31 | 672 | https://github.com/CaryLandholt/AngularFun/blob/cb59040b164996bca974f6142cab43e4482afc31/src/scripts/main.coffee | 1 | 39 |
CaryLandholt/AngularFun:src/scripts/main.coffee:1:raw_corpus | raw_corpus | require
paths:
'libs/angular' : 'libs/angular.min'
'libs/angular-resource' : 'libs/angular-resource.min'
'libs/angular-route' : 'libs/angular-route.min'
shim:
'controllers/gitHubController' : deps: ['libs/angular', 'app', 'services/gitHubService']
'co... | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | a3539969bf7b37ebbabed2a878f8190ea7d7ee00 | 672 | https://github.com/CaryLandholt/AngularFun/blob/a3539969bf7b37ebbabed2a878f8190ea7d7ee00/src/scripts/main.coffee | 1 | 41 | ||
CaryLandholt/AngularFun:src/scripts/main.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
require
paths:
'libs/angular' : 'libs/angular.min'
'libs/angular-resource' : 'libs/angular-resource.min'
'libs/angular-route' : 'libs/angular-route.min'
shim:
'controllers/gitHubController' : deps... | require({
paths: {
'libs/angular': 'libs/angular.min',
'libs/angular-resource': 'libs/angular-resource.min',
'libs/angular-route': 'libs/angular-route.min'
},
shim: {
'controllers/gitHubController': {
deps: ['libs/angular', 'app', 'services/gitHubService']
},
'controllers/personContr... | CoffeeScript | JavaScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | a3539969bf7b37ebbabed2a878f8190ea7d7ee00 | 672 | https://github.com/CaryLandholt/AngularFun/blob/a3539969bf7b37ebbabed2a878f8190ea7d7ee00/src/scripts/main.coffee | 1 | 41 |
CaryLandholt/AngularFun:src/scripts/main.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
require({
paths: {
'libs/angular': 'libs/angular.min',
'libs/angular-resource': 'libs/angular-resource.min',
'libs/angular-route': 'libs/angular-route.min'
},
shim: {
'controllers/gitHubController': {
deps: ['libs/angular', 'app', 'servi... | require
paths:
'libs/angular' : 'libs/angular.min'
'libs/angular-resource' : 'libs/angular-resource.min'
'libs/angular-route' : 'libs/angular-route.min'
shim:
'controllers/gitHubController' : deps: ['libs/angular', 'app', 'services/gitHubService']
'co... | JavaScript | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | a3539969bf7b37ebbabed2a878f8190ea7d7ee00 | 672 | https://github.com/CaryLandholt/AngularFun/blob/a3539969bf7b37ebbabed2a878f8190ea7d7ee00/src/scripts/main.coffee | 1 | 41 |
CaryLandholt/AngularFun:src/scripts/main.coffee:1:completion | completion | require
paths:
'libs/angular' : 'libs/angular.min'
'libs/angular-resource' : 'libs/angular-resource.min'
'libs/angular-route' : 'libs/angular-route.min'
shim:
'controllers/gitHubController' : deps: ['libs/angular', 'app', 'services/gitHubService']
'co... | 'app' : deps: ['libs/angular', 'libs/angular-resource', 'libs/angular-route']
'bootstrap' : deps: ['libs/angular', 'app']
'routes' : deps: ['libs/angular', 'libs/angular-route', 'app']
'run' : deps: ... | CoffeeScript | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | a3539969bf7b37ebbabed2a878f8190ea7d7ee00 | 672 | https://github.com/CaryLandholt/AngularFun/blob/a3539969bf7b37ebbabed2a878f8190ea7d7ee00/src/scripts/main.coffee | 1 | 41 |
CaryLandholt/AngularFun:src/scripts/main.coffee:1:raw_corpus | raw_corpus | require
paths:
'libs/angular' : 'libs/angular.min'
'libs/angular-resource' : 'libs/angular-resource.min'
'libs/angular-route' : 'libs/angular-route.min'
shim:
'controllers/gitHubController' : deps: ['app', 'services/gitHubService']
'controllers/person... | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | d9e7ad5a4e32e47f8b6251dab729709e63de4792 | 672 | https://github.com/CaryLandholt/AngularFun/blob/d9e7ad5a4e32e47f8b6251dab729709e63de4792/src/scripts/main.coffee | 1 | 41 | ||
CaryLandholt/AngularFun:src/scripts/main.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
require
paths:
'libs/angular' : 'libs/angular.min'
'libs/angular-resource' : 'libs/angular-resource.min'
'libs/angular-route' : 'libs/angular-route.min'
shim:
'controllers/gitHubController' : deps... | require({
paths: {
'libs/angular': 'libs/angular.min',
'libs/angular-resource': 'libs/angular-resource.min',
'libs/angular-route': 'libs/angular-route.min'
},
shim: {
'controllers/gitHubController': {
deps: ['app', 'services/gitHubService']
},
'controllers/personController': {
... | CoffeeScript | JavaScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | d9e7ad5a4e32e47f8b6251dab729709e63de4792 | 672 | https://github.com/CaryLandholt/AngularFun/blob/d9e7ad5a4e32e47f8b6251dab729709e63de4792/src/scripts/main.coffee | 1 | 41 |
CaryLandholt/AngularFun:src/scripts/main.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
require({
paths: {
'libs/angular': 'libs/angular.min',
'libs/angular-resource': 'libs/angular-resource.min',
'libs/angular-route': 'libs/angular-route.min'
},
shim: {
'controllers/gitHubController': {
deps: ['app', 'services/gitHubServic... | require
paths:
'libs/angular' : 'libs/angular.min'
'libs/angular-resource' : 'libs/angular-resource.min'
'libs/angular-route' : 'libs/angular-route.min'
shim:
'controllers/gitHubController' : deps: ['app', 'services/gitHubService']
'controllers/person... | JavaScript | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | d9e7ad5a4e32e47f8b6251dab729709e63de4792 | 672 | https://github.com/CaryLandholt/AngularFun/blob/d9e7ad5a4e32e47f8b6251dab729709e63de4792/src/scripts/main.coffee | 1 | 41 |
CaryLandholt/AngularFun:src/scripts/main.coffee:1:completion | completion | require
paths:
'libs/angular' : 'libs/angular.min'
'libs/angular-resource' : 'libs/angular-resource.min'
'libs/angular-route' : 'libs/angular-route.min'
shim:
'controllers/gitHubController' : deps: ['app', 'services/gitHubService']
'controllers/person... | 'app' : deps: ['libs/angular', 'libs/angular-resource', 'libs/angular-route']
'bootstrap' : deps: ['app']
'routes' : deps: ['app']
'run' : deps: ['app']
'views' : deps:... | CoffeeScript | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | d9e7ad5a4e32e47f8b6251dab729709e63de4792 | 672 | https://github.com/CaryLandholt/AngularFun/blob/d9e7ad5a4e32e47f8b6251dab729709e63de4792/src/scripts/main.coffee | 1 | 41 |
CaryLandholt/AngularFun:src/scripts/main.coffee:1:raw_corpus | raw_corpus | require
shim:
'controllers/gitHubController' : deps: ['app', 'services/gitHubService']
'controllers/personController' : deps: ['app', 'services/personService']
'controllers/personDetailsController': deps: ['app', 'services/personService']
'controllers/searchHistoryController': deps: ['app', 'servic... | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | 8706e0902a4ed56a9ae0ca908e4b9a95e47954e9 | 672 | https://github.com/CaryLandholt/AngularFun/blob/8706e0902a4ed56a9ae0ca908e4b9a95e47954e9/src/scripts/main.coffee | 1 | 37 | ||
CaryLandholt/AngularFun:src/scripts/main.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
require
shim:
'controllers/gitHubController' : deps: ['app', 'services/gitHubService']
'controllers/personController' : deps: ['app', 'services/personService']
'controllers/personDetailsController': deps: ['app', 'services/personService']
'co... | require({
shim: {
'controllers/gitHubController': {
deps: ['app', 'services/gitHubService']
},
'controllers/personController': {
deps: ['app', 'services/personService']
},
'controllers/personDetailsController': {
deps: ['app', 'services/personService']
},
'controllers/sea... | CoffeeScript | JavaScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | 8706e0902a4ed56a9ae0ca908e4b9a95e47954e9 | 672 | https://github.com/CaryLandholt/AngularFun/blob/8706e0902a4ed56a9ae0ca908e4b9a95e47954e9/src/scripts/main.coffee | 1 | 37 |
CaryLandholt/AngularFun:src/scripts/main.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
require({
shim: {
'controllers/gitHubController': {
deps: ['app', 'services/gitHubService']
},
'controllers/personController': {
deps: ['app', 'services/personService']
},
'controllers/personDetailsController': {
deps: ['app'... | require
shim:
'controllers/gitHubController' : deps: ['app', 'services/gitHubService']
'controllers/personController' : deps: ['app', 'services/personService']
'controllers/personDetailsController': deps: ['app', 'services/personService']
'controllers/searchHistoryController': deps: ['app', 'servic... | JavaScript | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | 8706e0902a4ed56a9ae0ca908e4b9a95e47954e9 | 672 | https://github.com/CaryLandholt/AngularFun/blob/8706e0902a4ed56a9ae0ca908e4b9a95e47954e9/src/scripts/main.coffee | 1 | 37 |
CaryLandholt/AngularFun:src/scripts/main.coffee:1:completion | completion | require
shim:
'controllers/gitHubController' : deps: ['app', 'services/gitHubService']
'controllers/personController' : deps: ['app', 'services/personService']
'controllers/personDetailsController': deps: ['app', 'services/personService']
'controllers/searchHistoryController': deps: ['app', 'servic... | 'routes' : deps: ['app']
'run' : deps: ['app']
'views' : deps: ['app']
[
'require'
'controllers/gitHubController'
'controllers/personController'
'controllers/personDetailsController'
'controllers/searchHistoryControll... | CoffeeScript | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | 8706e0902a4ed56a9ae0ca908e4b9a95e47954e9 | 672 | https://github.com/CaryLandholt/AngularFun/blob/8706e0902a4ed56a9ae0ca908e4b9a95e47954e9/src/scripts/main.coffee | 1 | 37 |
CaryLandholt/AngularFun:src/scripts/main.coffee:1:raw_corpus | raw_corpus | do (require, window) ->
'use strict'
require
shim:
'controllers/gitHubController' : deps: ['app', 'services/gitHubService']
'controllers/personController' : deps: ['app', 'services/personService']
'controllers/personDetailsController': deps: ['app', 'services/personService']
'controllers/se... | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | c8848363eb83958fd323cfdf2442c0831d53d985 | 672 | https://github.com/CaryLandholt/AngularFun/blob/c8848363eb83958fd323cfdf2442c0831d53d985/src/scripts/main.coffee | 1 | 41 | ||
CaryLandholt/AngularFun:src/scripts/main.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
do (require, window) ->
'use strict'
require
shim:
'controllers/gitHubController' : deps: ['app', 'services/gitHubService']
'controllers/personController' : deps: ['app', 'services/personService']
'controllers/personDetailsController': d... | (function(require, window) {
'use strict';
return require({
shim: {
'controllers/gitHubController': {
deps: ['app', 'services/gitHubService']
},
'controllers/personController': {
deps: ['app', 'services/personService']
},
'controllers/personDetailsController': {
... | CoffeeScript | JavaScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | c8848363eb83958fd323cfdf2442c0831d53d985 | 672 | https://github.com/CaryLandholt/AngularFun/blob/c8848363eb83958fd323cfdf2442c0831d53d985/src/scripts/main.coffee | 1 | 41 |
CaryLandholt/AngularFun:src/scripts/main.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
(function(require, window) {
'use strict';
return require({
shim: {
'controllers/gitHubController': {
deps: ['app', 'services/gitHubService']
},
'controllers/personController': {
deps: ['app', 'services/personService']
... | do (require, window) ->
'use strict'
require
shim:
'controllers/gitHubController' : deps: ['app', 'services/gitHubService']
'controllers/personController' : deps: ['app', 'services/personService']
'controllers/personDetailsController': deps: ['app', 'services/personService']
'controllers/se... | JavaScript | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | c8848363eb83958fd323cfdf2442c0831d53d985 | 672 | https://github.com/CaryLandholt/AngularFun/blob/c8848363eb83958fd323cfdf2442c0831d53d985/src/scripts/main.coffee | 1 | 41 |
CaryLandholt/AngularFun:src/scripts/main.coffee:1:completion | completion | do (require, window) ->
'use strict'
require
shim:
'controllers/gitHubController' : deps: ['app', 'services/gitHubService']
'controllers/personController' : deps: ['app', 'services/personService']
'controllers/personDetailsController': deps: ['app', 'services/personService']
'controllers/se... | 'bootstrap' : deps: ['app']
'routes' : deps: ['app']
'run' : deps: ['app']
'views' : deps: ['app']
[
'require'
'controllers/gitHubController'
'controllers/personController'
'controller... | CoffeeScript | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | c8848363eb83958fd323cfdf2442c0831d53d985 | 672 | https://github.com/CaryLandholt/AngularFun/blob/c8848363eb83958fd323cfdf2442c0831d53d985/src/scripts/main.coffee | 1 | 41 |
CaryLandholt/AngularFun:src/scripts/main.coffee:1:raw_corpus | raw_corpus | do (require, window) ->
'use strict'
require
shim:
'controllers/gitHubController' : deps: ['app', 'services/gitHubService']
'controllers/personController' : deps: ['app', 'services/personService']
'controllers/personDetailsController': deps: ['app', 'services/personService']
'controllers/se... | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | 84cd4633279ad391623504698a20ed4b5560dc77 | 672 | https://github.com/CaryLandholt/AngularFun/blob/84cd4633279ad391623504698a20ed4b5560dc77/src/scripts/main.coffee | 1 | 41 | ||
CaryLandholt/AngularFun:src/scripts/main.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
do (require, window) ->
'use strict'
require
shim:
'controllers/gitHubController' : deps: ['app', 'services/gitHubService']
'controllers/personController' : deps: ['app', 'services/personService']
'controllers/personDetailsController': d... | (function(require, window) {
'use strict';
return require({
shim: {
'controllers/gitHubController': {
deps: ['app', 'services/gitHubService']
},
'controllers/personController': {
deps: ['app', 'services/personService']
},
'controllers/personDetailsController': {
... | CoffeeScript | JavaScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | 84cd4633279ad391623504698a20ed4b5560dc77 | 672 | https://github.com/CaryLandholt/AngularFun/blob/84cd4633279ad391623504698a20ed4b5560dc77/src/scripts/main.coffee | 1 | 41 |
CaryLandholt/AngularFun:src/scripts/main.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
(function(require, window) {
'use strict';
return require({
shim: {
'controllers/gitHubController': {
deps: ['app', 'services/gitHubService']
},
'controllers/personController': {
deps: ['app', 'services/personService']
... | do (require, window) ->
'use strict'
require
shim:
'controllers/gitHubController' : deps: ['app', 'services/gitHubService']
'controllers/personController' : deps: ['app', 'services/personService']
'controllers/personDetailsController': deps: ['app', 'services/personService']
'controllers/se... | JavaScript | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | 84cd4633279ad391623504698a20ed4b5560dc77 | 672 | https://github.com/CaryLandholt/AngularFun/blob/84cd4633279ad391623504698a20ed4b5560dc77/src/scripts/main.coffee | 1 | 41 |
CaryLandholt/AngularFun:src/scripts/main.coffee:1:completion | completion | do (require, window) ->
'use strict'
require
shim:
'controllers/gitHubController' : deps: ['app', 'services/gitHubService']
'controllers/personController' : deps: ['app', 'services/personService']
'controllers/personDetailsController': deps: ['app', 'services/personService']
'controllers/se... | 'bootstrap' : deps: ['app']
'routes' : deps: ['app']
'run' : deps: ['app']
'views' : deps: ['app']
[
'require'
'controllers/gitHubController'
'controllers/personController'
'controller... | CoffeeScript | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | 84cd4633279ad391623504698a20ed4b5560dc77 | 672 | https://github.com/CaryLandholt/AngularFun/blob/84cd4633279ad391623504698a20ed4b5560dc77/src/scripts/main.coffee | 1 | 41 |
CaryLandholt/AngularFun:src/scripts/main.coffee:1:raw_corpus | raw_corpus | require
shim:
'controllers/gitHubController' : deps: ['app', 'services/gitHubService']
'controllers/personController' : deps: ['app', 'services/personService']
'controllers/personDetailsController': deps: ['app', 'services/personService']
'controllers/searchHistoryController': deps: ['app', 'servic... | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | dcbe4ff9e30f1cc3a6d7e4dde37180b7202077cc | 672 | https://github.com/CaryLandholt/AngularFun/blob/dcbe4ff9e30f1cc3a6d7e4dde37180b7202077cc/src/scripts/main.coffee | 1 | 36 | ||
CaryLandholt/AngularFun:src/scripts/main.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
require
shim:
'controllers/gitHubController' : deps: ['app', 'services/gitHubService']
'controllers/personController' : deps: ['app', 'services/personService']
'controllers/personDetailsController': deps: ['app', 'services/personService']
'co... | require({
shim: {
'controllers/gitHubController': {
deps: ['app', 'services/gitHubService']
},
'controllers/personController': {
deps: ['app', 'services/personService']
},
'controllers/personDetailsController': {
deps: ['app', 'services/personService']
},
'controllers/sea... | CoffeeScript | JavaScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | dcbe4ff9e30f1cc3a6d7e4dde37180b7202077cc | 672 | https://github.com/CaryLandholt/AngularFun/blob/dcbe4ff9e30f1cc3a6d7e4dde37180b7202077cc/src/scripts/main.coffee | 1 | 36 |
CaryLandholt/AngularFun:src/scripts/main.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
require({
shim: {
'controllers/gitHubController': {
deps: ['app', 'services/gitHubService']
},
'controllers/personController': {
deps: ['app', 'services/personService']
},
'controllers/personDetailsController': {
deps: ['app'... | require
shim:
'controllers/gitHubController' : deps: ['app', 'services/gitHubService']
'controllers/personController' : deps: ['app', 'services/personService']
'controllers/personDetailsController': deps: ['app', 'services/personService']
'controllers/searchHistoryController': deps: ['app', 'servic... | JavaScript | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | dcbe4ff9e30f1cc3a6d7e4dde37180b7202077cc | 672 | https://github.com/CaryLandholt/AngularFun/blob/dcbe4ff9e30f1cc3a6d7e4dde37180b7202077cc/src/scripts/main.coffee | 1 | 36 |
CaryLandholt/AngularFun:src/scripts/main.coffee:1:completion | completion | require
shim:
'controllers/gitHubController' : deps: ['app', 'services/gitHubService']
'controllers/personController' : deps: ['app', 'services/personService']
'controllers/personDetailsController': deps: ['app', 'services/personService']
'controllers/searchHistoryController': deps: ['app', 'servic... | 'run' : deps: ['app']
'views' : deps: ['app']
[
'require'
'controllers/gitHubController'
'controllers/personController'
'controllers/personDetailsController'
'controllers/searchHistoryController'
'directives/ngController'
'directives/tabs'
'... | CoffeeScript | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | dcbe4ff9e30f1cc3a6d7e4dde37180b7202077cc | 672 | https://github.com/CaryLandholt/AngularFun/blob/dcbe4ff9e30f1cc3a6d7e4dde37180b7202077cc/src/scripts/main.coffee | 1 | 36 |
CaryLandholt/AngularFun:src/scripts/main.coffee:1:raw_corpus | raw_corpus | require
shim:
'controllers/gitHubController' : deps: ['app', 'services/gitHubService']
'controllers/personController' : deps: ['app', 'services/personService']
'controllers/personDetailsController': deps: ['app', 'services/personService']
'controllers/searchHistoryController': deps: ['app', 'servic... | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | 59b669bfc11c566bc6e5abf0b235638d734ae2d9 | 672 | https://github.com/CaryLandholt/AngularFun/blob/59b669bfc11c566bc6e5abf0b235638d734ae2d9/src/scripts/main.coffee | 1 | 39 | ||
CaryLandholt/AngularFun:src/scripts/main.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
require
shim:
'controllers/gitHubController' : deps: ['app', 'services/gitHubService']
'controllers/personController' : deps: ['app', 'services/personService']
'controllers/personDetailsController': deps: ['app', 'services/personService']
'co... | require({
shim: {
'controllers/gitHubController': {
deps: ['app', 'services/gitHubService']
},
'controllers/personController': {
deps: ['app', 'services/personService']
},
'controllers/personDetailsController': {
deps: ['app', 'services/personService']
},
'controllers/sea... | CoffeeScript | JavaScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | 59b669bfc11c566bc6e5abf0b235638d734ae2d9 | 672 | https://github.com/CaryLandholt/AngularFun/blob/59b669bfc11c566bc6e5abf0b235638d734ae2d9/src/scripts/main.coffee | 1 | 39 |
CaryLandholt/AngularFun:src/scripts/main.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
require({
shim: {
'controllers/gitHubController': {
deps: ['app', 'services/gitHubService']
},
'controllers/personController': {
deps: ['app', 'services/personService']
},
'controllers/personDetailsController': {
deps: ['app'... | require
shim:
'controllers/gitHubController' : deps: ['app', 'services/gitHubService']
'controllers/personController' : deps: ['app', 'services/personService']
'controllers/personDetailsController': deps: ['app', 'services/personService']
'controllers/searchHistoryController': deps: ['app', 'servic... | JavaScript | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | 59b669bfc11c566bc6e5abf0b235638d734ae2d9 | 672 | https://github.com/CaryLandholt/AngularFun/blob/59b669bfc11c566bc6e5abf0b235638d734ae2d9/src/scripts/main.coffee | 1 | 39 |
CaryLandholt/AngularFun:src/scripts/main.coffee:1:completion | completion | require
shim:
'controllers/gitHubController' : deps: ['app', 'services/gitHubService']
'controllers/personController' : deps: ['app', 'services/personService']
'controllers/personDetailsController': deps: ['app', 'services/personService']
'controllers/searchHistoryController': deps: ['app', 'servic... | 'routes' : deps: ['app']
'run' : deps: ['app']
'views' : deps: ['app']
[
'require'
'controllers/gitHubController'
'controllers/personController'
'controllers/personDetailsController'
'controllers/searchHistoryControll... | CoffeeScript | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | 59b669bfc11c566bc6e5abf0b235638d734ae2d9 | 672 | https://github.com/CaryLandholt/AngularFun/blob/59b669bfc11c566bc6e5abf0b235638d734ae2d9/src/scripts/main.coffee | 1 | 39 |
CaryLandholt/AngularFun:src/scripts/main.coffee:1:raw_corpus | raw_corpus | require
shim:
'controllers/gitHubController' : deps: ['app', 'services/gitHubService']
'controllers/personController' : deps: ['app', 'services/personService']
'controllers/personDetailsController': deps: ['app', 'services/personService']
'controllers/searchHistoryController': deps: ['app', 'servic... | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | a5d01ee17468b0e837e8957705e9ffa6aa5a8a52 | 672 | https://github.com/CaryLandholt/AngularFun/blob/a5d01ee17468b0e837e8957705e9ffa6aa5a8a52/src/scripts/main.coffee | 1 | 38 | ||
CaryLandholt/AngularFun:src/scripts/main.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
require
shim:
'controllers/gitHubController' : deps: ['app', 'services/gitHubService']
'controllers/personController' : deps: ['app', 'services/personService']
'controllers/personDetailsController': deps: ['app', 'services/personService']
'co... | require({
shim: {
'controllers/gitHubController': {
deps: ['app', 'services/gitHubService']
},
'controllers/personController': {
deps: ['app', 'services/personService']
},
'controllers/personDetailsController': {
deps: ['app', 'services/personService']
},
'controllers/sea... | CoffeeScript | JavaScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | a5d01ee17468b0e837e8957705e9ffa6aa5a8a52 | 672 | https://github.com/CaryLandholt/AngularFun/blob/a5d01ee17468b0e837e8957705e9ffa6aa5a8a52/src/scripts/main.coffee | 1 | 38 |
CaryLandholt/AngularFun:src/scripts/main.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
require({
shim: {
'controllers/gitHubController': {
deps: ['app', 'services/gitHubService']
},
'controllers/personController': {
deps: ['app', 'services/personService']
},
'controllers/personDetailsController': {
deps: ['app'... | require
shim:
'controllers/gitHubController' : deps: ['app', 'services/gitHubService']
'controllers/personController' : deps: ['app', 'services/personService']
'controllers/personDetailsController': deps: ['app', 'services/personService']
'controllers/searchHistoryController': deps: ['app', 'servic... | JavaScript | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | a5d01ee17468b0e837e8957705e9ffa6aa5a8a52 | 672 | https://github.com/CaryLandholt/AngularFun/blob/a5d01ee17468b0e837e8957705e9ffa6aa5a8a52/src/scripts/main.coffee | 1 | 38 |
CaryLandholt/AngularFun:src/scripts/main.coffee:1:completion | completion | require
shim:
'controllers/gitHubController' : deps: ['app', 'services/gitHubService']
'controllers/personController' : deps: ['app', 'services/personService']
'controllers/personDetailsController': deps: ['app', 'services/personService']
'controllers/searchHistoryController': deps: ['app', 'servic... | 'routes' : deps: ['app']
'run' : deps: ['app']
'views' : deps: ['app']
[
'require'
'controllers/gitHubController'
'controllers/personController'
'controllers/personDetailsController'
'controllers/searchHistoryControll... | CoffeeScript | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | a5d01ee17468b0e837e8957705e9ffa6aa5a8a52 | 672 | https://github.com/CaryLandholt/AngularFun/blob/a5d01ee17468b0e837e8957705e9ffa6aa5a8a52/src/scripts/main.coffee | 1 | 38 |
CaryLandholt/AngularFun:src/scripts/main.coffee:1:raw_corpus | raw_corpus | require
shim:
'controllers/gitHubController' : deps: ['app', 'services/gitHubService']
'controllers/personController' : deps: ['app', 'services/personService']
'controllers/personDetailsController': deps: ['app', 'services/personService']
'controllers/searchHistoryController': deps: ['app', 'servic... | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | 1ad927c0c7a5d2715b161c0b58011e427b6762c8 | 672 | https://github.com/CaryLandholt/AngularFun/blob/1ad927c0c7a5d2715b161c0b58011e427b6762c8/src/scripts/main.coffee | 1 | 36 | ||
CaryLandholt/AngularFun:src/scripts/main.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
require
shim:
'controllers/gitHubController' : deps: ['app', 'services/gitHubService']
'controllers/personController' : deps: ['app', 'services/personService']
'controllers/personDetailsController': deps: ['app', 'services/personService']
'co... | require({
shim: {
'controllers/gitHubController': {
deps: ['app', 'services/gitHubService']
},
'controllers/personController': {
deps: ['app', 'services/personService']
},
'controllers/personDetailsController': {
deps: ['app', 'services/personService']
},
'controllers/sea... | CoffeeScript | JavaScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | 1ad927c0c7a5d2715b161c0b58011e427b6762c8 | 672 | https://github.com/CaryLandholt/AngularFun/blob/1ad927c0c7a5d2715b161c0b58011e427b6762c8/src/scripts/main.coffee | 1 | 36 |
CaryLandholt/AngularFun:src/scripts/main.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
require({
shim: {
'controllers/gitHubController': {
deps: ['app', 'services/gitHubService']
},
'controllers/personController': {
deps: ['app', 'services/personService']
},
'controllers/personDetailsController': {
deps: ['app'... | require
shim:
'controllers/gitHubController' : deps: ['app', 'services/gitHubService']
'controllers/personController' : deps: ['app', 'services/personService']
'controllers/personDetailsController': deps: ['app', 'services/personService']
'controllers/searchHistoryController': deps: ['app', 'servic... | JavaScript | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | 1ad927c0c7a5d2715b161c0b58011e427b6762c8 | 672 | https://github.com/CaryLandholt/AngularFun/blob/1ad927c0c7a5d2715b161c0b58011e427b6762c8/src/scripts/main.coffee | 1 | 36 |
CaryLandholt/AngularFun:src/scripts/main.coffee:1:completion | completion | require
shim:
'controllers/gitHubController' : deps: ['app', 'services/gitHubService']
'controllers/personController' : deps: ['app', 'services/personService']
'controllers/personDetailsController': deps: ['app', 'services/personService']
'controllers/searchHistoryController': deps: ['app', 'servic... | 'bootstrap' : deps: ['app']
'routes' : deps: ['app']
'run' : deps: ['app']
[
'require'
'controllers/gitHubController'
'controllers/personController'
'controllers/personDetailsController'
'controllers/searchHistoryControll... | CoffeeScript | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | 1ad927c0c7a5d2715b161c0b58011e427b6762c8 | 672 | https://github.com/CaryLandholt/AngularFun/blob/1ad927c0c7a5d2715b161c0b58011e427b6762c8/src/scripts/main.coffee | 1 | 36 |
CaryLandholt/AngularFun:src/scripts/main.coffee:1:raw_corpus | raw_corpus | require
shim:
'controllers/gitHubController': deps: ['libs/angular', 'app', 'services/gitHubService']
'controllers/personController': deps: ['libs/angular', 'app', 'services/personService']
'controllers/personDetailsController': deps: ['libs/angular', 'app', 'services/personService']
'controllers/searchHistory... | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | 189b2ff753da88e040bb0f3acdd9dd7a1ccc801d | 672 | https://github.com/CaryLandholt/AngularFun/blob/189b2ff753da88e040bb0f3acdd9dd7a1ccc801d/src/scripts/main.coffee | 1 | 36 | ||
CaryLandholt/AngularFun:src/scripts/main.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
require
shim:
'controllers/gitHubController': deps: ['libs/angular', 'app', 'services/gitHubService']
'controllers/personController': deps: ['libs/angular', 'app', 'services/personService']
'controllers/personDetailsController': deps: ['libs/angular', 'app... | require({
shim: {
'controllers/gitHubController': {
deps: ['libs/angular', 'app', 'services/gitHubService']
},
'controllers/personController': {
deps: ['libs/angular', 'app', 'services/personService']
},
'controllers/personDetailsController': {
deps: ['libs/angular', 'app', 'serv... | CoffeeScript | JavaScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | 189b2ff753da88e040bb0f3acdd9dd7a1ccc801d | 672 | https://github.com/CaryLandholt/AngularFun/blob/189b2ff753da88e040bb0f3acdd9dd7a1ccc801d/src/scripts/main.coffee | 1 | 36 |
CaryLandholt/AngularFun:src/scripts/main.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
require({
shim: {
'controllers/gitHubController': {
deps: ['libs/angular', 'app', 'services/gitHubService']
},
'controllers/personController': {
deps: ['libs/angular', 'app', 'services/personService']
},
'controllers/personDetailsC... | require
shim:
'controllers/gitHubController': deps: ['libs/angular', 'app', 'services/gitHubService']
'controllers/personController': deps: ['libs/angular', 'app', 'services/personService']
'controllers/personDetailsController': deps: ['libs/angular', 'app', 'services/personService']
'controllers/searchHistory... | JavaScript | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | 189b2ff753da88e040bb0f3acdd9dd7a1ccc801d | 672 | https://github.com/CaryLandholt/AngularFun/blob/189b2ff753da88e040bb0f3acdd9dd7a1ccc801d/src/scripts/main.coffee | 1 | 36 |
CaryLandholt/AngularFun:src/scripts/main.coffee:1:completion | completion | require
shim:
'controllers/gitHubController': deps: ['libs/angular', 'app', 'services/gitHubService']
'controllers/personController': deps: ['libs/angular', 'app', 'services/personService']
'controllers/personDetailsController': deps: ['libs/angular', 'app', 'services/personService']
'controllers/searchHistory... | 'bootstrap': deps: ['libs/angular', 'app']
'routes': deps: ['libs/angular', 'app']
'run': deps: ['libs/angular', 'app']
[
'require'
'controllers/gitHubController'
'controllers/personController'
'controllers/personDetailsController'
'controllers/searchHistoryController'
'controllers/twitterController'
... | CoffeeScript | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | 189b2ff753da88e040bb0f3acdd9dd7a1ccc801d | 672 | https://github.com/CaryLandholt/AngularFun/blob/189b2ff753da88e040bb0f3acdd9dd7a1ccc801d/src/scripts/main.coffee | 1 | 36 |
CaryLandholt/AngularFun:src/scripts/main.coffee:1:raw_corpus | raw_corpus | requirejs
shim:
'controllers/gitHubController': deps: ['libs/angular', 'app', 'services/gitHubService']
'controllers/personController': deps: ['libs/angular', 'app', 'services/personService']
'controllers/personDetailsController': deps: ['libs/angular', 'app', 'services/personService']
'controllers/searchHisto... | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | 94361b56b578119b372a04858dcd3ab92bb480eb | 672 | https://github.com/CaryLandholt/AngularFun/blob/94361b56b578119b372a04858dcd3ab92bb480eb/src/scripts/main.coffee | 1 | 36 | ||
CaryLandholt/AngularFun:src/scripts/main.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
requirejs
shim:
'controllers/gitHubController': deps: ['libs/angular', 'app', 'services/gitHubService']
'controllers/personController': deps: ['libs/angular', 'app', 'services/personService']
'controllers/personDetailsController': deps: ['libs/angular', 'a... | requirejs({
shim: {
'controllers/gitHubController': {
deps: ['libs/angular', 'app', 'services/gitHubService']
},
'controllers/personController': {
deps: ['libs/angular', 'app', 'services/personService']
},
'controllers/personDetailsController': {
deps: ['libs/angular', 'app', 'se... | CoffeeScript | JavaScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | 94361b56b578119b372a04858dcd3ab92bb480eb | 672 | https://github.com/CaryLandholt/AngularFun/blob/94361b56b578119b372a04858dcd3ab92bb480eb/src/scripts/main.coffee | 1 | 36 |
CaryLandholt/AngularFun:src/scripts/main.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
requirejs({
shim: {
'controllers/gitHubController': {
deps: ['libs/angular', 'app', 'services/gitHubService']
},
'controllers/personController': {
deps: ['libs/angular', 'app', 'services/personService']
},
'controllers/personDetail... | requirejs
shim:
'controllers/gitHubController': deps: ['libs/angular', 'app', 'services/gitHubService']
'controllers/personController': deps: ['libs/angular', 'app', 'services/personService']
'controllers/personDetailsController': deps: ['libs/angular', 'app', 'services/personService']
'controllers/searchHisto... | JavaScript | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | 94361b56b578119b372a04858dcd3ab92bb480eb | 672 | https://github.com/CaryLandholt/AngularFun/blob/94361b56b578119b372a04858dcd3ab92bb480eb/src/scripts/main.coffee | 1 | 36 |
CaryLandholt/AngularFun:src/scripts/main.coffee:1:completion | completion | requirejs
shim:
'controllers/gitHubController': deps: ['libs/angular', 'app', 'services/gitHubService']
'controllers/personController': deps: ['libs/angular', 'app', 'services/personService']
'controllers/personDetailsController': deps: ['libs/angular', 'app', 'services/personService']
'controllers/searchHisto... | 'bootstrap': deps: ['libs/angular', 'app']
'routes': deps: ['libs/angular', 'app']
'run': deps: ['libs/angular', 'app']
[
'require'
'controllers/gitHubController'
'controllers/personController'
'controllers/personDetailsController'
'controllers/searchHistoryController'
'controllers/twitterController'
... | CoffeeScript | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | 94361b56b578119b372a04858dcd3ab92bb480eb | 672 | https://github.com/CaryLandholt/AngularFun/blob/94361b56b578119b372a04858dcd3ab92bb480eb/src/scripts/main.coffee | 1 | 36 |
CaryLandholt/AngularFun:src/scripts/main.coffee:1:raw_corpus | raw_corpus | ###global define, require###
requirejs
map:
'*':
'libs/angularResource': 'libs/angular-resource'
shim:
'libs/angular':
exports: 'angular'
'libs/angular-resource':
deps: [
'libs/angular'
]
[
'app'
'bootstrap'
'controllers/gitHubController'
'controllers/personController'
'controllers/p... | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | 6d23f0be02cb2e938565aca7cb881fd70beefb35 | 672 | https://github.com/CaryLandholt/AngularFun/blob/6d23f0be02cb2e938565aca7cb881fd70beefb35/src/scripts/main.coffee | 1 | 50 | ||
CaryLandholt/AngularFun:src/scripts/main.coffee:1:completion | completion | ###global define, require###
requirejs
map:
'*':
'libs/angularResource': 'libs/angular-resource'
shim:
'libs/angular':
exports: 'angular'
'libs/angular-resource':
deps: [
'libs/angular'
]
[
'app'
'bootstrap'
'controllers/gitHubController'
'controllers/personController'
'controllers/p... | 'responseInterceptors/dispatcher'
], (app) ->
app.config ['$routeProvider', ($routeProvider) ->
$routeProvider
.when '/github/:searchTerm'
controller: 'gitHubController'
reloadOnSearch: true
resolve:
changeTab: ['$rootScope', ($rootScope) ->
$rootScope.$broadcast 'changeTab#gitHub'
... | CoffeeScript | CoffeeScript | CaryLandholt/AngularFun | src/scripts/main.coffee | MIT | 6d23f0be02cb2e938565aca7cb881fd70beefb35 | 672 | https://github.com/CaryLandholt/AngularFun/blob/6d23f0be02cb2e938565aca7cb881fd70beefb35/src/scripts/main.coffee | 1 | 50 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.