commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
old_contents
stringlengths
0
4.24k
new_contents
stringlengths
1
5.44k
subject
stringlengths
14
778
message
stringlengths
15
9.92k
lang
stringclasses
277 values
license
stringclasses
13 values
repos
stringlengths
5
127k
8adee40339559931c97c4cad1f596a80d0600cf6
source/server/infrastructure/projection.coffee
source/server/infrastructure/projection.coffee
class Space.eventSourcing.Projection extends Space.Object @mixin Space.messaging.EventSubscribing collections: {} _isInReplayMode: false _state: null _queuedEvents: null constructor: -> super @_state = 'projecting' @_queuedEvents = [] @dependencies = {} _.extend @dependencies, @constr...
class Space.eventSourcing.Projection extends Space.Object @mixin Space.messaging.EventSubscribing collections: {} _state: null _queuedEvents: null constructor: -> super @_state = 'projecting' @_queuedEvents = [] @dependencies = {} _.extend @dependencies, @constructor::dependencies, @col...
Remove old prop _isInReplayMode left in by mistake
Remove old prop _isInReplayMode left in by mistake
CoffeeScript
mit
meteor-space/event-sourcing,meteor-space/event-sourcing
d1259498695d86665c48ec36faa1b980e86a645d
client/view/agenda.coffee
client/view/agenda.coffee
mid = new Date('02/25/14 00:00:00') Template.agenda.day1 = -> @items.filter((i) -> i.time < mid).sort((a, b) -> a.time >= b.time) Template.agenda.day2 = -> @items.filter((i) -> i.time > mid).sort((a, b) -> a.time >= b.time) Template.agenda.canSee = -> u = User.current() u and (u.admin() or u.moderator()) Tem...
mid = new Date('02/25/14 00:00:00') Template.agenda.day1 = -> @items.filter((i) -> i.time < mid).sort((a, b) -> a.time >= b.time) Template.agenda.day2 = -> @items.filter((i) -> i.time > mid).sort((a, b) -> a.time >= b.time) Template.agenda.canSee = -> u = User.current() u and (u.admin() or u.moderator()) Tem...
Fix bug in addition form
Fix bug in addition form
CoffeeScript
apache-2.0
rantav/reversim-summit-2015,rantav/reversim-summit-2014,rantav/reversim-summit-2015,rantav/reversim-summit-2014,rantav/reversim-summit-2015
d6396794b9e284c0bf16f614293b2bc3c931d5ea
test/helpers/index.coffee
test/helpers/index.coffee
_ = require 'underscore' expect = chai.expect React = require 'react' ReactAddons = require('react/addons') ReactTestUtils = React.addons.TestUtils {Promise} = require 'es6-promise' {commonActions} = require './utilities' sandbox = null Wrapper = React.createClass render: -> React.createElement(@props._...
_ = require 'underscore' expect = chai.expect React = require 'react' ReactAddons = require('react/addons') ReactTestUtils = React.addons.TestUtils {Promise} = require 'es6-promise' {commonActions} = require './utilities' sandbox = null Wrapper = React.createClass render: -> React.createElement(@props._...
Support rendering children of test component
Support rendering children of test component
CoffeeScript
agpl-3.0
openstax/tutor-js,openstax/tutor-js,openstax/tutor-js,openstax/tutor-js,openstax/tutor-js
a6e44f2932234dadb58502b2a99bd1f4a960ad29
app/classify/subject-tools.cjsx
app/classify/subject-tools.cjsx
React = require 'react' Favourite = require './favourite' module.exports = React.createClass displayName: 'SubjectTools' render: -> <div className="drawing-controls"> {<Favourite project={@props.project} api={@props.api} subject={@props.subject} /> if @props.subject? && @props.user?} <label clas...
React = require 'react' Favourite = require './favourite' module.exports = React.createClass displayName: 'SubjectTools' render: -> <div className="drawing-controls"> {<Favourite project={@props.project} api={@props.api} subject={@props.subject} /> if @props.subject? && @props.user?} </div>
Remove tutorial and hide marks buttons
Remove tutorial and hide marks buttons
CoffeeScript
apache-2.0
zooniverse/wellcome,zooniverse/wellcome
7aa1bb4d5028e5b45954942a36f5a165b778a93f
gulp/server.coffee
gulp/server.coffee
gulp = require 'gulp' browserSync = require 'browser-sync' config = require './config.coffee' argv = require('yargs').argv nodemon = require 'gulp-nodemon' gulp.task 'api', -> nodemon script: 'server/server.js' ext: 'coffee' ignore: ['src/*', 'gulp/*', 'gulpfile.coffee', 'tests/*'] gulp.task 'serve', [ ...
gulp = require 'gulp' browserSync = require 'browser-sync' config = require './config.coffee' argv = require('yargs').argv nodemon = require 'gulp-nodemon' server = -> browserSync server: {baseDir: config.path} port: 4000 open: false reloadOnRestart: false notify: false ghostMode: argv.ghost ...
Refactor browersync into its own function
Refactor browersync into its own function
CoffeeScript
mit
johnapost/tracka-keepa,johnapost/tracka-keepa
30611aa6c022b4ddf4c70fa4bf48e0b1f417fdba
src/cli/argv.coffee
src/cli/argv.coffee
parser = require 'nomnom' braveMouse = require '../brave-mouse' braveMousePackageJson = require '../../package.json' module.exports = (argv) -> opts = parser .script 'brave-mouse' .options help: abbr: 'h' flag: true help: 'Print this help message' version: abbr: 'v' flag: true help: 'Print br...
async = require 'async' parser = require 'nomnom' braveMouse = require '../brave-mouse' braveMousePackageJson = require '../../package.json' module.exports = (argv) -> opts = parser .script 'brave-mouse' .options path: position: 0 help: 'Files to validate against your .editorconfig.' list: true help: ...
Implement validating files from the CLI
Implement validating files from the CLI
CoffeeScript
bsd-2-clause
SonicHedgehog/brave-mouse
afbf66b756d9824ee8b67227afa6b8f52e549ce3
app/assets/javascripts/views/fake-map.view.js.coffee
app/assets/javascripts/views/fake-map.view.js.coffee
Wheelmap.FakeMapView = Ember.View.extend classNames: 'fake-map' attributeBindings: ['style'] style: (()-> location = @get('controller.location') unless location? return '' "background-image: url(http://api.tiles.mapbox.com/v4/sozialhelden.map-iqt6py1k/#{location.lng},#{location.lat},17/1280x1...
Wheelmap.FakeMapView = Ember.View.extend classNames: 'fake-map' attributeBindings: ['style'] style: (()-> location = @get('controller.location') unless location? return '' "background-image: url(http://api.tiles.mapbox.com/v4/sozialhelden.map-iqt6py1k/#{location.lng},#{location.lat}," + ...
Fix fake map on node edit page.
Fix fake map on node edit page.
CoffeeScript
agpl-3.0
sozialhelden/wheelmap,sozialhelden/wheelmap,sozialhelden/wheelmap,sozialhelden/wheelmap,sozialhelden/wheelmap
ea0654f96c38b8a9a45a2a12952f9b426b32333a
app/scripts/controllers/user-violations-prefs.coffee
app/scripts/controllers/user-violations-prefs.coffee
'use strict' class UserViolationsPrefsCtrl constructor: (@scope, @UserViolationsPrefsFcty, @growlNotifications, @localStorage) -> @getPrefs() @selectedFlag = {} _fillPrefs: (data) => @prefs = data @groupData = _.groupBy(@prefs, 'category') for x of @groupData @selectedFlag[x] = ! _.some...
'use strict' class UserViolationsPrefsCtrl constructor: (@scope, @UserViolationsPrefsFcty, @growlNotifications, @localStorage) -> @getPrefs() @selectedFlag = {} _fillPrefs: (data) => @prefs = data @groupData = _.groupBy(@prefs, 'category') @localStorage.userprefs = @groupData for x of @gr...
Refresh localstorage data on GET
UserViolationsPrefsCtrl: Refresh localstorage data on GET
CoffeeScript
mit
holmes-app/holmes-web,holmes-app/holmes-web,holmes-app/holmes-web
c9fb735e6f28062a269d3ed7d9036ad6a78e6376
client/app/modules/store.coffee
client/app/modules/store.coffee
module.exports = { data: window.preload or {} tasks: {} init: (fn) -> fn.call(this) add: (obj) -> @tasks[key] = fn.bind(this) for key, fn of obj return obj bind: (fn) -> return @callback = fn change: -> return @callback(@data) if @callback }
# TODO try to load the state from local storage. # BUT if there's no cookie, then act like local storage isn't there. # Also, state changes `change` should update the data in local storage as well. module.exports = { data: window.preload or {} tasks: {} init: (fn) -> fn.call(this) add: (obj) ...
Add a comment about local storage
Add a comment about local storage
CoffeeScript
apache-2.0
heiskr/sagefy,heiskr/sagefy,heiskr/sagefy,heiskr/sagefy
eb43eaffd72dcd6bdb66e95abaaf83cbea6f3449
atom/config.cson
atom/config.cson
"*": core: disabledPackages: [ "archive-view" "background-tips" "deprecation-cop" "dev-live-reload" "welcome" "update-package-dependencies" "timecop" "exception-reporting" "image-view" "metrics" "open-on-github" "release-notes" "stylegu...
"*": core: disabledPackages: [ "archive-view" "background-tips" "dev-live-reload" "welcome" "update-package-dependencies" "timecop" "exception-reporting" "image-view" "metrics" "open-on-github" "release-notes" "styleguide" "autocomplete...
Make Atom Linter less obtrusive
Make Atom Linter less obtrusive
CoffeeScript
mit
caleb531/dotfiles,caleb531/dotfiles,caleb531/dotfiles,caleb531/dotfiles
06de2f7001fe13dd883c56ae6bc7ca02c4fafae2
core/app/backbone/views/opinionators/opinionators_avatars_view.coffee
core/app/backbone/views/opinionators/opinionators_avatars_view.coffee
class OpinionatorsAvatarView extends Backbone.Marionette.Layout tagName: 'span' className: 'opinionators-avatar' template: 'opinionators/avatar' onRender: -> UserPopoverContentView.makeTooltip @, @model class window.OpinionatorsAvatarsView extends Backbone.Marionette.CompositeView tagName: 'span' clas...
class OpinionatorsAvatarView extends Backbone.Marionette.Layout tagName: 'span' className: 'opinionators-avatar' template: 'opinionators/avatar' onRender: -> UserPopoverContentView.makeTooltip @, @model class window.OpinionatorsAvatarsView extends Backbone.Marionette.CompositeView tagName: 'span' clas...
Remove cruft to show multiple voters
Remove cruft to show multiple voters
CoffeeScript
mit
Factlink/factlink-core,Factlink/factlink-core,daukantas/factlink-core,Factlink/factlink-core,Factlink/factlink-core,daukantas/factlink-core,daukantas/factlink-core,daukantas/factlink-core
acb584de7819f877dfef84a936ff359ee4e8d702
spec/custom-element-spec.coffee
spec/custom-element-spec.coffee
describe 'Custom Element Base', -> registerCustomElement = require('../base.min.js') {getCustomElement} = require('./helper') it 'fires the events in order', -> lastRan = null element = new (registerCustomElement(getCustomElement({ name: 'x-spec-event-order' created: -> lastRan = 'created' ...
describe 'Custom Element Base', -> registerCustomElement = require('../base.min.js') {getCustomElement} = require('./helper') it 'fires the events in order', -> lastRan = null element = new (registerCustomElement(getCustomElement({ name: 'x-spec-event-order' created: -> lastRan = 'created' ...
Add a spec about lowercasing config values
:new: Add a spec about lowercasing config values
CoffeeScript
mit
steelbrain/custom-element-base,steelbrain/custom-element-base
bf0319d335a2013d7cb8f3a10be78398e697df42
app/assets/javascripts/routes/categories-show-route.js.coffee
app/assets/javascripts/routes/categories-show-route.js.coffee
App.CategoriesShowRoute = Em.Route.extend model: (params) -> App.Category.find(params.id) setupController: (controller, model) -> @_super controller, model @controllerFor('pagedTransactions').setProperties page: 1 renderTemplate: -> @_super() @render 'transactions', into: 'categor...
App.CategoriesShowRoute = Em.Route.extend model: (params) -> App.Category.find(params.id) setupController: (controller, model) -> @_super controller, model transactionsController = @controllerFor('transactions') model.reload().then -> transactionsController.setProperties model: model....
Fix category route to sync with new paging model
Fix category route to sync with new paging model
CoffeeScript
mit
artzte/itcostus,artzte/itcostus
83cded31b69516776360f895e2b44f42319f4842
test/javascripts/unit/local_time_test.js.coffee
test/javascripts/unit/local_time_test.js.coffee
module "localized" test "local time", -> assertLocalized "one" assertLocalized "two" test "local time in the past", -> assertLocalized "past" test "local time in the future", -> assertLocalized "future" test "local date", -> assertLocalized "date", "date" assertLocalized = (id, type = "time") -> switc...
module "localized" for id in ["one", "two", "past", "future"] test id, -> assertLocalized id test "date", -> assertLocalized "date", "date" assertLocalized = (id, type = "time") -> switch type when "time" momentFormat = "MMMM D, YYYY h:mma" compare = "toString" when "date" moment...
Build tests from array of IDs
Build tests from array of IDs
CoffeeScript
mit
lazyatom/local_time,basecamp/local_time,lazyatom/local_time,basecamp/local_time,c080609a/local_time,c080609a/local_time
e9dbd64f25e2cfe47a737a7bc7be8b29cfec0705
lib/archive-editor.coffee
lib/archive-editor.coffee
path = require 'path' url = require 'url' {allowUnsafeNewFunction} = require 'loophole' archive = allowUnsafeNewFunction -> require 'ls-archive' {File} = require 'pathwatcher' fs = require 'fs-plus' Serializable = require 'serializable' module.exports= class ArchiveEditor extends Serializable atom.deserializers.add...
path = require 'path' url = require 'url' {allowUnsafeNewFunction} = require 'loophole' archive = allowUnsafeNewFunction -> require 'ls-archive' {File} = require 'pathwatcher' fs = require 'fs-plus' Serializable = require 'serializable' module.exports= class ArchiveEditor extends Serializable atom.deserializers.add...
Check that file exists before opening
Check that file exists before opening
CoffeeScript
mit
atom/archive-view
934872dbfb4bfc5b632f84f67e88a4502ccd8eb2
app/assets/javascripts/playground.js.coffee
app/assets/javascripts/playground.js.coffee
//= require swagger-ui-dist $ -> options = $(".swagger").data("swagger-options") ui = SwaggerUIBundle({ url: options.api_docs_url, dom_id: "#swagger-ui", deepLinking: true, presets: [ SwaggerUIBundle.presets.apis, SwaggerUIStandalonePreset ], plugins: [ SwaggerUIBundle.p...
//= require swagger-ui-dist $ -> options = $(".swagger").data("swagger-options") ui = SwaggerUIBundle({ url: options.api_docs_url, dom_id: "#swagger-ui", deepLinking: true, presets: [ SwaggerUIBundle.presets.apis, SwaggerUIStandalonePreset ], plugins: [ SwaggerUIBundle.p...
Use the recommended requestInterceptor, preFetch was deprecated.
Use the recommended requestInterceptor, preFetch was deprecated.
CoffeeScript
mit
dblock/doppler,artsy/doppler,artsy/doppler,artsy/doppler,dblock/doppler,artsy/doppler,dblock/doppler
066bad0489738105251bd1a711d42ba712e83169
lib/snippets-provider.coffee
lib/snippets-provider.coffee
{Range} = require('atom') fuzzaldrin = require('fuzzaldrin') module.exports = class SnippetsProvider selector: '*' filterSuggestions: true constructor: -> @showIcon = atom.config.get('autocomplete-plus.defaultProvider') is 'Symbol' getSuggestions: ({scopeDescriptor, prefix}) -> return unless prefix?...
{Range} = require('atom') fuzzaldrin = require('fuzzaldrin') module.exports = class SnippetsProvider selector: '*' inclusionPriority: 1 suggestionPriority: 2 filterSuggestions: true constructor: -> @showIcon = atom.config.get('autocomplete-plus.defaultProvider') is 'Symbol' getSuggestions: ({scopeD...
Set priorities so it shows above other providers
Set priorities so it shows above other providers
CoffeeScript
mit
atom/autocomplete-snippets
ce61b5088e26cfd77f8a413f825941a0ad4bb48d
app/assets/javascripts/admin/utils/directives/variant_autocomplete.js.coffee
app/assets/javascripts/admin/utils/directives/variant_autocomplete.js.coffee
angular.module("admin.utils").directive "variantAutocomplete", ($timeout) -> restrict: 'C' link: (scope, element, attrs) -> $timeout -> if $("#variant_autocomplete_template").length > 0 variantTemplate = Handlebars.compile($("#variant_autocomplete_template").text()) if Spree.routes ...
angular.module("admin.utils").directive "variantAutocomplete", ($timeout) -> restrict: 'C' link: (scope, element, attrs) -> $timeout -> if $("#variant_autocomplete_template").length > 0 variantTemplate = Handlebars.compile($("#variant_autocomplete_template").text()) if Spree.routes ...
Fix debounce on variant search dropdown
Fix debounce on variant search dropdown This wasn't applied correctly so there was zero debounce, leading to a big excess of pointless requests whilst typing in the variant search dropdown
CoffeeScript
agpl-3.0
openfoodfoundation/openfoodnetwork,mkllnk/openfoodnetwork,lin-d-hop/openfoodnetwork,Matt-Yorkley/openfoodnetwork,lin-d-hop/openfoodnetwork,mkllnk/openfoodnetwork,openfoodfoundation/openfoodnetwork,Matt-Yorkley/openfoodnetwork,openfoodfoundation/openfoodnetwork,mkllnk/openfoodnetwork,mkllnk/openfoodnetwork,Matt-Yorkley/...
be1efe2f3bf640e02b94cef38e8a3cabd93fa07c
coach/specs/concept-coach/coach.spec.coffee
coach/specs/concept-coach/coach.spec.coffee
{Testing, expect, sinon, _, ReactTestUtils} = require 'shared/specs/helpers' {Coach} = require 'concept-coach/coach' {CCModal} = require 'concept-coach/modal' describe 'Coach wrapper component', -> beforeEach -> @props = open: false displayLauncher: true moduleUUID: 'm_uuid' collection...
{Testing, expect, sinon, _, ReactTestUtils} = require 'shared/specs/helpers' {Coach} = require 'concept-coach/coach' {CCModal} = require 'concept-coach/modal' describe 'Coach wrapper component', -> beforeEach -> @props = open: false displayLauncher: true moduleUUID: 'm_uuid' collection...
Update text to match new wording
Update text to match new wording
CoffeeScript
agpl-3.0
openstax/tutor-js,openstax/tutor-js,openstax/tutor-js,openstax/tutor-js,openstax/tutor-js
6f9d7a58e3c90b4fd1dcad3819735d920f400228
test/nesting.coffee
test/nesting.coffee
assert = require 'assert' should = require 'should' peg = require 'pegjs' fs = require 'fs' requirejs = require('requirejs') requirejs.config nodeRequire: require brain = new (requirejs 'dist/lib/geekywalletlib.js') grammar = fs.readFileSync 'lib/syntax/grammar.peg', 'utf8' parser = peg.buildParser grammar wallet = fs...
assert = require 'assert' should = require 'should' peg = require 'pegjs' fs = require 'fs' requirejs = require('requirejs') requirejs.config nodeRequire: require brain = new (requirejs 'dist/lib/geekywalletlib.js') grammar = fs.readFileSync 'lib/syntax/grammar.peg', 'utf8' parser = peg.buildParser grammar wallet = fs...
Fix nested example path in test
Fix nested example path in test
CoffeeScript
mit
cashpad-app/cashpad,cashpad-app/cashpad
58adf71df7ffd54cc5d49d4d7d18b051474b2cc3
lineman/app/components/legacy_trial_expired_modal/legacy_trial_expired.coffee
lineman/app/components/legacy_trial_expired_modal/legacy_trial_expired.coffee
shownToGroup = {} angular.module('loomioApp').factory 'LegacyTrialExpiredModal', (ModalService, AppConfig, AhoyService) -> appropriateToShow: (group, user) -> user.isAdminOf(group) and group.showLegacyTrialExpiredModal # !shownToGroup[group.id] and # AppConfig.chargify? and # group.hasNoSubscription...
shownToGroup = {} angular.module('loomioApp').factory 'LegacyTrialExpiredModal', (ModalService, AppConfig, AhoyService) -> appropriateToShow: (group, user) -> user.isAdminOf(group) and group.showLegacyTrialExpiredModal # !shownToGroup[group.id] and # AppConfig.chargify? and # group.hasNoSubscription...
Fix legacy trial expired modal
Fix legacy trial expired modal
CoffeeScript
agpl-3.0
piratas-ar/loomio,sicambria/loomio,mhjb/loomio,piratas-ar/loomio,loomio/loomio,loomio/loomio,sicambria/loomio,loomio/loomio,mhjb/loomio,sicambria/loomio,piratas-ar/loomio,loomio/loomio,piratas-ar/loomio,sicambria/loomio,mhjb/loomio,mhjb/loomio
dab6ec7cb7ad71525dcccee559e9b135e917d20d
app/assets/javascripts/multi_shipping_address/same_as_billing/copy_bill_to_ship.js.coffee
app/assets/javascripts/multi_shipping_address/same_as_billing/copy_bill_to_ship.js.coffee
window.MultiShippingAddress ||= {} $.extend(MultiShippingAddress, { SameAsBilling: {} }) class MultiShippingAddress.SameAsBilling.CopyBillToShip constructor: (@$form) -> @findShippingAddresses() @bindForm() billAddress: null shippingAddresses: [] getName: ($input) -> $input.attr('name').match(/.*...
window.MultiShippingAddress ||= {} $.extend(MultiShippingAddress, { SameAsBilling: {} }) class MultiShippingAddress.SameAsBilling.CopyBillToShip constructor: (@$form) -> @findShippingAddresses() @bindForm() @bindCountrySelects() billAddress: null shippingAddresses: [] getName: ($input) -> $in...
Fix country selection bug on address checkout step
Fix country selection bug on address checkout step
CoffeeScript
bsd-3-clause
crowdint/spree_random_subscriptions,crowdint/spree_random_subscriptions
958dfc725cc406a0f639ced04de071aa3c056fdd
src/app/projects/states/dashboard/directives/task-dashboard/directives/task-status-card/task-status-card.coffee
src/app/projects/states/dashboard/directives/task-dashboard/directives/task-status-card/task-status-card.coffee
angular.module('doubtfire.projects.states.dashboard.directives.task-dashboard.directives.task-status-card', []) # # Status of the card # .directive('taskStatusCard', -> restrict: 'E' templateUrl: 'projects/states/dashboard/directives/task-dashboard/directives/task-status-card/task-status-card.tpl.html' scope: ...
angular.module('doubtfire.projects.states.dashboard.directives.task-dashboard.directives.task-status-card', []) # # Status of the card # .directive('taskStatusCard', -> restrict: 'E' templateUrl: 'projects/states/dashboard/directives/task-dashboard/directives/task-status-card/task-status-card.tpl.html' scope: ...
Use task refresh on extension success
ENHANCE: Use task refresh on extension success
CoffeeScript
agpl-3.0
doubtfire-lms/doubtfire-web,doubtfire-lms/doubtfire-web,doubtfire-lms/doubtfire-web,doubtfire-lms/doubtfire-web
e40c9a0711c55eadecf24af2b366a073c6b322ad
src/coffee/quality.coffee
src/coffee/quality.coffee
class Quality constructor: (@id, @name, @description, @defaultValue, @defaultProgress, @maxProgress, @progressEscalation, @visible) -> Object.freeze @ increase: (whole, partial) -> levelUp = () => @value++ @maxProgress += @maxProgress * @progressEscalation ...
class Quality constructor: (@id, @name, @description, @defaultValue, @defaultProgress, @defaultMaxProgress, @progressEscalation, @visible) -> Object.freeze @ increase: (whole, partial) -> up = 1 down = -1 level = (direction) => @value += direction @maxPro...
Fix Bug With Reducing Qualities
Fix Bug With Reducing Qualities
CoffeeScript
unlicense
arashikou/exper3-2015
71697df4707e991368295328a14922703333b389
atom/packages.cson
atom/packages.cson
packages: [ "advanced-open-file" "atom-alignment" "atom-beautify" "atom-transpose" "change-case" "color-picker" "docblockr" "editorconfig" "emmet" "expand-region" "git-blame" "language-apache" "language-applescript" "language-awk" "language-babel" "language-diff" "language-env" "lang...
packages: [ "advanced-open-file" "atom-alignment" "atom-beautify" "atom-transpose" "change-case" "color-picker" "docblockr" "editorconfig" "emmet" "expand-region" "git-blame" "language-apache" "language-applescript" "language-awk" "language-babel" "language-diff" "language-env" "lang...
Add pdf-view to Atom package list
Add pdf-view to Atom package list
CoffeeScript
mit
caleb531/dotfiles,caleb531/dotfiles,caleb531/dotfiles,caleb531/dotfiles
f0c81af4a491bc3cc56bd2d26b26890c69f6faa5
atom/packages.cson
atom/packages.cson
packages: [ "auto-indent" "git-blame" "git-diff-popup" "git-plus" "merge-conflicts" "package-sync" "ruby-test" ]
packages: [ "auto-indent" "git-blame" "git-diff-popup" "git-plus" "merge-conflicts" "package-sync" "ruby-test" "toggle-quotes" ]
Add toggle-quotes package to Atom
Add toggle-quotes package to Atom
CoffeeScript
mit
randycoulman/dotfiles
64f96244aae09d95ec8bb509a271bcd111d96da7
src/ncn.coffee
src/ncn.coffee
Q = require 'q' class NCN constructor: (@host = '') -> return request = (method, url, data) -> deferred = Q.defer() x = new XMLHttpRequest() x.responseType = 'json' x.addEventListener 'load', () -> deferred.resolve x.response x.addEventListener 'error', () -> deferred.reject x x.open('metho...
Bacon = require 'bacon' $ = require 'jquery' class NCN constructor: (@host = '') -> request = (method) -> (path, data) -> Bacon.fromPromise( $.ajax @host + path, data: data type: method dataType: 'json') get: request 'GET' post: request 'POST' delete: request 'DELETE' put:...
Use jquery to send ajax request
Use jquery to send ajax request
CoffeeScript
bsd-3-clause
ck101000xx/ncn-web
853b7e688258b2b632050b564902ba3678268c18
app/routes/application.coffee
app/routes/application.coffee
`import BaseRoute from './_base'` `import ajax from 'ic-ajax'` Route = BaseRoute.extend model: -> mePath = '/api/me' # return the current user as the model if authenticated, otherwise a blank object new Ember.RSVP.Promise (resolve, reject) => ajax url: mePath dataType: 'json' ...
`import BaseRoute from './_base'` `import ajax from 'ic-ajax'` Route = BaseRoute.extend model: -> mePath = '/api/me' # return the current user as the model if authenticated, otherwise a blank object new Ember.RSVP.Promise (resolve, reject) => ajax url: mePath dataType: 'json' ...
Allow error action to bubble if not a 403
Allow error action to bubble if not a 403
CoffeeScript
mit
artzte/fightbook-app
089d8169e36c3d61c32e645279e53de663bf51c3
_assets/javascripts/frontend/homepage.js.coffee
_assets/javascripts/frontend/homepage.js.coffee
resize = () -> screenWidth = $(window).width() + "px" screenHeight = $(window).height() + "px" $("#intro, #intro .item, #intro-video, #intro-video .item").css width: screenWidth height: screenHeight $ -> resize() $(window).resize resize
resize = () -> screenWidth = $(window).width() + "px" screenHeight = $(window).height() + "px" $("#intro, #intro .item, #intro-video, #intro-video .item").css width: screenWidth height: screenHeight $ -> resize() $(window).resize resize if document.referrer.match /flatterline/i $('#intro .he...
Add message for visitors from Flatterline.
Add message for visitors from Flatterline.
CoffeeScript
mit
velocity-labs/velocitylabs.io,velocity-labs/velocitylabs.io,velocity-labs/velocitylabs.io
f42fd9f0871068d17a45782e90085450c0ec2647
components/DispatchAction.coffee
components/DispatchAction.coffee
noflo = require 'noflo' findHandler = (actionParts, routes) -> normalized = routes.map (route) -> if route.indexOf('*') is -1 # No wildcards here return route routeParts = route.split ':' for part, idx in routeParts continue unless part is '*' continue unless actionParts[idx] ...
noflo = require 'noflo' findHandler = (actionParts, routes) -> normalized = routes.map (route) -> if route.indexOf('*') is -1 # No wildcards here return route routeParts = route.split ':' for part, idx in routeParts continue unless part is '*' continue unless actionParts[idx] ...
Simplify by porting to Process API
Simplify by porting to Process API
CoffeeScript
mit
noflo/noflo-ui,noflo/noflo-ui
5d641db357f5ff69b8a1e534b46ff55e85037ac9
plugins/campfire/index.coffee
plugins/campfire/index.coffee
NotificationPlugin = require "../../notification-plugin" class Campfire extends NotificationPlugin @receiveEvent: (config, event) -> # Build the message if event.error message = "#{event.error.exceptionClass}" + (if event.error.message then ": #{event.error.message}" else "") + " (#{event.error.url})" ...
NotificationPlugin = require "../../notification-plugin" class Campfire extends NotificationPlugin @receiveEvent: (config, event) -> # Build the message if event.error message = "#{event.error.exceptionClass}" + (if event.error.message then ": #{event.error.message}" else "") + " (#{event.error.url})" ...
Update campfire to work with the new request method
Update campfire to work with the new request method
CoffeeScript
mit
6wunderkinder/bugsnag-notification-plugins,sharesight/bugsnag-notification-plugins,pushed/bugsnag-notification-plugins,cagedata/bugsnag-notification-plugins,6wunderkinder/bugsnag-notification-plugins,kstream001/bugsnag-notification-plugins,korealert/bugsnag-notification-plugins,jacobmarshall/bugsnag-notification-plugin...
51833bfe439b15df422e916bc55b1f715a34cddf
src/coffee/quality.coffee
src/coffee/quality.coffee
class Quality constructor: (@name, @description, @defaultValue, @defaultProgress, @maxProgress) -> angular.module 'qbn.quality', ['qbn.state'] .factory 'qualityLibrary', (makeGameState) -> library = {} api = register: (id, name, options) -> quality = Object.freeze new Quality() librar...
class Quality constructor: (@name, @description, @defaultValue, @defaultProgress, @maxProgress) -> angular.module 'qbn.quality', ['qbn.state'] .factory 'qualityLibrary', (makeGameState) -> library = {} api = register: (id, name, options) -> quality = Object.freeze new Quality() librar...
Add Way to Enumerate Qualities
Add Way to Enumerate Qualities This is probably temporary. What I wouldn't give for an ES6 generator.
CoffeeScript
unlicense
arashikou/exper3-2015
40aa81e9c11063838b2ade2bf8f2ce676b560bc0
spec/fixtures/packages/package-with-config-defaults/index.coffee
spec/fixtures/packages/package-with-config-defaults/index.coffee
module.exports = configDefaults: numbers: { one: 1, two: 2 }
module.exports = configDefaults: numbers: { one: 1, two: 2 } activate: -> # no-op
Add required activate method to avoid logging during specs
Add required activate method to avoid logging during specs
CoffeeScript
mit
isghe/atom,Jonekee/atom,alexandergmann/atom,basarat/atom,bsmr-x-script/atom,githubteacher/atom,avdg/atom,NunoEdgarGub1/atom,abcP9110/atom,ralphtheninja/atom,sotayamashita/atom,devmario/atom,helber/atom,davideg/atom,jordanbtucker/atom,paulcbetts/atom,russlescai/atom,bradgearon/atom,kdheepak89/atom,Jdesk/atom,nvoron23/at...
a9be1d4a851d9da29c9e57250b5875ec21252332
client/boot.coffee
client/boot.coffee
################################################################################ # Client-side Config # Voltage = settings: defaultTemplate: 'voltagePage' config: (appConfig) -> @settings = _.extend(@settings, appConfig) render: (router) -> router.render 'voltageBlank' router.render 'voltagePa...
################################################################################ # Client-side Config # Voltage = settings: defaultTemplate: 'voltagePage' config: (appConfig) -> @settings = _.extend(@settings, appConfig) render: (router) -> router.render 'voltageBlank' router.template = 'volta...
Fix layout when extending RouteController
Fix layout when extending RouteController - Not sure why this works
CoffeeScript
mit
Differential/meteor-voltage
352ec1ebbeb0f9e96e72ce7ae50c67b2e935aab6
app/assets/javascripts/lib/models/gquery.coffee
app/assets/javascripts/lib/models/gquery.coffee
class @Gquery extends Backbone.Model initialize : -> window.gqueries.add(this) @references = 1 future_value: -> @get('future') present_value: -> @get 'present' safe_present_value: => x = @present_value() # if @get('key') == 'chp_heat_and_electricity_from_wet_biomass' # return (if @is_acc...
class @Gquery extends Backbone.Model initialize : -> window.gqueries.add(this) @references = 1 future_value: -> @get('future') present_value: -> @get 'present' safe_present_value: => x = @present_value() if @is_acceptable_value(x) then x else 0 safe_future_value: => x = @future_value() ...
Remove commented code from Gquery
Remove commented code from Gquery
CoffeeScript
mit
quintel/etmodel,quintel/etmodel,quintel/etmodel,quintel/etmodel
88b38cca04cde26418e0008cf1f2104f8fe95167
test/pass-through-if-length-greater-than-min-spec.coffee
test/pass-through-if-length-greater-than-min-spec.coffee
ReturnValue = require 'nanocyte-component-return-value' PassThroughIfLengthGreaterThanMin = require '../src/pass-through-if-length-greater-than-min' describe 'PassThroughIfLengthGreaterThanMin', -> beforeEach -> @sut = new PassThroughIfLengthGreaterThanMin it 'should exist', -> expect(@sut).to.be.an.insta...
ReturnValue = require 'nanocyte-component-return-value' PassThroughIfLengthGreaterThanMin = require '../src/pass-through-if-length-greater-than-min' describe 'PassThroughIfLengthGreaterThanMin', -> beforeEach -> @sut = new PassThroughIfLengthGreaterThanMin it 'should exist', -> expect(@sut).to.be.an.insta...
Add test to pass through the message if min is not set
Add test to pass through the message if min is not set
CoffeeScript
mit
octoblu/nanocyte-component-pass-through-if-length-greater-than-min
3500f4e7ec7ece9dcf13434ae071af87721adb37
spec/specs/once.coffee
spec/specs/once.coffee
describe "Bacon.once", -> describe "should send single event and end", -> expectStreamEvents( -> Bacon.once("pow") ["pow"]) describe "accepts an Error event as parameter", -> expectStreamEvents( -> Bacon.once(new Bacon.Error("oop")) [error()]) describe "Allows wrapped events, for i...
describe "Bacon.once", -> describe "should send single event and end", -> expectStreamEvents( -> Bacon.once("pow") ["pow"]) describe "accepts an Error event as parameter", -> expectStreamEvents( -> Bacon.once(new Bacon.Error("oop")) [error()]) describe "Allows wrapped events, for i...
Remove use of Function::bind in specs
Remove use of Function::bind in specs
CoffeeScript
mit
baconjs/bacon.js,baconjs/bacon.js,baconjs/bacon.js,baconjs/bacon.js
cdf3fa52fa2aa197f7b00f802352efe85a0f03c7
src/site-header.coffee
src/site-header.coffee
Controller = require 'zooniverse/controllers/base-controller' class SiteHeader extends Controller className: 'site-navigation' template: require './templates/site-header' elements: '.site-links': 'linksContainer' addNavLink: (href, label) -> a = @linksContainer.append '<a></a>' a.attr 'href', href...
Controller = require 'zooniverse/controllers/base-controller' class SiteHeader extends Controller className: 'site-navigation' template: require './templates/site-header' elements: '.site-links': 'linksContainer' addNavLink: (href, label) -> @linksContainer.append "<a href='#{href}'>#{label}</a>" mod...
Put text in header links
Put text in header links
CoffeeScript
apache-2.0
zooniverse/zooniverse-readymade
e3b457c70adac2a3784d33f300a15c633e6f6e26
astroid-web.coffee
astroid-web.coffee
Tasks = new Meteor.Collection("tasks") Lists = new Meteor.Collection("lists") Folders = new Meteor.Collection("folders") if Meteor.isClient Template.todos.tasks = -> Tasks.find() Template.todos.events 'click a.completeBox': (e) -> now = moment() Tasks.update this._id, $set: c...
Tasks = new Meteor.Collection("tasks") Lists = new Meteor.Collection("lists") Folders = new Meteor.Collection("folders") if Meteor.isClient Template.todos.tasks = -> Tasks.find() Template.todos.events 'click a.completeBox': (e) -> now = new Date() Tasks.update this._id, $set: ...
Move to native Javascript dates
Move to native Javascript dates
CoffeeScript
agpl-3.0
adelq/astroid-web
0ae4aec535d570d20e60b09516d25642ffd42932
atom/packages.cson
atom/packages.cson
'packages': [ 'advanced-new-file' 'advanced-railscasts-syntax' 'atom-color-highlight' 'auto-copyright' 'autocomplete-paths' 'autocomplete-plus' 'autocomplete-snippets' 'block-travel' 'bug-report' 'file-type-icons' 'highlight-selected' 'indentation-indicator' 'language-generic-config' 'langua...
'packages': [ 'advanced-new-file' 'advanced-railscasts-syntax' 'atom-color-highlight' 'auto-copyright' 'block-travel' 'bug-report' 'file-type-icons' 'highlight-selected' 'indentation-indicator' 'language-generic-config' 'language-haml' 'language-r' 'language-swift' 'language-todotxt' 'lang...
Add notational-velocity and space-underscore to package list
Add notational-velocity and space-underscore to package list
CoffeeScript
mit
lee-dohm/dotfiles,lee-dohm/dotfiles,lee-dohm/dotfiles,lee-dohm/dotfiles
2978928d1a3ffe93ea06d09d2b2cb007ef3750f0
app/controllers/Dashboard.coffee
app/controllers/Dashboard.coffee
Spine = require('spine') _ = require('underscore/underscore') ToolWindow = require('controllers/ToolWindow') class Dashboard extends Spine.Controller constructor: -> super elements: '.tools': 'workspace' tools: [] channels: [] sources: ["GalaxyZooSubject", "SkyServerSubject"] count: 0 ren...
_ = require('underscore/underscore') ToolWindow = require('controllers/ToolWindow') class Dashboard extends Spine.Controller constructor: -> super elements: '.tools': 'workspace' tools: [] channels: [] sources: ["GalaxyZooSubject", "SkyServerSubject"] count: 0 render: => @html require...
Remove spine require in dashboard
Remove spine require in dashboard
CoffeeScript
apache-2.0
zooniverse/Ubret-Dashboard
0f3455791ce2763ebd322aafcf5c9fdc5c1911c3
angular/core/components/memberships_page/pending_invitations_card/pending_invitations_card.coffee
angular/core/components/memberships_page/pending_invitations_card/pending_invitations_card.coffee
angular.module('loomioApp').directive 'pendingInvitationsCard', -> scope: {group: '='} restrict: 'E' templateUrl: 'generated/components/memberships_page/pending_invitations_card/pending_invitations_card.html' replace: true controller: ($scope, CurrentUser, Records, ModalService, CancelInvitationForm, AppConfi...
angular.module('loomioApp').directive 'pendingInvitationsCard', -> scope: {group: '='} restrict: 'E' templateUrl: 'generated/components/memberships_page/pending_invitations_card/pending_invitations_card.html' replace: true controller: ($scope, CurrentUser, Records, ModalService, CancelInvitationForm, AppConfi...
Allow display of up to 1000 pending invitations
Allow display of up to 1000 pending invitations
CoffeeScript
agpl-3.0
loomio/loomio,sicambria/loomio,sicambria/loomio,mhjb/loomio,mhjb/loomio,loomio/loomio,piratas-ar/loomio,piratas-ar/loomio,mhjb/loomio,mhjb/loomio,sicambria/loomio,piratas-ar/loomio,sicambria/loomio,piratas-ar/loomio,loomio/loomio,loomio/loomio
d76bf12e76cec01d52e3ad6d8d8c8fd7d751c162
index.cjsx
index.cjsx
remote = require 'remote' windowManager = remote.require './lib/window' window.akashicRecordsWindow = null initialAkashicRecordsWindow = -> window.akashicRecordsWindow = windowManager.createWindow x: config.get 'poi.window.x', 0 y: config.get 'poi.window.y', 0 width: 820 height: 650 window.akashicR...
remote = require 'remote' windowManager = remote.require './lib/window' window.akashicRecordsWindow = null initialAkashicRecordsWindow = -> window.akashicRecordsWindow = windowManager.createWindow x: config.get 'poi.window.x', 0 y: config.get 'poi.window.y', 0 width: 820 height: 650 window.akashicR...
Use span instead of array for killing warning
Use span instead of array for killing warning
CoffeeScript
mit
PHELiOX/plugin-Akashic-records,zyc434343/plugin-Akashic-records,poooi/plugin-Akashic-records,poooi/plugin-Akashic-records,yudachi/plugin-Akashic-records,PHELiOX/plugin-Akashic-records,NatLee/plugin-Akashic-records,zyc434343/plugin-Akashic-records,NatLee/plugin-Akashic-records,yudachi/plugin-Akashic-records
20d1e2b7d5ce667fc4dc6f862e6b6f9ae38b4cb8
site/lib/utils.coffee
site/lib/utils.coffee
moment = require('lib/moment') exports.isDev = (req) -> # We are on DEV when Host has string like # '/dev.' or '/staging.' or '.local' or '.dev' or 'localhost' re = /(\/dev\.|\/staging\.|\.local$|\.dev$|localhost)/ return re.test(req.headers.Host) exports.prettyDate = (date) -> moment.utc(date).local().f...
moment = require('lib/moment') exports.isDev = (req) -> # We are on DEV when Host has string like # 'dev.' or 'staging.' or '.local' or '.dev' or 'localhost' re = /(^dev\.|^staging\.|\.local$|\.dev$|localhost)/ return re.test(req.headers.Host) exports.prettyDate = (date) -> moment.utc(date).local().forma...
Fix the isDev util function to work properly on prod
Fix the isDev util function to work properly on prod
CoffeeScript
mit
markuso/kleks,markuso/kleks
fce4003c3f810acfc87bbab434c83e0e4e287ad9
app/mixins/dateable.coffee
app/mixins/dateable.coffee
`import Ember from 'ember'` DateableMixin = Ember.Mixin.create # Method to check if something has happened in the last val*period inLast: (field, val, period) -> sinceDate(field,val, period, new Date()) # Method to check if something will happen in the next val*period inNext: (field, val, period) -> u...
`import Ember from 'ember'` DateableMixin = Ember.Mixin.create # Method to check if something has happened in the last val*period inLast: (field, val, period) -> @sinceDate(field,val, period, new Date()) # Method to check if something will happen in the next val*period inNext: (field, val, period) -> ...
Apply small fix to prevent error of "sinceDate not found"
Apply small fix to prevent error of "sinceDate not found"
CoffeeScript
apache-2.0
intervention-engine/frontend,intervention-engine/frontend,intervention-engine/frontend
48029f0ee82b0cb4d5e7934e6e5fbd5813d8114a
app/assets/javascripts/dynamic_fields_for.coffee
app/assets/javascripts/dynamic_fields_for.coffee
$ -> $(document).off 'click', 'form .remove_fields' $(document).off 'click', 'form .add_fields' $(document).on 'click', 'form .remove_fields', (event) -> $(this).prev('input[type=hidden]').val('1') $(this).closest('.fields').hide() event.preventDefault() $(document).on 'click', 'form .add_fields...
$ -> $(document).off 'click', 'form .remove_fields' $(document).off 'click', 'form .add_fields' $(document).on 'click', 'form .remove_fields', (event) -> $(this).prev('input[type=hidden]').val('1') $(this).closest('.fields').hide() $(document).trigger('dynamicFieldsFor.remove', @) event.preventDe...
Add Events for js methods
Add Events for js methods
CoffeeScript
mit
mortik/dynamic_fields_for_rails,mortik/dynamic_fields_for_rails
21f99a646110e73d73451c9caa14546d3bbdc9ff
atom/packages.cson
atom/packages.cson
packages: [ "advanced-open-file" "atom-alignment" "atom-handlebars" "auto-update-packages" "docblockr" "editorconfig" "emmet" "expand-region" "language-apache" "language-applescript" "language-awk" "language-env" "language-gitattributes" "language-gitignore" "language-hosts" "language-in...
packages: [ "advanced-open-file" "atom-alignment" "atom-handlebars" "auto-update-packages" "docblockr" "editorconfig" "emmet" "expand-region" "language-apache" "language-applescript" "language-awk" "language-env" "language-gitattributes" "language-gitignore" "language-hosts" "language-in...
Uninstall linter-jshint in favor of linter-eslint
Uninstall linter-jshint in favor of linter-eslint
CoffeeScript
mit
caleb531/dotfiles,caleb531/dotfiles,caleb531/dotfiles,caleb531/dotfiles
c49001b6e2ee154aae9d3667ab5582de25222842
app/assets/javascripts/neighborly/static/learn.js.coffee
app/assets/javascripts/neighborly/static/learn.js.coffee
Neighborly.Static ?= {} Neighborly.Static.Learn = init: Backbone.View.extend el: '.learn-page' initialize: -> $('.expand-section').click (event) -> that = this event.preventDefault() $(this).parents('.main-section').find('.section-content').slideToggle 500, -> elem = ...
Neighborly.Static ?= {} Neighborly.Static.Learn = init: Backbone.View.extend el: '.learn-page' initialize: -> $('.expand-section').click (event) -> event.preventDefault() $(this).parents('.main-section').find('.section-content').slideToggle 500, => elem = $(this).find('.expan...
Use fat arrow to access external context in CoffeeScript
Use fat arrow to access external context in CoffeeScript
CoffeeScript
mit
MicroPasts/micropasts-crowdfunding,gustavoguichard/neighborly,gustavoguichard/neighborly,MicroPasts/micropasts-crowdfunding,MicroPasts/micropasts-crowdfunding,MicroPasts/micropasts-crowdfunding,gustavoguichard/neighborly
06f70307033ff220370ca4630ecad2e8a4f962fd
lib/file-view.coffee
lib/file-view.coffee
{CompositeDisposable} = require 'event-kit' FileIcons = require './file-icons' module.exports = class FileView extends HTMLElement initialize: (@file) -> @subscriptions = new CompositeDisposable() @subscriptions.add @file.onDidDestroy => @subscriptions.dispose() @draggable = true @classList.add('fi...
{CompositeDisposable} = require 'event-kit' FileIcons = require './file-icons' module.exports = class FileView extends HTMLElement initialize: (@file) -> @subscriptions = new CompositeDisposable() @subscriptions.add @file.onDidDestroy => @subscriptions.dispose() @draggable = true @classList.add('fi...
Allow packages to provide multiple file-icon classes
Allow packages to provide multiple file-icon classes
CoffeeScript
mit
learn-co/learn-ide-tree,atom/tree-view,jarig/tree-view,samu/tree-view
258de2f2ceb7eb9ee548c899722f5507153363e3
test/task/collection.spec.coffee
test/task/collection.spec.coffee
{Testing, expect, sinon, _} = require 'openstax-react-components/test/helpers' {TaskReview} = require 'task/review' Collection = require 'task/collection' TASK = require 'cc/tasks/C_UUID/m_uuid/GET' describe 'Task Collection', -> beforeEach -> @taskId = 'm_uuid/C_UUID' @task = _.extend({}, TASK, taskId: @t...
{Testing, expect, sinon, _} = require 'openstax-react-components/test/helpers' {TaskReview} = require 'task/review' Collection = require 'task/collection' TASK = require 'cc/tasks/C_UUID/m_uuid/GET' User = require 'user/model' describe 'Task Collection', -> beforeEach -> @taskId = 'm_uuid/C_UUID' @task = _...
Test that tasks collection resets after logout
Test that tasks collection resets after logout
CoffeeScript
agpl-3.0
openstax/tutor-js,openstax/tutor-js,openstax/tutor-js,openstax/tutor-js,openstax/tutor-js
c046ef8ddcd0f981a90b25faa516c67217321415
lib/viewers/okular-viewer.coffee
lib/viewers/okular-viewer.coffee
BaseViewer = require './base-viewer' module.exports = class SumatraViewer extends BaseViewer _getArgs = (opts = {}) -> args = ["--unique"] args.push "--noraise" if opts?.keepFocus args forwardSync: (pdfFile, texFile, line, col, opts = {}) -> args = _getArgs opts args.push "#{pdfFile}#src:#{lin...
BaseViewer = require './base-viewer' module.exports = class OkularViewer extends BaseViewer _getArgs = (opts = {}) -> args = ["--unique"] args.push "--noraise" if opts?.keepFocus args forwardSync: (pdfFile, texFile, line, col, opts = {}) -> args = _getArgs opts args.push "#{pdfFile}#src:#{line...
Fix name of okular viewer
Fix name of okular viewer
CoffeeScript
mit
msiniscalchi/atom-latextools,mperessotti/atom-latextools,ig0774/atom-latextools,ig0774/atom-latextools
bcaee2de8e45fc1afdd105938cf196b76553f0e0
spec/schemas.coffee
spec/schemas.coffee
tv4 = require 'tv4' chai = require 'chai' if not chai yaml = require 'js-yaml' path = require 'path' fs = require 'fs' getSchema = (name) -> filepath = path.join __dirname, '../schema', name+'.json' content = fs.readFileSync filepath, { encoding: 'utf-8' } return JSON.parse content getExamples = (name) -> f...
tv4 = require 'tv4' chai = require 'chai' if not chai yaml = require 'js-yaml' path = require 'path' fs = require 'fs' schemaPath = '../schema' getSchema = (name) -> filepath = path.join __dirname, schemaPath, name loadSchema filepath loadSchema = (filepath) -> content = fs.readFileSync filepath, { encoding: ...
Change schema registration so that ids will work
Change schema registration so that ids will work
CoffeeScript
mit
the-grid/apidocs,the-grid/apidocs,the-grid/apidocs,the-grid/apidocs
b2d7bd30528c3aaa9c3eabbf84507b72771f583b
client/CollaborativeWorkspace/panes/sharableclientterminalpane.coffee
client/CollaborativeWorkspace/panes/sharableclientterminalpane.coffee
class SharableClientTerminalPane extends TerminalPane constructor: (options = {}, data) -> sessionOptions = options.sessionKey options.vmName = sessionOptions.vmName options.vmRegion = sessionOptions.vmRegion options.joinUser = sessionOptions.host options.session = sessionOptions.key op...
class SharableClientTerminalPane extends TerminalPane constructor: (options = {}, data) -> sessionOptions = options.sessionKey options.vmName = sessionOptions.vmName options.vmRegion = sessionOptions.vmRegion options.joinUser = sessionOptions.host options.session = sessionOptions.key op...
Send default size options and fix sharable terminal mode.
Teamwork: Send default size options and fix sharable terminal mode.
CoffeeScript
agpl-3.0
cihangir/koding,usirin/koding,acbodine/koding,gokmen/koding,szkl/koding,drewsetski/koding,acbodine/koding,usirin/koding,rjeczalik/koding,acbodine/koding,alex-ionochkin/koding,jack89129/koding,usirin/koding,alex-ionochkin/koding,alex-ionochkin/koding,koding/koding,kwagdy/koding-1,mertaytore/koding,sinan/koding,drewsetsk...
893233ff3e565b7db0754dc8dd6bc283d5b5be52
apps/about/client/index.coffee
apps/about/client/index.coffee
loggedOutNav = require '../../../components/logged_out_nav/client/index.coffee' slides = require './experiments.coffee' { mountWithApolloProvider } = require '../../../react/apollo/index.js' { default: DescriptiveCarousel } = require '../../../react/components/ExperimentsCarousel/index.js' { CURRENT_PATH } = require('s...
loggedOutNav = require '../../../components/logged_out_nav/client/index.coffee' slides = require './experiments.coffee' { mountWithApolloProvider } = require '../../../react/apollo/index.js' { default: DescriptiveCarousel } = require '../../../react/components/DescriptiveCarousel/index.js' { CURRENT_PATH } = require('s...
Correct reference to carousel on experiments page
Correct reference to carousel on experiments page
CoffeeScript
mit
aredotna/ervell,aredotna/ervell,aredotna/ervell,aredotna/ervell,aredotna/ervell
f83f96823b1180c5e637d74c0e5fd249e761d251
src/routes/backend-static.coffee
src/routes/backend-static.coffee
CONFIG = require '../config' Request = require 'superagent' module.exports = (app, done) -> # Swagger interface app.get '/backend/:id*?', (req, res, next) -> Request .get("#{CONFIG.backendURI}/#{CONFIG.backendStaticPath}/#{req.params.id}") .end (err, backendResp) -> if backendResp.headers['content-type']...
CONFIG = require '../config' Request = require 'superagent' log = require('../log')(module) module.exports = (app, done) -> # Swagger interface app.get '/backend/*', (req, res, next) -> uri = "#{CONFIG.backendURI}/#{CONFIG.backendStaticPath}/#{req.params[0]}" log.debug "Retrieving static backend asset '#{uri}'...
Fix static backend path route
Fix static backend path route
CoffeeScript
mit
infolis/infolis-web,infolis/infolis-web,infolis/infolis-web
ab98e70874a4fea3134cd2c2b07742d90f4788d1
menus/hydrogen.cson
menus/hydrogen.cson
# See https://atom.io/docs/latest/hacking-atom-package-word-count#menus for more details # 'context-menu': # 'atom-text-editor': [ # { # 'label': 'Toggle atom-repl' # 'command': 'atom-repl:toggle' # } # ] 'menu': [ { 'label': 'Packages' 'submenu': [ 'label': 'Hydrogen' 'sub...
# See https://atom.io/docs/latest/hacking-atom-package-word-count#menus for more details # 'context-menu': # 'atom-text-editor': [ # { # 'label': 'Toggle atom-repl' # 'command': 'atom-repl:toggle' # } # ] 'menu': [ { 'label': 'Packages' 'submenu': [ 'label': 'Hydrogen' 'sub...
Add run cell commands to menu
Add run cell commands to menu
CoffeeScript
mit
nteract/hydrogen,rgbkrk/hydrogen,nteract/hydrogen,xanecs/hydrogen
bfb77332c734164163a7b316c6009fb0d68a09c9
lib/providers/coffee-provider.coffee
lib/providers/coffee-provider.coffee
configManager = require '../config-manager' resolve = require 'resolve' path = require 'path' # Check if there is a local coffee-script package, use that package if it exists scopedRequire = (filepath) -> basedir = path.dirname(filepath) rst = null try rst = path.dirname(resolve.sync('coffee-s...
configManager = require '../config-manager' resolve = require 'resolve' path = require 'path' # Check if there is a local coffee-script package, use that package if it exists scopedRequire = (filepath) -> basedir = path.dirname(filepath) rst = null try rst = path.dirname(resolve.sync('coffee-s...
Add support for embedded coffeescript in vue
Add support for embedded coffeescript in vue Closes #50
CoffeeScript
mit
adrianlee44/atom-coffee-compile
0fb902e63e376063f94d2dba86ae00599ba7ef39
components/GetUserToken.coffee
components/GetUserToken.coffee
noflo = require 'noflo' exports.getComponent = -> c = new noflo.Component c.description = 'Get user token from action' c.icon = 'key' c.inPorts.add 'in', datatype: 'object' c.outPorts.add 'token', datatype: 'string' c.outPorts.add 'out', datatype: 'object' c.outPorts.add 'error', datatype...
noflo = require 'noflo' exports.getComponent = -> c = new noflo.Component c.description = 'Get user token from action' c.icon = 'key' c.inPorts.add 'in', datatype: 'object' c.outPorts.add 'token', datatype: 'string' c.outPorts.add 'out', datatype: 'object' c.outPorts.add 'error', datatype...
Allow GH sync also for non-authenticated users
Allow GH sync also for non-authenticated users
CoffeeScript
mit
noflo/noflo-ui,noflo/noflo-ui
f94fce3fa89792726d34df7d479db1c2a610256e
default-config.cson
default-config.cson
poi: theme: "papercyan" layout: "horizonal" window: x: 60 y: 60 width: 1274 height: 616 webview: width: 800 shortcut: bosskey: "CmdOrCtrl+i" proxy: use: "none" socks5: host: "127.0.0.1" port: 1080 http: host: "127.0.0.1" port: 8099 shadowsocks: server: ...
poi: theme: "paperdark" layout: "horizonal" window: x: 60 y: 60 width: 1274 height: 616 webview: width: 800 shortcut: bosskey: "CmdOrCtrl+i" proxy: use: "none" socks5: host: "127.0.0.1" port: 1080 http: host: "127.0.0.1" port: 8099 shadowsocks: server: ...
Change default theme to paperdark
Change default theme to paperdark
CoffeeScript
mit
dushi792/poi,yudachi/poi,syncsyncsynchalt/poi,dkwingsmt/poi,nagatoyk/poi,PHELiOX/poi,nagatoyk/poi,NatLee/poi,dushi792/poi,gnattu/poi,syncsyncsynchalt/poi,gnattu/poi,syncsyncsynchalt/poi,dkwingsmt/poi,syncsyncsynchalt/poi,PHELiOX/poi,yudachi/poi,poooi/poi,KagamiChan/poi,poooi/poi,poooi/poi,poooi/poi,KagamiChan/poi,yudac...
a72a3f8ce57d3f5844234617f71ed5d5af92a516
lib/misc.coffee
lib/misc.coffee
class Locker constructor: () -> @is_locked = false try: (fun, args...) -> if @is_locked return @is_locked = true ret = fun args... @is_locked = false return ret # a basic class with generic getter / setter function class BaseClass constructor: -> # ownProperty is unsafe. Rathe...
class Locker constructor: () -> @is_locked = false try: (args..., fun) -> if @is_locked return @is_locked = true ret = fun args... @is_locked = false return ret # a basic class with generic getter / setter function class BaseClass constructor: -> # ownProperty is unsafe. Rathe...
Change order of params for easier access
Change order of params for easier access
CoffeeScript
mit
y-js/y-richtext
dfed25cc18591aa6d02a260f7346d5b9ca8a1a58
models/base.coffee
models/base.coffee
_ = require 'underscore' class Base constructor: (props) -> _.each props, (v, k) => @[k] = v validate: -> validProperty = (property)=> valid = false valid = typeof @[property] isnt 'undefined' if @validator and @validator[property] valid = @validator[property]() vali...
_ = require 'underscore' class Base constructor: (props) -> _.each props, (v, k) => @[k] = v validate: -> validProperty = (property)=> valid = false valid = typeof @[property] isnt 'undefined' if @validator and @validator[property] valid = @validator[property]() vali...
Use each instead of every for optionals
Use each instead of every for optionals _.every stops interation when one element fails to return something. Thus, not all of the optionals would be put into the returned public object. Same applies to the required object.
CoffeeScript
bsd-3-clause
t3mpus/tempus-api
cf5c84cba384ca5893baf024011cb9941b4f4f80
desktop/apps/artwork/components/partner_stub/index.coffee
desktop/apps/artwork/components/partner_stub/index.coffee
InquireViaPhoneModalView = require '../inquire_via_phone/index.coffee' module.exports = ($el) -> $el .find '.js-artwork-partner-stub-inquire-via-phone' .click (e) -> e.preventDefault() @modal = new InquireViaPhoneModalView width: '500px' copy: login: 'Log in to Artsy to ...
InquireViaPhoneModalView = require '../inquire_via_phone/index.coffee' module.exports = ($el) -> $el .find '.js-artwork-partner-stub-inquire-via-phone' .click (e) -> e.preventDefault() @modal = new InquireViaPhoneModalView width: '500px' copy: login: 'Log in to Artsy to ...
Use currentTarget and getAttribute for older browsers
Use currentTarget and getAttribute for older browsers * #currentTarget gives the element that the event listener is attached to while #target could be something else. * Older browsers don't have #dataset implemented and #getAttribute should be used instead.
CoffeeScript
mit
kanaabe/force,izakp/force,kanaabe/force,artsy/force,joeyAghion/force,artsy/force,izakp/force,cavvia/force-1,mzikherman/force,kanaabe/force,xtina-starr/force,joeyAghion/force,anandaroop/force,damassi/force,cavvia/force-1,mzikherman/force,erikdstock/force,eessex/force,erikdstock/force,artsy/force-public,erikdstock/force,...
506429a571891d565c82ffd2e57356a61716a8b9
scripts/bugzilla.coffee
scripts/bugzilla.coffee
# Description: # In which Hubot gives you bugzilla information # # Dependencies: # None # # Configuration: # None # # Commands: # hubot bug <number> - Shows bug summary # # Author: # greenb QS = require 'querystring' Cheerio = require 'cheerio' module.exports = (robot) -> domain = 'http://bugs.sfola...
# Description: # In which Hubot gives you bugzilla information # # Dependencies: # None # # Configuration: # None # # Commands: # hubot bug <number> - Shows bug summary # # Author: # greenb QS = require 'querystring' Cheerio = require 'cheerio' module.exports = (robot) -> domain = 'http://bugs.sfola...
Make hubot respond with bug info anytime anyone mentions a bug in irc, even if they don't mention hubot
Make hubot respond with bug info anytime anyone mentions a bug in irc, even if they don't mention hubot
CoffeeScript
apache-2.0
bigfix/hubot-scripts,bigfix/hubot-scripts
7cdea0e002fa5d50d0fbc1e837294ef0d82ea0e2
client.coffee
client.coffee
reloadStylesheets = -> queryString = '?reload=' + new Date().getTime(); $('link[rel="stylesheet"]').each -> @href = @href.replace(/\?.*|$/, queryString); connect = (opts={}) -> # if user is running mozilla then use it's built-in WebSocket window.WebSocket ||= window.MozWebSocket connection = new WebSock...
reloadStylesheets = -> queryString = '?reload=' + new Date().getTime(); $('link[rel="stylesheet"]').each -> @href = @href.replace(/\?.*|$/, queryString); connect = (opts={}) -> # if user is running mozilla then use it's built-in WebSocket window.WebSocket ||= window.MozWebSocket connection = new WebSock...
Fix switch on wrong property
Fix switch on wrong property
CoffeeScript
mit
bjoerge/quickreload,bjoerge/quickreload
29c4f916f8cf3cf4a0e17d180a3486503ada94a1
scripts/poo-tracker.coffee
scripts/poo-tracker.coffee
Redis = require 'redis' Url = require 'url' POO_TRACKER_KEY = "poops" POO_LATEST_KEY = "poops:latest_message" info = Url.parse process.env.POO_REDIS_URL or "redis://localhost:6379/0" redis_client = Redis.createClient(info.port, info.hostname) redis_clent.auth info.auth.split(":")[1] if info.auth module.exports = (ro...
Redis = require 'redis' Url = require 'url' POO_TRACKER_KEY = "poops" POO_LATEST_KEY = "poops:latest_message" info = Url.parse process.env.POO_REDIS_URL or "redis://localhost:6379/0" redis_client = Redis.createClient(info.port, info.hostname) redis_clent.auth info.auth.split(":")[1] if info.auth module.exports = (ro...
Use the env for the room if available
Use the env for the room if available
CoffeeScript
mit
n1ckn4m3/hayt,desert-planet/hayt,drobati/hayt,pmn/hayt,skalnik/hayt
324b0e8ca57fe1e70b21253f839231490901a95e
src/catalog.coffee
src/catalog.coffee
# Include CSS in page require('./catalog.scss') # Load App _ = require('lodash') React = require('react') {Routes, Route, Redirect} = require('react-router') App = require('./components/App') Page = require('./components/Page/Page') window.Catalog = (config) -> defaultPageOptions = handler: Page iframe: con...
# Include CSS in page require('./catalog.scss') # Load App _ = require('lodash') React = require('react') {Routes, Route, Redirect} = require('react-router') App = require('./components/App') Page = require('./components/Page/Page') window.Catalog = (config) -> defaultPageOptions = handler: Page iframe: con...
Fix missing key prop for redirect route handler
Fix missing key prop for redirect route handler
CoffeeScript
bsd-3-clause
interactivethings/catalog,interactivethings/catalog,interactivethings/catalog,interactivethings/catalog
335f7ab7d155f4277350bcc459f0eef2b257ee95
synchronize.coffee
synchronize.coffee
FiberUtils.synchronize = (guardObject, uniqueId, body, options={}) -> # Use the guard object to determine whether we have reentered. guards = guardObject._guards ?= {} guards[uniqueId] ?= new FiberUtils.OrderedFence options topLevel = guards[uniqueId].enter() try return body() finally guards[unique...
FiberUtils.synchronize = (guardObject, uniqueId, body, options={}) -> # Use the guard object to determine whether we have reentered. guards = guardObject._guards ?= {} guards[uniqueId] ?= new FiberUtils.OrderedFence options topLevel = guards[uniqueId].enter() try return body() finally guards[unique...
Clean up guards when no fibers are waiting.
Clean up guards when no fibers are waiting.
CoffeeScript
bsd-3-clause
peerlibrary/node-fiber-utils,peerlibrary/meteor-fiber-utils
c9c7385c969c7c14babe0f2a1aa639d145456f4c
src/key-handling.coffee
src/key-handling.coffee
_ = require 'lodash' direction = require './direction' bindings = require '../key-bindings.json' module.exports = exports = (game) -> game.on 'key.*', (ch, key) -> action = bindings[key.name ? key.full] if action? parts = action.split('.') if parts[0] is 'direction' parts[1] = direction.normalize par...
_ = require 'lodash' direction = require './direction' bindings = require '../key-bindings.json' module.exports = exports = (game) -> game.on 'key.*', (ch, key) -> action = bindings[key.full ? key.name] if action? parts = action.split('.') if parts[0] is 'direction' parts[1] = direction.normalize par...
Use key.full before key.name for bindings
Use key.full before key.name for bindings
CoffeeScript
mit
raymond-h/krogue
19cee2071641301304528839d7a4924b4e161610
app/assets/javascripts/app.coffee
app/assets/javascripts/app.coffee
@CodequestManager = do (Backbone, Marionette) -> Marionette.Renderer.oldRender = Marionette.Renderer.render Marionette.Renderer.render = (template, data) -> template = template() if typeof template == 'function' unless JST[template] return Marionette.Renderer.oldRender(template, data) return JST[...
@CodequestManager = do (Backbone, Marionette) -> Marionette.Renderer.oldRender = Marionette.Renderer.render Marionette.Renderer.render = (template, data) -> template = template() if typeof template == 'function' unless JST[template] return Marionette.Renderer.oldRender(template, data) return JST[...
Make CMD+Click or CTRL+Click work
Make CMD+Click or CTRL+Click work
CoffeeScript
mit
lunchiatto/web,lunchiatto/web,lunchiatto/web,lunchiatto/web
3dcdbf1cee6ddc49948605363ec27185fe8b2543
app/controllers/about_page.coffee
app/controllers/about_page.coffee
{Controller} = require 'spine' template = require 'views/about_page' $ = require 'jqueryify' class AboutPage extends Controller className: 'about-page content-page' events: 'click nav button[name="turn-page"]': 'onClickNavButton' elements: 'nav button[name="turn-page"]': 'navButtons' constructor: ->...
{Controller} = require 'spine' template = require 'views/about_page' $ = require 'jqueryify' class AboutPage extends Controller className: 'about-page content-page' events: 'click nav button[name="turn-page"]': 'onClickNavButton' elements: 'nav button[name="turn-page"]': 'navButtons' constructor: ->...
Clean up about page image loader
Clean up about page image loader
CoffeeScript
apache-2.0
alexbfree/Serengeti,zooniverse/Serengeti,zooniverse/Snapshot-Chicago,zooniverse/Wisconsin-Zoo,zooniverse/gorongosa,zooniverse/Serengeti,zooniverse/Wisconsin-Zoo,zooniverse/gorongosa,zooniverse/Snapshot-Chicago,alexbfree/Serengeti,zooniverse/Serengeti,alexbfree/Serengeti
305f9501e2ba770c7c017fbbedd749141eeeff7b
src/ng-iban.coffee
src/ng-iban.coffee
'use strict' IBAN = require 'iban' angular .module 'mm.iban', ['ng'] .directive 'ngIban', -> restrict: 'A' require: 'ngModel' link: (scope, elem, attrs, ctrl) -> parseIban = (value) -> if value? then value.toUpperCase().replace /\s/g, '' else undefined isValidIban = (value) -> ...
'use strict' IBAN = require 'iban' angular .module 'mm.iban', ['ng'] .directive 'ngIban', -> restrict: 'A' require: 'ngModel' scope: ngModel: '=' link: (scope, elem, attrs, ctrl) -> parseIban = (value) -> if value? then value.toUpperCase().replace /\s/g, '' else undefined ...
Use isolated scope for directive
Use isolated scope for directive
CoffeeScript
mit
mmjmanders/ng-iban
7bced68592eca49b64695744e9d4a6b293746257
test/bundle.coffee
test/bundle.coffee
should = require('chai').should() bundle = require '../lib/bundle' describe 'bundle', -> it 'should bundle all dependencies', (done) -> bundle entry: './fixtures/entry', exclude: /excluded/ include: ['./fixtures/included'] export: 'entry' , (err, bundle) -> done()
should = require('chai').should() bundle = require '../lib/bundle' opts = entry: './fixtures/entry', exclude: /excluded/ include: ['./fixtures/included'] export: 'entry' describe 'bundle', -> it 'should bundle all dependencies', (done) -> bundle opts, (err, bundle) -> bundle.toString().should.cont...
Update tests to test promise API as well.
Update tests to test promise API as well.
CoffeeScript
mit
zeekay/requisite,zeekay/requisite
79435469ad5b5b1437c82388df04e56c35328052
src/scripts/models/content/page.coffee
src/scripts/models/content/page.coffee
define (require) -> $ = require('jquery') toc = require('cs!collections/toc') Node = require('cs!models/content/node') require('backbone-associations') return class Page extends Node defaults: authors: [] constructor: () -> super(arguments...) toc.add(@) parse: (response, opti...
define (require) -> $ = require('jquery') toc = require('cs!collections/toc') Node = require('cs!models/content/node') require('backbone-associations') return class Page extends Node defaults: authors: [] constructor: () -> super(arguments...) toc.add(@) parse: (response, opti...
Remove first .abstract element if it exists
Remove first .abstract element if it exists
CoffeeScript
agpl-3.0
carolinelane10/webview,katalysteducation/webview,dak/webview,katalysteducation/webview,dak/webview,Connexions/webview,katalysteducation/webview,Connexions/webview,katalysteducation/webview,Connexions/webview,dak/webview,Connexions/webview
9d103cc19f7a60ce11cf56ece1752615417d3abf
apps/auction_support/index.coffee
apps/auction_support/index.coffee
# # Auction related routes # express = require 'express' routes = require './routes' app = module.exports = express() app.set 'views', __dirname + '/templates' app.set 'view engine', 'jade' app.get '/auction-registration/:id', routes.auctionRegistration app.get '/auction/:id/bid/:artwork', routes.bid app.get '/aucti...
# # Auction related routes # express = require 'express' routes = require './routes' app = module.exports = express() app.set 'views', __dirname + '/templates' app.set 'view engine', 'jade' app.get '/auction-registration/:id', routes.auctionRegistration app.get '/auction/:id/bid/:artwork', routes.bid app.get '/aucti...
Add /feature bid route for Eigen
Add /feature bid route for Eigen
CoffeeScript
mit
erikdstock/force,cavvia/force-1,artsy/force,artsy/force-public,eessex/force,eessex/force,kanaabe/force,eessex/force,cavvia/force-1,oxaudo/force,xtina-starr/force,cavvia/force-1,dblock/force,oxaudo/force,xtina-starr/force,kanaabe/force,yuki24/force,dblock/force,anandaroop/force,artsy/force-public,xtina-starr/force,izakp...
326db40a73d85c6c788829088d7f90fd0481b567
src/object-selection.coffee
src/object-selection.coffee
# module.exports = class ObjectSelection constructor: (@options={}) -> @options.class ?= 'object-selection' setObject: (object) -> @_unbindObject(@object) @object = object @_bindObject(@object) @path.remove() if @path @path = null if @object @path = svg.path('').front() @p...
# module.exports = class ObjectSelection constructor: (@options={}) -> @options.class ?= 'object-selection' setObject: (object) -> @_unbindObject(@object) @object = object @_bindObject(@object) @path.remove() if @path @path = null if @object @path = svg.path('').front() @p...
Use removeListener instead of off
Use removeListener instead of off
CoffeeScript
mit
benogle/curve,benogle/curve
40ab71fb79a0cd0289ba41aed1d914dce071317b
src/wrappers/enumerable.coffee
src/wrappers/enumerable.coffee
EnumerableWrapper = getLength: -> @value.length forEach: (callback) -> if @wrappers.constructor == Object callback(key, wrapper) for key, wrapper of @wrappers else if @wrappers.constructor == Array @wrappers.forEach(callback) map: (callback) -> @wrappers.map(callback) find: (callb...
EnumerableWrapper = getLength: -> @value.length forEach: (callback) -> if @wrappers.constructor == Object callback(key, wrapper) for key, wrapper of @wrappers else if @wrappers.constructor == Array @wrappers.forEach(callback) map: (callback) -> @wrappers.map(callback) find: (callb...
Return null when not found
Return null when not found
CoffeeScript
mit
ivantsepp/cortex,mquan/cortex,ivantsepp/cortex
4117da3178d6f3e6403bc1e33de5223bd1e51653
Gruntfile.coffee
Gruntfile.coffee
module.exports = (grunt) -> grunt.initConfig pkg: grunt.file.readJSON('package.json') coffee: glob_to_multiple: expand: true cwd: 'src' src: ['**/*.coffee'] dest: 'lib' ext: '.js' coffeelint: options: no_empty_param_list: level: 'erro...
path = require('path') module.exports = (grunt) -> grunt.initConfig pkg: grunt.file.readJSON('package.json') coffee: glob_to_multiple: expand: true cwd: 'src' src: ['**/*.coffee'] dest: 'lib' ext: '.js' coffeelint: options: no_empty_param_list...
Switch appveyor from apm to npm
Switch appveyor from apm to npm
CoffeeScript
mit
NeekSandhu/event-kit,atom/event-kit
0a5049fcb8fe77bc53f6f47e37d6420f991510b0
app/assets/javascripts/controllers/toolbar.js.coffee
app/assets/javascripts/controllers/toolbar.js.coffee
Wheelmap.ToolbarController = Ember.Controller.extend needs: 'map' statusFilters: ['yes', 'limited', 'no', 'unknown'] map: Ember.computed.alias('controllers.map') _extraFilter: false # Flag for executing special status filter behavior only once init: ()-> @_super() if $.cookie('last_status_filters') ...
Wheelmap.ToolbarController = Ember.Controller.extend needs: 'map' statusFilters: ['yes', 'limited', 'no', 'unknown'] _extraFilter: false # Flag for executing special status filter behavior only once init: ()-> @_super() if $.cookie('last_status_filters') @set('statusFilters', JSON.parse($.cookie...
Fix bug with not called observers listening to aliases.
Fix bug with not called observers listening to aliases.
CoffeeScript
agpl-3.0
sozialhelden/wheelmap,sozialhelden/wheelmap,sozialhelden/wheelmap,sozialhelden/wheelmap,sozialhelden/wheelmap
211dbab6d1100271d9ebfde332679eb070469278
server/materials/data/topics/sparse_tables.coffee
server/materials/data/topics/sparse_tables.coffee
import contest from "../../lib/contest" import label from "../../lib/label" import link from "../../lib/link" import page from "../../lib/page" import problem from "../../lib/problem" import topic from "../../lib/topic" import {ruen} from "../../lib/util" export default sparse_tables = () -> return { topic...
import contest from "../../lib/contest" import label from "../../lib/label" import link from "../../lib/link" import page from "../../lib/page" import problem from "../../lib/problem" import topic from "../../lib/topic" import {ruen} from "../../lib/util" export default sparse_tables = () -> return { topic...
Add RMQ to sparse tables contest
Add RMQ to sparse tables contest
CoffeeScript
agpl-3.0
petr-kalinin/algoprog,petr-kalinin/algoprog,petr-kalinin/algoprog,petr-kalinin/algoprog
64b956466e4bbcecb44e2d2e9a759e0db0cb9519
lib/main.coffee
lib/main.coffee
{CompositeDisposable} = require 'atom' module.exports = config: executablePath: type: 'string' title: 'PHP Executable Path' default: 'php' # Let OS's $PATH handle the rest activate: -> @regex = '(Parse|Fatal) ' + '(?<error>error):(\\s*(?<type>parse|syntax) error,?)?\\s*' + ...
{CompositeDisposable} = require 'atom' module.exports = config: executablePath: type: 'string' title: 'PHP Executable Path' default: 'php' # Let OS's $PATH handle the rest activate: -> @regex = '(Parse|Fatal) ' + '(?<error>error):(\\s*(?<type>parse|syntax) error,?)?\\s*' + ...
Remove no longer needed requires
Remove no longer needed requires
CoffeeScript
mit
AtomLinter/linter-php,AtomLinter/linter-php
b1dbab3b99d742218b7ebbd6c44d8cdad130c352
Gruntfile.coffee
Gruntfile.coffee
# Generated on 2014-12-25 using generator-bower 0.0.1 'use strict' mountFolder = (connect, dir) -> connect.static require('path').resolve(dir) module.exports = (grunt) -> require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks) yeomanConfig = src: 'src' dist : 'dist' grunt.initConfig ...
# Generated on 2014-12-25 using generator-bower 0.0.1 'use strict' mountFolder = (connect, dir) -> connect.static require('path').resolve(dir) module.exports = (grunt) -> require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks) yeomanConfig = src: 'src' dist : 'dist' grunt.initConfig ...
Enable tests to absolutely fail
Enable tests to absolutely fail
CoffeeScript
apache-2.0
duanearnett/forty-datetime-directive,fortyau/forty-datetime-directive
1fee805c9a5ab7cd55886aafd7356a282e965797
cms/static/coffee/src/main.coffee
cms/static/coffee/src/main.coffee
AjaxPrefix.addAjaxPrefix(jQuery, -> CMS.prefix) @CMS = Models: {} Views: {} prefix: $("meta[name='path_prefix']").attr('content') _.extend CMS, Backbone.Events $ -> Backbone.emulateHTTP = true $.ajaxSetup headers : { 'X-CSRFToken': $.cookie 'csrftoken' } dataType: 'json' $(document).ajaxError ...
AjaxPrefix.addAjaxPrefix(jQuery, -> CMS.prefix) @CMS = Models: {} Views: {} prefix: $("meta[name='path_prefix']").attr('content') _.extend CMS, Backbone.Events $ -> Backbone.emulateHTTP = true $.ajaxSetup headers : { 'X-CSRFToken': $.cookie 'csrftoken' } dataType: 'json' $(document).ajaxError ...
Adjust indentation to make coffeescript happy
Adjust indentation to make coffeescript happy
CoffeeScript
agpl-3.0
ZLLab-Mooc/edx-platform,CredoReference/edx-platform,xuxiao19910803/edx-platform,kamalx/edx-platform,simbs/edx-platform,vismartltd/edx-platform,antonve/s4-project-mooc,10clouds/edx-platform,don-github/edx-platform,MakeHer/edx-platform,caesar2164/edx-platform,zubair-arbi/edx-platform,B-MOOC/edx-platform,mjirayu/sit_acade...
ed393388a3fb404bf82fe50e3c76e545538369a0
apps/artwork_2/lib/inquire.coffee
apps/artwork_2/lib/inquire.coffee
User = require '../../../models/user.coffee' Artwork = require '../../../models/artwork.coffee' ArtworkInquiry = require '../../../models/artwork_inquiry.coffee' openInquiryQuestionnaireFor = require '../../../components/inquiry_questionnaire/index.coffee' module.exports = (id) -> user = User.instantiate() inquiry...
Promise = require 'bluebird-q' User = require '../../../models/user.coffee' Artwork = require '../../../models/artwork.coffee' ArtworkInquiry = require '../../../models/artwork_inquiry.coffee' openInquiryQuestionnaireFor = require '../../../components/inquiry_questionnaire/index.coffee' module.exports = (id) -> user...
Return a *real* promise so that we can then/catch
Return a *real* promise so that we can then/catch
CoffeeScript
mit
eessex/force,kanaabe/force,kanaabe/force,anandaroop/force,mzikherman/force,artsy/force,cavvia/force-1,anandaroop/force,damassi/force,izakp/force,oxaudo/force,cavvia/force-1,mzikherman/force,mzikherman/force,xtina-starr/force,dblock/force,damassi/force,joeyAghion/force,mzikherman/force,artsy/force,anandaroop/force,joeyA...
c7dbf1115d039cceb29634424ec6489324dffff6
lib/project/result-view.coffee
lib/project/result-view.coffee
{_, $, fs, View} = require 'atom' MatchView = require './match-view' path = require 'path' module.exports = class ResultView extends View @content: (filePath, matches) -> iconClass = if fs.isReadmePath(filePath) then 'icon-book' else 'icon-file-text' @li class: 'path list-nested-item', 'data-path': _.escape...
{_, $, fs, View} = require 'atom' MatchView = require './match-view' path = require 'path' module.exports = class ResultView extends View @content: (filePath, matches) -> iconClass = if fs.isReadmePath(filePath) then 'icon-book' else 'icon-file-text' @li class: 'path list-nested-item', 'data-path': _.escape...
Use RootView::open instead of RootView::openSync
Use RootView::open instead of RootView::openSync
CoffeeScript
mit
harai/find-and-replace,trevdor/find-and-replace,atom/find-and-replace,bmperrea/find-and-replace
804405eda7c34314adce903ff51447740d28137b
content_manifest.coffee
content_manifest.coffee
fs = require "fs" class ContentManifest filters: [ ] constructor: (file,@options) -> @rawContent = fs.readFileSync(file,"utf8") @list = @rawContent.split /\n/ addFilter: (pattern,filter) -> @filters.push { pattern: pattern, filter: filter } compile: -> content = "" for item in @list for f in @fi...
fs = require "fs" class ContentManifest filters: [ ] finalizeFilters: [] constructor: (file,@options) -> @rawContent = fs.readFileSync(file,"utf8") @list = @rawContent.split /\n/ ### A filter is registered with a pattern and a callback, The callback takes a file path and should returns filtered cont...
Add finalize filter and comment filter support.
Add finalize filter and comment filter support.
CoffeeScript
mit
c9s/umobi,c9s/umobi,c9s/umobi
38c4cf0594ff023fc0acfd6cac16c82ddc27b32c
client/app/MainApp/sidebar/sidebarcontroller.coffee
client/app/MainApp/sidebar/sidebarcontroller.coffee
class SidebarController extends KDViewController constructor:-> super mainController = KD.getSingleton 'mainController' mainController.on 'ManageRemotes', -> new ManageRemotesModal mainController.on 'ManageDatabases', -> new ManageDatabasesModal mainController.on 'AccountChanged', @bound 'accoun...
class SidebarController extends KDViewController constructor:-> super mainController = KD.getSingleton 'mainController' mainController.on 'ManageRemotes', -> new ManageRemotesModal mainController.on 'ManageDatabases', -> new ManageDatabasesModal mainController.on 'AccountChanged', @bound 'accoun...
Fix the logic in SidebarController which triggers the FinderController reset to auto-mount vms
Fix the logic in SidebarController which triggers the FinderController reset to auto-mount vms
CoffeeScript
agpl-3.0
szkl/koding,usirin/koding,sinan/koding,sinan/koding,cihangir/koding,cihangir/koding,szkl/koding,gokmen/koding,gokmen/koding,gokmen/koding,andrewjcasal/koding,rjeczalik/koding,koding/koding,andrewjcasal/koding,drewsetski/koding,koding/koding,acbodine/koding,sinan/koding,acbodine/koding,sinan/koding,gokmen/koding,koding/...
92ceb441520096c6a2eec4aea1ae1f35588e1732
src/app/config/restangular.coffee
src/app/config/restangular.coffee
`// @ngInject` angular.module('cobudget').config (RestangularProvider, config) -> RestangularProvider.setBaseUrl(config.apiEndpoint) RestangularProvider.setDefaultHttpFields withCredentials: true RestangularProvider.setDefaultHeaders Accept: "application/json" RestangularProvider.setResponseInterceptor...
`// @ngInject` angular.module('cobudget').config (RestangularProvider, config) -> RestangularProvider.setBaseUrl(config.apiEndpoint) RestangularProvider.setDefaultHttpFields withCredentials: true RestangularProvider.setDefaultHeaders Accept: "application/json" RestangularProvider.setResponseInterceptor...
Add root node to POST contributions/
Add root node to POST contributions/
CoffeeScript
agpl-3.0
cobudget/cobudget-ui,cobudget/cobudget-ui,data-doge/co-pay-ui,euglazer/co-pay-ui,data-doge/co-pay-ui,euglazer/co-pay-ui
c506759ccc54baa3db5b8ba78722bae711fde81b
brunch-config.coffee
brunch-config.coffee
exports.config = files: javascripts: joinTo: 'js/app.js': /^(vendor|bower_components|app)/ stylesheets: joinTo: 'css/app.css' templates: joinTo: 'js/app.js' plugins: handlebars: include: enabled: false
exports.config = files: javascripts: joinTo: 'js/app.js': /^(bower_components|vendor|app)/ stylesheets: joinTo: 'css/app.css': /^(bower_components|vendor|app)/ order: before: ['bower_components/normalize-css/normalize.css'] templates: joinTo: 'js/app.js' ...
Add normalize.css before other css files.
Add normalize.css before other css files.
CoffeeScript
agpl-3.0
jessamynsmith/boards-web,GetBlimp/boards-web,jessamynsmith/boards-web
04abf9883323972a7a7cbd940c3cea51a8b9b1cd
subject-metadata.coffee
subject-metadata.coffee
Controller = require 'zooniverse/controllers/base-controller' Api = require 'zooniverse/lib/api' class SubjectMetadata extends Controller template: (context) -> " <p class='subject-metadata'><b>Volume:</b> #{context.metadata?.volume} <b>Year:</b> #{context.metadata?.year} <b>Page:</b> #{context.metadata...
Controller = require 'zooniverse/controllers/base-controller' Api = require 'zooniverse/lib/api' class SubjectMetadata extends Controller template: (context) -> " <p class='subject-metadata'><b>Volume:</b> #{context.metadata?.volume} <b>Year:</b> #{context.metadata?.year} <b>Page:</b> #{context.metadata...
Add a more prominent link to the original journal
Add a more prominent link to the original journal
CoffeeScript
apache-2.0
zooniverse/BHL
c2cf2832453d1572d242429c4365fa0fc1a4af54
app/assets/javascripts/activate_chosen.js.coffee
app/assets/javascripts/activate_chosen.js.coffee
class window.ChosenActivator @activate: -> $(".js--chosen").not(".optional").chosen() $(".js--chosen.optional").chosen(allow_single_deselect: true) $ -> ChosenActivator.activate() AjaxModal.on_show -> # Give the browser just enough time to set the width of the select before # activating Chosen. ...
class window.ChosenActivator @activate: -> $(".js--chosen").not(".optional").chosen() $(".js--chosen.optional").chosen(allow_single_deselect: true) $ -> ChosenActivator.activate() AjaxModal.on_show -> # Give the browser just enough time to set the width of the select before # activating Chosen. ...
Increase timeout before loading chosen
Increase timeout before loading chosen See #967. That still wasn't enough time.
CoffeeScript
mit
tablexi/nucore-open,tablexi/nucore-open,tablexi/nucore-open,tablexi/nucore-open
5d28dcee748948a3b6596ac16364a8d88254dd39
client/app/lib/useritem.coffee
client/app/lib/useritem.coffee
kd = require 'kd' KDListItemView = kd.ListItemView KDCustomHTMLView = kd.CustomHTMLView AvatarView = require 'app/commonviews/avatarviews/avatarview' module.exports = class UserItem extends KDListItemView constructor: (options = {}, data) -> options.type = 'user' options.justFirstName ?= yes ...
kd = require 'kd' AvatarView = require 'app/commonviews/avatarviews/avatarview' KDLoaderView = kd.LoaderView KDListItemView = kd.ListItemView KDCustomHTMLView = kd.CustomHTMLView module.exports = class UserItem extends KDListItemView constructor: (options = {}, data) -> options.type ...
Add loader and a method to deal with it.
UserItem: Add loader and a method to deal with it.
CoffeeScript
agpl-3.0
andrewjcasal/koding,koding/koding,szkl/koding,acbodine/koding,cihangir/koding,andrewjcasal/koding,drewsetski/koding,sinan/koding,usirin/koding,gokmen/koding,sinan/koding,gokmen/koding,koding/koding,gokmen/koding,mertaytore/koding,szkl/koding,alex-ionochkin/koding,alex-ionochkin/koding,kwagdy/koding-1,usirin/koding,jack...
0dcd20b2a7cdab24a4f972dd3b4ca52ee5b87e98
client/lib/cordova/push.coffee
client/lib/cordova/push.coffee
if Meteor.isCordova if RocketChat.settings.get('Push_enable') is true Push.Configure {} Push.addListener 'token', (token) -> Meteor.call 'log', 'token', arguments Push.addListener 'error', (err) -> Meteor.call 'log', 'error', arguments if error.type == 'apn.cordova' Meteor.call 'log', err.error ...
if Meteor.isCordova Tracker.autorun -> if RocketChat.settings.get('Push_enable') is true Push.Configure {} Push.addListener 'token', (token) -> Meteor.call 'log', 'token', arguments Push.addListener 'error', (err) -> Meteor.call 'log', 'error', arguments if error.type == 'apn.cordova' Met...
Put Push config inside an autorun
Put Push config inside an autorun
CoffeeScript
mit
mwharrison/Rocket.Chat,katopz/Rocket.Chat,subesokun/Rocket.Chat,HeapCity/Heap.City,tlongren/Rocket.Chat,mrsimpson/Rocket.Chat,soonahn/Rocket.Chat,nabiltntn/Rocket.Chat,amaapp/ama,OtkurBiz/Rocket.Chat,JamesHGreen/Rocket_API,jeann2013/Rocket.Chat,adamteece/Rocket.Chat,ZBoxApp/Rocket.Chat,snaiperskaya96/Rocket.Chat,j-ew-s...
14ae6ffb05bcd68dbbe07f093a8ce1a20b12004d
app/application.coffee
app/application.coffee
'use strict' App = items: [ {name: 'Learn Brunch', check: true} {name: 'Find a way to automate tests', check: true} {name: 'Apply to my projects', check: false} # '...' {name: 'Profit!', check: false} ] init: -> tmpl = require 'views/list' html = tmpl items: App.items document.get...
'use strict' App = items: [ {name: 'Learn Brunch', check: true} {name: 'Find a way to automate tests', check: true} {name: 'Apply to my projects', check: false} # '...' {name: 'Profit!', check: false} ] init: -> tmpl = require 'views/list' html = tmpl items: App.items document.bod...
Refactor my own knowledge on vanilla DOM manipulation
Refactor my own knowledge on vanilla DOM manipulation Gosh I didn't remember we could just use document.body instead of document.getElementsByTagName('body')[0]! -_-'
CoffeeScript
apache-2.0
IngloriousCoderz/inglorious-brunch,IngloriousCoderz/inglorious-brunch
61b29abd62b381fb600f2d6f83cf57ae1c540c5b
app/assets/javascripts/models/data/project.js.coffee
app/assets/javascripts/models/data/project.js.coffee
ns = @edsc.models.data ns.Project = do (ko) -> class Project constructor: -> @datasets = ko.observableArray() toggleDataset: (dataset) => datasets = @datasets if datasets.contains(dataset) datasets.remove(dataset) else datasets.push(dataset) exports = Project
ns = @edsc.models.data ns.Project = do (ko) -> class Project constructor: -> @datasets = ko.observableArray() toggleDataset: (dataset) => datasets = @datasets if datasets.contains(dataset) datasets.remove(dataset) else datasets.push(dataset) hasDataset: (other) ...
Fix issue where clearing filters would reset in-project status
Fix issue where clearing filters would reset in-project status
CoffeeScript
apache-2.0
bilts/earthdata-search,bilts/earthdata-search,mightynimble/earthdata-search,mightynimble/earthdata-search,bilts/earthdata-search,mightynimble/earthdata-search,mightynimble/earthdata-search,bilts/earthdata-search
b661a9e68bcdd23bd16c9e7b063b9ce536ff6a69
bokehjs/src/coffee/models/widgets/abstract_button.coffee
bokehjs/src/coffee/models/widgets/abstract_button.coffee
_ = require "underscore" Widget = require "./widget" p = require "../../core/properties" class AbstractButton extends Widget.Model type: "AbstractButton" @define { callback: [ p.Instance ] label: [ p.String, "Button" ] icon: [ p.String ] button_type: [...
_ = require "underscore" Widget = require "./widget" p = require "../../core/properties" class AbstractButton extends Widget.Model type: "AbstractButton" @define { callback: [ p.Instance ] label: [ p.String, "Button" ] icon: [ p.Instance ] button_type: [...
Change AbstractButton.icon's type to Instance in bokehjs
Change AbstractButton.icon's type to Instance in bokehjs
CoffeeScript
bsd-3-clause
azjps/bokeh,jakirkham/bokeh,dennisobrien/bokeh,Karel-van-de-Plassche/bokeh,schoolie/bokeh,stonebig/bokeh,aavanian/bokeh,timsnyder/bokeh,DuCorey/bokeh,KasperPRasmussen/bokeh,rs2/bokeh,justacec/bokeh,aiguofer/bokeh,jakirkham/bokeh,philippjfr/bokeh,ericmjl/bokeh,KasperPRasmussen/bokeh,philippjfr/bokeh,mindriot101/bokeh,de...
0c4df6f8d47c82c0607d90216a4dda44a70a952d
bokehjs/src/coffee/tool/actions/preview_save_tool.coffee
bokehjs/src/coffee/tool/actions/preview_save_tool.coffee
_ = require "underscore" $ = require "jquery" $1 = require "bootstrap/modal" ActionTool = require "./action_tool" preview_save_tool_template = require "./preview_save_tool_template" class PreviewSaveToolView extends ActionTool.View className: "bk-bs-modal" template: preview_save_tool_template initialize: (optio...
_ = require "underscore" $ = require "jquery" $1 = require "bootstrap/modal" ActionTool = require "./action_tool" preview_save_tool_template = require "./preview_save_tool_template" class PreviewSaveToolView extends ActionTool.View className: "bk-bs-modal" template: preview_save_tool_template initialize: (optio...
Use appropriate icon name in PreviewSaveTool
Use appropriate icon name in PreviewSaveTool
CoffeeScript
bsd-3-clause
rs2/bokeh,bokeh/bokeh,azjps/bokeh,schoolie/bokeh,msarahan/bokeh,philippjfr/bokeh,aiguofer/bokeh,phobson/bokeh,ericmjl/bokeh,Karel-van-de-Plassche/bokeh,justacec/bokeh,schoolie/bokeh,quasiben/bokeh,clairetang6/bokeh,KasperPRasmussen/bokeh,aiguofer/bokeh,percyfal/bokeh,timsnyder/bokeh,ptitjano/bokeh,percyfal/bokeh,claire...
a9c9e9af0cf7849de37b0dd5890da19c3ba9fee4
core/app/backbone/contrib/default_click_handler.coffee
core/app/backbone/contrib/default_click_handler.coffee
# Add a default clickhandler so we can use hrefs Backbone.View::defaultClickHandler = (e, routeTo=null) -> routeTo ||= $(e.target).closest("a").attr("href") # Return if a modifier key is pressed or when Backbone has not properly been initialized # Make sure we return "true" so other functions can determine what ...
# Add a default clickhandler so we can use hrefs Backbone.View::defaultClickHandler = (e, routeTo=null) -> routeTo ||= $(e.target).closest("a").attr("href") # Return if a modifier key is pressed or when Backbone has not properly been initialized # Make sure we return "true" so other functions can determine what ...
Handle backbone links in the modal on the site properly
Handle backbone links in the modal on the site properly
CoffeeScript
mit
Factlink/factlink-core,daukantas/factlink-core,daukantas/factlink-core,Factlink/factlink-core,Factlink/factlink-core,daukantas/factlink-core,Factlink/factlink-core,daukantas/factlink-core
a3a21085260a3af6da85b3e03386c8ea3790b80a
services/web/app/coffee/Features/SudoMode/SudoModeHandler.coffee
services/web/app/coffee/Features/SudoMode/SudoModeHandler.coffee
RedisWrapper = require('../../infrastructure/RedisWrapper') rclient = RedisWrapper.client('sudomode') logger = require('logger-sharelatex') TIMEOUT_IN_SECONDS = 60 * 10 module.exports = SudoModeHandler = _buildKey: (userId) -> "SudoMode:{#{userId}}" activateSudoMode: (userId, callback=(err)->) -> if !userId...
RedisWrapper = require('../../infrastructure/RedisWrapper') rclient = RedisWrapper.client('sudomode') logger = require('logger-sharelatex') TIMEOUT_IN_SECONDS = 60 * 60 module.exports = SudoModeHandler = _buildKey: (userId) -> "SudoMode:{#{userId}}" activateSudoMode: (userId, callback=(err)->) -> if !userId...
Increase sudo-mode time to one hour
Increase sudo-mode time to one hour
CoffeeScript
agpl-3.0
sharelatex/sharelatex
0b92d96829d04475b8aa7aa1f45b4710d2e9aa7c
app/assets/javascripts/members.js.coffee
app/assets/javascripts/members.js.coffee
# Place all the behaviors and hooks related to the matching controller here. # All this logic will automatically be available in application.js. # You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ $ -> $('[data-toggle="tooltip"]').tooltip(placement: 'right') $('.datepicker').datepi...
# Place all the behaviors and hooks related to the matching controller here. # All this logic will automatically be available in application.js. # You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ $ -> $('[data-toggle="tooltip"]').tooltip(placement: 'right') $('.datepicker').datepi...
Improve date picker UX by defaulting to year first
Improve date picker UX by defaulting to year first
CoffeeScript
mit
theodi/member-directory,theodi/member-directory,theodi/member-directory
95650d391e04f6e56da8a82085e92ac5b0c8d4f2
scripts/xcode-server.coffee
scripts/xcode-server.coffee
# Description # Notifies based on the results of xcode builds and controls xcode builds # # Dependencies # None # # Configuration # None # # Commands: # hubot build <bot name> - Start a build for bot named <bot name> UNIMPLEMENTED # # Author: # bmnick url = require('url') querystring = require('querystring')...
# Description # Notifies based on the results of xcode builds and controls xcode builds # # Dependencies # None # # Configuration # None # # Commands: # hubot build <bot name> - Start a build for bot named <bot name> UNIMPLEMENTED # # Author: # bmnick url = require('url') querystring = require('querystring')...
Update copy for a more natural sentence
Update copy for a more natural sentence
CoffeeScript
mit
brandnetworks/our-product-slack-hubot