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
d5abdc9e8bc4e59891b9f574ceeae5868a146d69
atom/packages.cson
atom/packages.cson
packages: [ "advanced-open-file" "atom-beautify" "atom-elixir" "atom-elixir-formatter" "atom-react-native-autocomplete" "auto-indent" "auto-update-packages" "autocomplete-modules" "busy-signal" "color-picker" "elm-format" "elmjutsu" "emmet-simplified" "expand-region" "file-icons" "git-di...
packages: [ "advanced-open-file" "atom-beautify" "atom-elixir" "atom-elixir-formatter" "atom-react-native-autocomplete" "auto-indent" "auto-update-packages" "autocomplete-modules" "busy-signal" "color-picker" "elm-format" "elmjutsu" "emmet-simplified" "expand-region" "file-icons" "git-di...
Remove ramda-repl - no longer used
Remove ramda-repl - no longer used
CoffeeScript
mit
randycoulman/dotfiles
4df62d968d9ad1f8b2f364e958d264cf469aa7ad
common/lib/xmodule/xmodule/js/spec/combinedopenended/display_spec.coffee
common/lib/xmodule/xmodule/js/spec/combinedopenended/display_spec.coffee
xdescribe 'CombinedOpenEnded', -> beforeEach -> spyOn Logger, 'log' # load up some fixtures loadFixtures 'combined-open-ended.html' @element = $('.combined-open-ended') describe 'constructor', -> beforeEach -> @combined = new CombinedOpenEnded @element it 'set the element', -...
describe 'CombinedOpenEnded', -> beforeEach -> spyOn Logger, 'log' # load up some fixtures loadFixtures 'combined-open-ended.html' @element = $('.combined-open-ended') describe 'constructor', -> beforeEach -> @combined = new CombinedOpenEnded @element it 'set the element', -> e...
Fix up new jasmine tests
Fix up new jasmine tests
CoffeeScript
agpl-3.0
rue89-tech/edx-platform,jamesblunt/edx-platform,pepeportela/edx-platform,peterm-itr/edx-platform,andyzsf/edx,gsehub/edx-platform,mushtaqak/edx-platform,dsajkl/reqiop,synergeticsedx/deployment-wipro,nttks/edx-platform,antoviaque/edx-platform,jjmiranda/edx-platform,Softmotions/edx-platform,zubair-arbi/edx-platform,mcgach...
33225f3fcb4833b401884186dfd7e4aea93d4f52
app/assets/javascripts/custom.coffee
app/assets/javascripts/custom.coffee
$(document).on "turbolinks:load", -> $('div.calendar').calendar() $('.calendar_range_start').calendar endCalendar: $('.calendar_range_end') $('.calendar_range_end').calendar startCalendar: $('.calendar_range_start') $('.ui.accordion').accordion() $('.ui.dropdown').dropdown action: 'hide' $('#...
$(document).on "turbolinks:load", -> $('div.calendar').calendar() $('.calendar_range_start').calendar endCalendar: $('.calendar_range_end') $('.calendar_range_end').calendar startCalendar: $('.calendar_range_start') $('.ui.accordion').accordion() $('.ui.dropdown').dropdown action: 'hide' $('#...
Add tooltip with title and description
Add tooltip with title and description
CoffeeScript
mit
freakuency/agile-team-dashboard,freakuency/agile-team-dashboard,freakuency/agile-team-dashboard,freakuency/agile-team-dashboard
3691df227af01f891d02dbd1d4fd281cff6abe74
src/brave-mouse/validate.coffee
src/brave-mouse/validate.coffee
fs = require 'fs' editorconfig = require 'editorconfig' detectIndent = require 'detect-indent' module.exports = (filePath, callback) -> editorconfig.parse(filePath) .then (editorconfigProperties) -> result = {} fs.readFile filePath, 'utf8', (err, fileContents) -> return callback err if err indentStyle =...
fs = require 'fs' editorconfig = require 'editorconfig' detectIndent = require 'detect-indent' module.exports = (filePath, callback) -> editorconfig.parse(filePath) .then (editorconfigProperties) -> result = {} fs.readFile filePath, 'utf8', (err, fileContents) -> return callback err if err indentStyle =...
Fix incorrect results if detect-indent detects no indentation
Fix incorrect results if detect-indent detects no indentation
CoffeeScript
bsd-2-clause
SonicHedgehog/brave-mouse
97990942a6762aaf4cef5c93b992f0189404b1d0
src/runner.coffee
src/runner.coffee
program = require 'commander' GitHubApi = require 'github' pkg = require './../package' Config = require './config' Commands = require './commands' Initializer = require './initializer' exports.run = -> program .version(pkg.version) .option('-c, --config [file]', 'specify .pending-pr f...
program = require 'commander' GitHubApi = require 'github' pkg = require './../package' Config = require './config' Commands = require './commands' Initializer = require './initializer' exports.run = -> program .version(pkg.version) .option('-c, --config [file]', 'specify .pending-pr f...
Add commands description to help
Add commands description to help
CoffeeScript
mit
banyan/pending-pr
60079da8c1dab18c5b4b9c870935ea7f5fdf48e5
app/assets/javascripts/neighborly/projects/backers/edit.js.coffee
app/assets/javascripts/neighborly/projects/backers/edit.js.coffee
Neighborly.Projects = {} if Neighborly.Projects is undefined Neighborly.Projects.Backers = {} if Neighborly.Projects.Backers is undefined Neighborly.Projects.Backers.Edit = modules: -> [Neighborly.CustomTooltip] init: Backbone.View.extend el: '.create-backer-page' events: 'click .faqs a': 'openFaqTe...
Neighborly.Projects = {} if Neighborly.Projects is undefined Neighborly.Projects.Backers = {} if Neighborly.Projects.Backers is undefined Neighborly.Projects.Backers.Edit = modules: -> [Neighborly.CustomTooltip] init: Backbone.View.extend el: '.create-backer-page' events: 'click .faqs a': 'openFaqTe...
Add loading section to payment screen
Add loading section to payment screen
CoffeeScript
mit
jinutm/silverpro,jinutm/silvfinal,gustavoguichard/neighborly,gustavoguichard/neighborly,gustavoguichard/neighborly,jinutm/silverme,jinutm/silveralms.com,jinutm/silvfinal,jinutm/silverpro,jinutm/silverprod,MicroPasts/micropasts-crowdfunding,rockkhuya/taydantay,rockkhuya/taydantay,jinutm/silverme,rockkhuya/taydantay,jinu...
a91f1f67bfe64f5ecf153779b565196bb296d365
src/spec/integration.spec.coffee
src/spec/integration.spec.coffee
_ = require 'underscore' Mapping = require '../lib/mapping' SphereClient = require 'sphere-node-client' Config = require '../config' fs = require 'fs' jasmine.getEnv().defaultTimeoutInterval = 10000 describe 'integration tests', -> beforeEach -> @sphere = new SphereClient Config @mapping = new Mapping Confi...
_ = require 'underscore' Mapping = require '../lib/mapping' SphereClient = require 'sphere-node-client' Config = require '../config' fs = require 'fs' jasmine.getEnv().defaultTimeoutInterval = 10000 describe 'integration tests', -> beforeEach -> @sphere = new SphereClient Config @mapping = new Mapping Confi...
Use done(error) instead using expect(..).
Use done(error) instead using expect(..).
CoffeeScript
mit
sphereio/sphere-order-export,sphereio/sphere-order-export,sphereio/sphere-order-export
7afd27370a8e51f8d366fbccf545aafc16d15a75
app/assets/javascripts/neighborly/modules/payment.js.coffee
app/assets/javascripts/neighborly/modules/payment.js.coffee
Neighborly.Payment = Backbone.View.extend el: '.payment' initialize: -> _.bindAll this, 'showContent' this.$('.methods input').click (e) => this.showContent(e) this.$('.methods input:first').click() showContent: (e)-> this.$('.payment-method-option').removeClass('selected') $(e.current...
Neighborly.Payment = Backbone.View.extend el: '.payment' initialize: -> _.bindAll this, 'showContent' this.$('.methods input').click (e) => this.showContent(e) this.$('.methods input:first').click() showContent: (e)-> this.$('.payment-method-option').removeClass('selected') $(e.current...
Add JS affix to order summary
Add JS affix to order summary
CoffeeScript
mit
gustavoguichard/neighborly,gustavoguichard/neighborly,gustavoguichard/neighborly
410e46f019909397abf594bcebb3b27c12d6643f
lib/minimap-selection-view.coffee
lib/minimap-selection-view.coffee
{CompositeDisposable} = require 'event-kit' module.exports = class MinimapSelectionView decorations: [] constructor: (@minimap) -> editor = @minimap.getTextEditor() @subscriptions = new CompositeDisposable @subscriptions.add editor.onDidAddCursor @handleSelection @subscriptions.add editor.onDidC...
{CompositeDisposable} = require 'event-kit' module.exports = class MinimapSelectionView decorations: [] constructor: (@minimap) -> editor = @minimap.getTextEditor() @subscriptions = new CompositeDisposable @subscriptions.add editor.onDidAddCursor @handleSelection @subscriptions.add editor.onDidC...
Fix potential infinite loop when an editor has no selection
:bug: Fix potential infinite loop when an editor has no selection Fixes #6
CoffeeScript
mit
atom-minimap/minimap-selection
bca0b1f0dc9217ebda2a7b1ae8d717762ce089da
src/processors/maxRetries.processor.coffee
src/processors/maxRetries.processor.coffee
module.exports = class MaxRetriesProcessor constructor: ({ @processor, @maxRetries = 3 }) -> process: (notification, context) -> @processor notification, context .tap (it) => @_onSuccess_ notification, it .catch (err) => throw @_sanitizeError_ err if @_shouldRetry_ notification, ...
module.exports = class MaxRetriesProcessor constructor: ({ @processor, @maxRetries = 3 }) -> process: (notification, context) -> @processor notification, context .tap (it) => @_onSuccess_ notification, it .catch (err) => throw @_sanitizeError_ err if @_shouldRetry_ notification, ...
Add default 0 for dequeueCount on _shouldRetry_
Add default 0 for dequeueCount on _shouldRetry_
CoffeeScript
mit
Parsimotion/notification-processor,Parsimotion/notification-processor
fa5d6e56de575458d8da4180b72f63ea5688b934
app/assets/javascripts/controllers/product_detail_controller.coffee
app/assets/javascripts/controllers/product_detail_controller.coffee
angular.module('kassa').controller('ProductDetailCtrl', [ '$scope' 'ProductService' ($scope, Product)-> STATE_FAILED = 0 STATE_SAVED = 1 STATE_SAVING = 2 originalProduct = null equal = angular.equals changed = (product)-> !equal(originalProduct, product) cancel = -> #copy to pr...
angular.module('kassa').controller('ProductDetailCtrl', [ '$scope' 'ProductService' ($scope, Product)-> STATE_FAILED = 0 STATE_SAVED = 1 STATE_SAVING = 2 originalProduct = null equal = angular.equals changed = (product)-> !equal(originalProduct, product) cancel = -> #copy to pr...
Remove console.logs from product detail controller
Remove console.logs from product detail controller
CoffeeScript
mit
flipflops/kassa,flipflops/kassa
e6734f643e4159efcf85394d4f767e7324074022
server/models/user.coffee
server/models/user.coffee
bcrypt = require 'bcrypt' crypto = require 'crypto' mongoose = require 'mongoose' db = require '../lib/database' Schema = mongoose.Schema userSchema = new Schema name: type: String required: true email: type: String required: true lowercase: true trim: true unique: true password: ...
bcrypt = require 'bcrypt' crypto = require 'crypto' mongoose = require 'mongoose' uniqueValidator = require 'mongoose-unique-validator' db = require '../lib/database' Schema = mongoose.Schema userSchema = new Schema name: type: String required: true email: type: String required: true lowerca...
Validate email uniqueness and password
Validate email uniqueness and password
CoffeeScript
agpl-3.0
dut3062796s/buckets,edolyne/buckets,mamute/buckets,asm-products/buckets,nishant8BITS/buckets,dut3062796s/buckets,artelse/buckets,mamute/buckets,bucketsio/buckets,mikesmithmsm/buckets,edolyne/hive,edolyne/hive,artelse/buckets,bucketsio/buckets,edolyne/buckets,asm-products/buckets,mikesmithmsm/buckets,nishant8BITS/bucket...
40f1ba8cf891c8922fdc6b3b39e59dea08b033ca
src/components/learning-guide/info-link.cjsx
src/components/learning-guide/info-link.cjsx
React = require 'react' BS = require 'react-bootstrap' MESSAGES = { student: [ <p key='s1'>Tutor shows your weakest topics so you can practice to improve.</p> <p key='s2'>Try to get all of your topics to green!</p> ] teacher: [ <p key='t1'>Tutor shows the weakest topics for each period.</p> ...
React = require 'react' BS = require 'react-bootstrap' MESSAGES = { student: [ <p key='s1'>Tutor shows your weakest topics so you can practice to improve.</p> <p key='s2'>Try to get all of your topics to green!</p> ] teacher: [ <p key='t1'>Tutor shows the weakest topics for each period.</p> ...
Validate only known types are set as props
Validate only known types are set as props
CoffeeScript
agpl-3.0
openstax/tutor-js,openstax/tutor-js,openstax/tutor-js,openstax/tutor-js,openstax/tutor-js
1ee41cce396aaadce8ffa919db94c97160ea6842
src/desktop/apps/home/queries/initial.coffee
src/desktop/apps/home/queries/initial.coffee
module.exports = """ query($showHeroUnits: Boolean!) { home_page { artwork_modules( max_rails: 6, order: [ ACTIVE_BIDS, RECOMMENDED_WORKS, FOLLOWED_ARTISTS, RELATED_ARTISTS, FOLLOWED_GALLERIES, SAVED_WORKS, LIVE_AUCTIONS, ...
module.exports = """ query($showHeroUnits: Boolean!) { home_page { artwork_modules( max_rails: 7, order: [ ACTIVE_BIDS, RECENTLY_VIEWED_WORKS RECOMMENDED_WORKS, FOLLOWED_ARTISTS, RELATED_ARTISTS, FOLLOWED_GALLERIES, SAVED_...
Add support for recently viewed artwork rail on homepage
Add support for recently viewed artwork rail on homepage
CoffeeScript
mit
artsy/force-public,damassi/force,artsy/force,joeyAghion/force,xtina-starr/force,artsy/force,oxaudo/force,oxaudo/force,xtina-starr/force,izakp/force,eessex/force,cavvia/force-1,damassi/force,oxaudo/force,anandaroop/force,damassi/force,mzikherman/force,izakp/force,artsy/force-public,anandaroop/force,erikdstock/force,yuki...
217e4e5450379452769fac74766aeb473d212d61
src/rivets.coffee
src/rivets.coffee
# The Rivets namespace. Rivets = # Binder definitions, publicly accessible on `module.binders`. Can be # overridden globally or local to a `Rivets.View` instance. binders: {} # Component definitions, publicly accessible on `module.components`. Can be # overridden globally or local to a `Rivets.View` instance...
# The Rivets namespace. Rivets = # Binder definitions, publicly accessible on `module.binders`. Can be # overridden globally or local to a `Rivets.View` instance. binders: {} # Component definitions, publicly accessible on `module.components`. Can be # overridden globally or local to a `Rivets.View` instance...
Add default { template } delimiters.
Add default { template } delimiters.
CoffeeScript
mit
benderTheCrime/tiny-rivets,nopnop/rivets,mikeric/rivets,altmind/rivets,re-clone/rivets,kangax/rivets,nopnop/rivets,MishaMykhalyuk/rivets,jccazeaux/rivets,zongkelong/rivets,MishaMykhalyuk/rivets,QAPInt/rivets,jccazeaux/rivets,altmind/rivets,zongkelong/rivets,QAPInt/rivets,re-clone/rivets,altmind/rivets,MishaMykhalyuk/ri...
b402f92076e276705f927abaebc4810e2f75b1c6
client/landing/app/MainApp/fs/fsfolder.coffee
client/landing/app/MainApp/fs/fsfolder.coffee
class FSFolder extends FSFile fetchContents:(callback)-> # @emit "fs.fetchContents.started" # @kiteController.run # toDo : "ls" # withArgs : # command : @path # , (err, response)=> # if err # warn err # @emit "fs.fetchContents.finished", err # else ...
class FSFolder extends FSFile fetchContents:(callback)-> # @emit "fs.fetchContents.started" # @kiteController.run # toDo : "ls" # withArgs : # command : @path # , (err, response)=> # if err # warn err # @emit "fs.fetchContents.finished", err # else ...
Add -H option to fix broken symbolic links error
Add -H option to fix broken symbolic links error From man of ls -H provides: show information for the file the link references rather than for the link itself. So, when some broken links exists it adds the link to the tree with "Link -> Non-Exist" label.
CoffeeScript
agpl-3.0
drewsetski/koding,gokmen/koding,szkl/koding,szkl/koding,jack89129/koding,usirin/koding,sinan/koding,alex-ionochkin/koding,gokmen/koding,koding/koding,kwagdy/koding-1,acbodine/koding,jack89129/koding,cihangir/koding,drewsetski/koding,rjeczalik/koding,andrewjcasal/koding,szkl/koding,usirin/koding,gokmen/koding,kwagdy/kod...
03724ce6c0f32212963c528bce553c1f6ae46d81
spec/about-spec.coffee
spec/about-spec.coffee
About = require '../lib/about' {$} = require 'atom-space-pen-views' describe "About", -> workspaceElement = null beforeEach -> workspaceElement = atom.views.getView(atom.workspace) waitsForPromise -> atom.packages.activatePackage('about') describe "when the about:about-atom command is triggered"...
About = require '../lib/about' {$} = require 'atom-space-pen-views' describe "About", -> workspaceElement = null beforeEach -> workspaceElement = atom.views.getView(atom.workspace) waitsForPromise -> atom.packages.activatePackage('about') describe "when the about:about-atom command is triggered"...
Use atom.workspace.open() for specs to make them less flaky
Use atom.workspace.open() for specs to make them less flaky
CoffeeScript
mit
mnquintana/atom-about,atom/about
0c4845986cbd336ed982a2f266b7dd3d4285daab
lib/minimap-pigments-binding.coffee
lib/minimap-pigments-binding.coffee
{CompositeDisposable} = require 'atom' module.exports = class MinimapPigmentsBinding constructor: ({@editor, @minimap, @colorBuffer}) -> @displayedMarkers = [] @subscriptions = new CompositeDisposable @colorBuffer.initialize().then => @updateMarkers() @subscriptions.add @colorBuffer.onDidUpdateColo...
{CompositeDisposable} = require 'atom' module.exports = class MinimapPigmentsBinding constructor: ({@editor, @minimap, @colorBuffer}) -> @displayedMarkers = [] @subscriptions = new CompositeDisposable @colorBuffer.initialize().then => @updateMarkers() @subscriptions.add @colorBuffer.onDidUpdateColo...
Fix decorations not destroyed on deactivation
:bug: Fix decorations not destroyed on deactivation
CoffeeScript
mit
abe33/minimap-pigments
974bfa511d90ebde676109b70a5987eb3b00ee4c
settings/language-powershell.cson
settings/language-powershell.cson
# Much of the following is derived from: https://github.com/atom/language-csharp/blob/fba368a8397e298fa78679b4ee0a542b2474c150/scoped-properties/language-csharp.cson '.source.powershell': 'editor': 'commentStart': '# ' 'foldEndPattern': '^\\s*\\}|^\\s*\\]|^\\s*\\)' 'increaseIndentPattern': '(?x)\n\t\t^ .*...
# Much of the following is derived from: https://github.com/atom/language-csharp/blob/fba368a8397e298fa78679b4ee0a542b2474c150/scoped-properties/language-csharp.cson '.source.powershell': 'editor': 'commentStart': '# ' 'foldEndPattern': '^\\s*\\}|^\\s*\\]|^\\s*\\)' 'increaseIndentPattern': '(?x) ^ ....
Reformat the indent pattern regexes
Reformat the indent pattern regexes "regexes"?
CoffeeScript
mit
jugglingnutcase/language-powershell
a63916923b48d2c6cf93a492c3f260241da11e62
_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 if document.referrer.match /flatterline/i $('#intro .he...
resize = () -> screenWidth = $(window).width() + "px" screenHeight = $(window).height() + "px" $("#intro, #intro .item, #intro-video, #intro-video .item").css width: screenWidth height: screenHeight urlParam = (target) -> url = window.location.search.substring(1) params = url.split '&' for pa...
Use a URL parameter as well as the referrer
Use a URL parameter as well as the referrer
CoffeeScript
mit
velocity-labs/velocitylabs.io,velocity-labs/velocitylabs.io,velocity-labs/velocitylabs.io
ba8bd47a4bf7c744c4d22c9e8e08e2ff1213caf4
js-library/app/js/jail_iframe/initializers/scrollbarSuppressor.coffee
js-library/app/js/jail_iframe/initializers/scrollbarSuppressor.coffee
scrollbarWidth = 0 FactlinkJailRoot.loaded_promise.then -> # Create the measurement nod; see http://davidwalsh.name/detect-scrollbar-width scrollDiv = document.createElement("div"); $(scrollDiv).css( width: "100px" height: "100px" overflow: "scroll" position: "absolute" top: "-9999px" ) do...
scrollbarWidth = 0 FactlinkJailRoot.loaded_promise.then -> # Create the measurement nod; see http://davidwalsh.name/detect-scrollbar-width scrollDiv = document.createElement("div"); $(scrollDiv).css( width: "100px" height: "100px" overflow: "scroll" position: "absolute" top: "-9999px" ) do...
Change html margin when the sidebar opens to compensate for change in
Change html margin when the sidebar opens to compensate for change in
CoffeeScript
mit
daukantas/factlink-core,Factlink/factlink-core,daukantas/factlink-core,daukantas/factlink-core,daukantas/factlink-core,Factlink/factlink-core,Factlink/factlink-core,Factlink/factlink-core
ea790ab6f438d8acd8455c1250c81d4853c1fb16
config/atom_config.cson
config/atom_config.cson
"*": core: telemetryConsent: "limited" themes: [ "one-light-ui" "atom-light-syntax" ] editor: fontFamily: "Menlo" invisibles: {} softWrap: true "exception-reporting": userId: "0f9c4bca-c1e4-c885-1374-c2dd26290ade" "spell-check": {} tabs: addNewTabsAtEnd: true welc...
"*": core: telemetryConsent: "limited" editor: fontFamily: "Menlo" invisibles: {} softWrap: true "exception-reporting": userId: "0f9c4bca-c1e4-c885-1374-c2dd26290ade" "spell-check": {} tabs: addNewTabsAtEnd: true welcome: showOnStartup: false
Switch to Atom default theme
Switch to Atom default theme
CoffeeScript
mit
fredym/workenv
80d338e127b9468fca6743945cbd13110d25c12c
tapestry-core/src/main/coffeescript/META-INF/modules/core/zone.coffee
tapestry-core/src/main/coffeescript/META-INF/modules/core/zone.coffee
# Copyright 2012 The Apache Software Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http:#www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agre...
# Copyright 2012 The Apache Software Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http:#www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agre...
Add a bit of documentation
Add a bit of documentation
CoffeeScript
apache-2.0
apache/tapestry-5,apache/tapestry-5,apache/tapestry-5,apache/tapestry-5,apache/tapestry-5
5ae911f69071b264b94aff74316a94645b22573a
keymaps/linter.cson
keymaps/linter.cson
'atom-text-editor:not(.mini)': 'alt': 'linter:set-bubble-transparent'
'atom-text-editor:not(.mini)': 'alt': 'linter:set-bubble-transparent' 'alt-shift-.': 'linter:next-error'
Use alt-shift-. to jump to next error
:new: Use alt-shift-. to jump to next error
CoffeeScript
mit
Arcanemagus/linter,AsaAyers/linter,DanPurdy/linter,atom-community/linter,e-jigsaw/Linter,blakeembrey/linter,iam4x/linter,steelbrain/linter,JohnMurga/linter,AtomLinter/Linter,elkeis/linter,kaeluka/linter,UltCombo/linter,shawninder/linter,levity/linter,josa42/Linter,mdgriffith/linter
99612d948a7065911ed51485cd865ff570cfd6fb
collection-behaviours.coffee
collection-behaviours.coffee
behaviours = {} share.attach = attach = (behaviour, args...) -> check behaviour, Match.OneOf Function, String if Match.test behaviour, String options = behaviours[behaviour].options behaviour = behaviours[behaviour].behaviour if Match.test behaviour, Function context = collection: @ opt...
behaviours = {} share.attach = attach = (behaviour, args...) -> check behaviour, Match.OneOf Function, String if Match.test behaviour, String options = behaviours[behaviour].options behaviour = behaviours[behaviour].behaviour if Match.test behaviour, Function context = collection: @ opt...
Add config as alias for configure
Add config as alias for configure
CoffeeScript
mit
zimme/meteor-collection-behaviours
8db30020ae5802ca7fdad6e1196756addafc34da
libraries/metrics/event_loop.coffee
libraries/metrics/event_loop.coffee
seconds = 1000 module.exports = EventLoopMonitor = monitor: (logger) -> interval = setInterval () -> EventLoopMonitor.Delay() , 1 * seconds Metrics = require "./metrics" Metrics.registerDestructor () -> clearInterval(interval) Delay: () -> Metrics = require "./metrics" t1 = process.hrtime() setI...
module.exports = EventLoopMonitor = monitor: (logger, interval = 1000, log_threshold = 100) -> Metrics = require "./metrics" previous = Date.now() intervalId = setInterval () -> now = Date.now() offset = now - previous - interval if offset > log_threshold logger.warn {offset: offset}, "slow event...
Monitor event loop by looking for skew
Monitor event loop by looking for skew If we monitor with setImmediate, we miss big blocking loops. For example, suppose we have 1000 1ms loops then a single bad 1000ms loop. setImmediate will only be called at the right time 1/1000 of the time (it has to be the loop just before the bad one). So this monitoring method...
CoffeeScript
agpl-3.0
sharelatex/sharelatex
233c29710d2c2d5f19c56093fc145d28f24deb38
core/app/assets/javascripts/jquery_ujs_override.coffee
core/app/assets/javascripts/jquery_ujs_override.coffee
#This patches jquery_ujs, such that it grabs csrf token from localStorage #instead of from the meta tag. # Make sure that every Ajax request sends the CSRF token $.rails.CSRFProtection = (xhr) -> token = safeLocalStorage.factlink_csrf_token if token xhr.setRequestHeader('X-CSRF-Token', token) # making sure th...
#This patches jquery_ujs, such that it grabs csrf token from localStorage #instead of from the meta tag. updateRailsCsrfMetaTags = -> if !$('meta[name=csrf-token]').length $('<meta name="csrf-token">').appendTo(document.head) $('<meta name="csrf-param">').appendTo(document.head) $('meta[name=csrf-token]')....
Update meta tags instead of reimplementing ujs functionality
Update meta tags instead of reimplementing ujs functionality
CoffeeScript
mit
Factlink/factlink-core,daukantas/factlink-core,Factlink/factlink-core,daukantas/factlink-core,Factlink/factlink-core,Factlink/factlink-core,daukantas/factlink-core,daukantas/factlink-core
652032b1c151054f827978dfb965c8c08a94b4e6
app/views/admin/OutcomeReportResultView.coffee
app/views/admin/OutcomeReportResultView.coffee
utils = require 'core/utils' RootView = require 'views/core/RootView' module.exports = class OutcomesReportResultView extends RootView id: 'admin-outcomes-report-result-view' template: require 'templates/admin/outcome-report-result-view' events: 'click .back-btn': 'onClickBackButton' 'click .print-btn': ...
utils = require 'core/utils' RootView = require 'views/core/RootView' module.exports = class OutcomesReportResultView extends RootView id: 'admin-outcomes-report-result-view' template: require 'templates/admin/outcome-report-result-view' events: 'click .back-btn': 'onClickBackButton' 'click .print-btn': ...
Rearrange cs2/gd1/wd1 in outcomes report if progress seems out of order
Rearrange cs2/gd1/wd1 in outcomes report if progress seems out of order
CoffeeScript
mit
jeremiahyan/codecombat,javatlacati/codecombat,jeremiahyan/codecombat,icodegame/codecombat,Zerrien/codecombat,javatlacati/codecombat,icodegame/codecombat,javatlacati/codecombat,codecombat/codecombat,jeremiahyan/codecombat,fabichoi/codecombat,Zerrien/codecombat,jeremiahyan/codecombat,Zerrien/codecombat,Zerrien/codecombat...
bfe54251738fbb518e1c938b82b9a1cb7637138d
app/js/jail_iframe/util/create.coffee
app/js/jail_iframe/util/create.coffee
FactlinkJailRoot.createFactFromSelection = (current_user_opinion) -> success = -> FactlinkJailRoot.createButton.hide() FactlinkJailRoot.off 'modalOpened', success selInfo = text: window.document.getSelection().toString() title: window.document.title text = selInfo.text siteUrl = FactlinkJailRo...
FactlinkJailRoot.createFactFromSelection = (current_user_opinion) -> success = -> window.document.getSelection().removeAllRanges() FactlinkJailRoot.createButton.hide() FactlinkJailRoot.off 'modalOpened', success selInfo = text: window.document.getSelection().toString() title: window.document.ti...
Remove selection when added a discussion
Remove selection when added a discussion
CoffeeScript
mit
Factlink/js-library,Factlink/js-library,Factlink/js-library
2e80f10391275c9ce4e7dcb6907b044eea420a61
grammars/roff.cson
grammars/roff.cson
name: "Roff" scopeName: "source.roff" fileTypes: ["1"]
name: "Roff" scopeName: "source.roff" fileTypes: [ "1", "1b", "1c", "1has", "1in", "1m", "1s", "1x", "2", "3", "3avl", "3bsm", "3c", "3in", "3m", "3qt", "3x", "4", "5", "6", "7", "7d", "7fs", "7i", "7ipp", "7m", "7p", "8", "9", "9e", "9f", "9p", "9s", "chem", "eqn", "groff", "man", "mandoc", "mdoc", "me...
Extend list of supported file extensions
Extend list of supported file extensions Some manpages use a combination of their page numbers and group names in their file extensions (e.g., "config.5ssl"). We obviously can't cater to every possible alphanumeric permutation, so we've settled for using only the most common *roff file-extensions. Source: http://man7...
CoffeeScript
isc
Alhadis/language-roff,Alhadis/language-roff
fac494e9618b132ff27c417aebc6056eb3799f39
_coffee/person-list.coffee
_coffee/person-list.coffee
$(document).ready -> $('.person-headshot-actual').each -> # Centre headshots vertically in their containers container = $(this).parent() hAdjust = (($(this).height() - container.height()) / 2) * (2/3) $(this).css("top", -hAdjust)
$(document).ready -> $('.person-headshot-actual').each -> $('.person-headshot-actual').load -> # Centre headshots vertically in their containers container = $(this).parent() hAdjust = (($(this).height() - container.height()) / 2) * (2/3) $(this).css("top", -hAdjust)
Make image fixing happen on image load rather than document ready
Make image fixing happen on image load rather than document ready
CoffeeScript
mit
newtheatre/history-project,newtheatre/history-project,johnathan99j/history-project,newtheatre/history-project,newtheatre/history-project,newtheatre/history-project,johnathan99j/history-project,johnathan99j/history-project,johnathan99j/history-project,johnathan99j/history-project
e76f744b897e0c5aec5aadf8f9cc0bb8afa86840
scripts/moo.coffee
scripts/moo.coffee
# Description: # A cow's gonna be a cow. # # Commands: # hubot moo* - Reply w/ moo module.exports = (robot) -> robot.hear /\bmo{2,}\b/i, (msg) -> if msg.envelope.room == "1s_and_0s" robot.messageHipchat "MOOOOOOOOOOOOOOOOO" else if !msg.envelope.room msg.send "This incident will be re...
# Description: # A cow's gonna be a cow. # # Commands: # hubot moo* - Reply w/ moo module.exports = (robot) -> robot.hear /\bmo{2,}\b/i, (msg) -> if msg.envelope.room == "1s_and_0s" robot.messageHipchat "MOOOOOOOOOOOOOOOOO" else if !msg.envelope.room msg.send "This incident will be re...
Add extremely critical culture to the cow.
Add extremely critical culture to the cow. Auditors: alpert
CoffeeScript
mit
Khan/culture-cow,Khan/culture-cow
d57916739c2f615782021a8b1d3fdc7a9a4bf287
app.coffee
app.coffee
express = require 'express' stylus = require 'stylus' assets = require 'connect-assets' app = express.createServer() app.use assets() app.set 'view engine', 'jade' app.get '/', (req, resp) -> resp.render 'index' app.get '/:filename.:extension', (req, resp) -> content = req.param['content'] if (content and conten...
express = require 'express' stylus = require 'stylus' assets = require 'connect-assets' app = express.createServer() app.use assets() app.set 'view engine', 'jade' app.get '/', (req, resp) -> resp.render 'index' app.get '/:filename.:extension', (req, resp) -> content = req.param['content'] if (content and conten...
Improve how params and routes are looked up
Improve how params and routes are looked up
CoffeeScript
mit
joshmcarthur/savefile
cb3bb3830cddf03d614683a802cfb673059f8f2d
assets/scripts/app/routes/job.coffee
assets/scripts/app/routes/job.coffee
require 'routes/route' require 'models/job' TravisRoute = Travis.Route Route = TravisRoute.extend serialize: (model, params) -> id = if model.get then model.get('id') else model { job_id: id } setupController: (controller, model) -> if model && !model.get model = @store.recordForId('job', mode...
require 'routes/route' require 'models/job' TravisRoute = Travis.Route Route = TravisRoute.extend serialize: (model, params) -> id = if model.get then model.get('id') else model { job_id: id } setupController: (controller, model) -> if model && !model.get model = @store.recordForId('job', mode...
Make sure that we set record and not a promise on controller
Make sure that we set record and not a promise on controller
CoffeeScript
mit
2947721120/travis-web,2947721120/travis-web,Tiger66639/travis-web,mjlambert/travis-web,mjlambert/travis-web,mjlambert/travis-web,travis-ci/travis-web,travis-ci/travis-web,fotinakis/travis-web,2947721120/travis-web,fotinakis/travis-web,travis-ci/travis-web,jlrigau/travis-web,jlrigau/travis-web,fauxton/travis-web,fotinak...
f4489c4a2b52579d541a3dc64a00363fd2c7bf2c
app/assets/javascripts/components/posts.js.cjsx
app/assets/javascripts/components/posts.js.cjsx
# @cjsx React.DOM @Posts = React.createClass( getInitialState: -> { posts: [] } fetchPosts: -> $.get("/api/posts").done(@handleSuccess).fail(@handleError) handleSuccess: (response) -> @setState(posts: response.posts) handleError: -> alert("Could not load posts") componentWillMount: -> ...
# @cjsx React.DOM @Posts = React.createClass( getInitialState: -> { posts: [] } fetchPosts: -> $.get("/api/posts").done(@handleSuccess).fail(@handleError) handleSuccess: (response) -> @setState(posts: response.posts) handleError: -> alert("Could not load posts") componentWillMount: -> ...
Use deleted/dirty status for panel class
Use deleted/dirty status for panel class
CoffeeScript
mit
krasnoukhov/octodmin,krasnoukhov/octodmin
b8927f0bd9d34e56eecb6fbc7d1314fc509774f2
src/scripts/gangnam.coffee
src/scripts/gangnam.coffee
# Description: # Produces a random gangnam style gif # # Dependencies: # None # Configuration: # None # # Commands: # hubot oppa gangnam style - Return random gif from gifbin.com # # Author: # EnriqueVidal gifs = [ "http://i1.kym-cdn.com/photos/images/original/000/370/936/cb3.gif", "http://i3.kym-cdn.com...
# Description: # Produces a random gangnam style gif # # Dependencies: # None # Configuration: # None # # Commands: # hubot oppa gangnam style - Return random gif from gifbin.com # # Author: # EnriqueVidal gifs = [ "http://i1.kym-cdn.com/photos/images/original/000/370/936/cb3.gif", "http://i3.kym-cdn.com...
Change absolute path of line 17
Change absolute path of line 17
CoffeeScript
mit
ambikads/hubot-scripts,modulexcite/hubot-scripts,Tyriont/hubot-scripts,markstory/hubot-scripts,sklise/hubot-scripts,1000hz/hubot-scripts,davidsulpy/hubot-scripts,magicstone1412/hubot-scripts,jacobtomlinson/hubot-scripts,opentable/hubot-scripts,amhorton/hubot-scripts,wsoula/hubot-scripts,dyg2104/hubot-scripts,marksie531...
c406654e038686cd70c6f1015567c3991a0ef522
app/assets/javascripts/oxalis/view/settings/setting_views/slider_setting_view.coffee
app/assets/javascripts/oxalis/view/settings/setting_views/slider_setting_view.coffee
### define ./abstract_setting_view : AbstractSettingView underscore : _ ### class SliderSettingView extends AbstractSettingView className : "slider-setting-view row" template : _.template(""" <div class="col-sm-5"> <%= displayName %> </div> <div class="col-sm-3 no-gutter v-center"> <div...
### define ./abstract_setting_view : AbstractSettingView underscore : _ app : app ### class SliderSettingView extends AbstractSettingView className : "slider-setting-view row" template : _.template(""" <div class="col-sm-5"> <%= displayName %> </div> <div class="col-sm-3 no-gutter v-center"> ...
Update user setting values while the slider is changed, then redraw scene
Update user setting values while the slider is changed, then redraw scene
CoffeeScript
agpl-3.0
scalableminds/webknossos,scalableminds/webknossos,scalableminds/webknossos,scalableminds/webknossos,scalableminds/webknossos,scalableminds/webknossos
fe086ea0823187fd56d61cebb4edbe11e814fc2f
app/assets/javascripts/utils.js.coffee
app/assets/javascripts/utils.js.coffee
window.Tahi ||= {} Tahi.utils = toCamel: (string) -> string.replace /(\-[a-z])/g, ($1) -> $1.toUpperCase().replace "-", "" windowHistory: -> window.history bindColumnResize: -> $(window).off('resize.columns').on 'resize.columns', => @resizeColumnHeaders() resizeColumnHeaders: -> $...
window.Tahi ||= {} Tahi.utils = toCamel: (string) -> string.replace /(\-[a-z])/g, ($1) -> $1.toUpperCase().replace "-", "" windowHistory: -> window.history bindColumnResize: -> $(window).off('resize.columns').on 'resize.columns', => @resizeColumnHeaders() resizeColumnHeaders: -> $...
Add little aaron’s console debugging in test
Add little aaron’s console debugging in test
CoffeeScript
mit
johan--/tahi,johan--/tahi,johan--/tahi,johan--/tahi
4a84866d944d8d1ff9369423d37089f5a7bd3478
spec/NoFlo.coffee
spec/NoFlo.coffee
if typeof process isnt 'undefined' and process.execPath and process.execPath.match /node|iojs/ chai = require 'chai' unless chai noflo = require '../src/lib/NoFlo.coffee' browser = false else noflo = require 'noflo' browser = true describe 'NoFlo interface', -> it 'should be able to tell whether it is runn...
if typeof process isnt 'undefined' and process.execPath and process.execPath.match /node|iojs/ chai = require 'chai' unless chai noflo = require '../src/lib/NoFlo.coffee' path = require('path') browser = false else noflo = require 'noflo' browser = true describe 'NoFlo interface', -> it 'should be able t...
Add tests for graph saving and loading
Add tests for graph saving and loading
CoffeeScript
mit
noflo/noflo
f7a6f0a38eef58379604817013941282ae156184
src/loader.coffee
src/loader.coffee
### Analytics Payload Loader This is the `analytics.js` file that loads the actual Analytics payload. It utilizes the Friendly iFrames (FiF) technique in order to load the JavaScript library without blocking the `window.onload` event. @see http://goo.gl/VLDc3F More information on FiF technique ### ((url)-> # Sectio...
### Analytics Payload Loader This is the `analytics.js` file that loads the actual Analytics payload. It utilizes the Friendly iFrames (FiF) technique in order to load the JavaScript library without blocking the `window.onload` event. @see http://goo.gl/VLDc3F More information on FiF technique ### ((url)-> # Sectio...
Append (friendly) iframe to body if possible
Append (friendly) iframe to body if possible
CoffeeScript
mit
skroutz/analytics.js,skroutz/analytics.js,skroutz/analytics.js
0fa7c8e7356e491141eb10bac762c59176397106
lib/layervault/organization.coffee
lib/layervault/organization.coffee
module.exports = class Organization constructor: (org, @api) -> @orgName = if typeof org is "object" then org.name else org node: (path, cb) -> @api.get @apiPath(path), {}, cb apiPath: (path) -> "/#{encodeURIComponent(@orgName)}/#{path}"
module.exports = class Organization constructor: (org, @api) -> @orgName = if typeof org is "object" then org.name else org node: (path, cb) -> @api.get @apiPath(path), {}, cb apiPath: (path) -> path = path.path || path.name if typeof path is "object" "/#{encodeURIComponent(@orgName)}/#{path}"
Make node path even smarter
Make node path even smarter
CoffeeScript
mit
layervault/layervault_js_client
005f74451fe8380538c63816bcd60cb0b026c6a0
workers/social/lib/social/models/sharedmachine.coffee
workers/social/lib/social/models/sharedmachine.coffee
bongo = require 'bongo' {secure} = bongo JMachine = require './computeproviders/machine' module.exports = class SharedMachine extends bongo.Base @share() @add = secure (client, uid, target, callback) -> asUser = yes options = {target, asUser} setUsers client, uid, options, callback setUsers...
bongo = require 'bongo' {secure} = bongo JMachine = require './computeproviders/machine' module.exports = class SharedMachine extends bongo.Base @share() @add = secure (client, uid, target, callback) -> asUser = yes options = {target, asUser} setUsers client, uid, options, callback @kick = ...
Define shared machine user kick method
Define shared machine user kick method
CoffeeScript
agpl-3.0
acbodine/koding,cihangir/koding,koding/koding,usirin/koding,drewsetski/koding,jack89129/koding,koding/koding,sinan/koding,szkl/koding,drewsetski/koding,usirin/koding,alex-ionochkin/koding,koding/koding,andrewjcasal/koding,szkl/koding,kwagdy/koding-1,andrewjcasal/koding,drewsetski/koding,gokmen/koding,szkl/koding,rjecza...
41679e40afb7e5e0c76c5c891e426cbdeae5b1ab
.atom/default-config.coffee
.atom/default-config.coffee
requireExtension 'autocomplete' requireExtension 'strip-trailing-whitespace' requireExtension 'fuzzy-finder' requireExtension 'tree-view' requireExtension 'command-panel' requireExtension 'keybindings-view' requireExtension 'snippets' requireExtension 'status-bar' requireExtension 'wrap-guide' requireExtension 'markdow...
requireExtension 'event-palette' requireExtension 'autocomplete' requireExtension 'strip-trailing-whitespace' requireExtension 'fuzzy-finder' requireExtension 'tree-view' requireExtension 'command-panel' requireExtension 'keybindings-view' requireExtension 'snippets' requireExtension 'status-bar' requireExtension 'wrap...
Load event-palette extension in defaultConfig
Load event-palette extension in defaultConfig
CoffeeScript
mit
Austen-G/BlockBuilder,devmario/atom,vinodpanicker/atom,palita01/atom,sekcheong/atom,ReddTea/atom,kc8wxm/atom,hagb4rd/atom,kandros/atom,niklabh/atom,wiggzz/atom,ironbox360/atom,ObviouslyGreen/atom,gisenberg/atom,bradgearon/atom,chfritz/atom,erikhakansson/atom,mrodalgaard/atom,abcP9110/atom,scv119/atom,einarmagnus/atom,o...
42170ebd2fd07f05bd39899839352b7b8ec43688
lib/config-schema.coffee
lib/config-schema.coffee
module.exports = enableShellEscape: type: 'boolean' default: false moveResultToSourceDirectory: description: 'Ensures that the output file produced by a successful build is stored together with the TeX document that produced it.' type: 'boolean' default: true openResultAfterBuild: ty...
module.exports = customEngine: description: 'Enter command for custom LaTeX engine. Overrides Engine.' type: 'string' default: '' enableShellEscape: type: 'boolean' default: false engine: description: 'Select standard LaTeX engine' type: 'string' default: 'pdflatex' enum: ['p...
Improve readability of config schema
:art: Improve readability of config schema
CoffeeScript
mit
thomasjo/atom-latex,thomasjo/atom-latex,thomasjo/atom-latex,WoodyWoodsta/atom-latex,WoodyWoodsta/atom-latex
511893c881059cdb3365c0e834820855475b25e4
assets/javascripts/models.js.coffee
assets/javascripts/models.js.coffee
App.User = DS.Model.extend firstName: DS.attr("string") lastName: DS.attr("string") email: DS.attr("string") role: DS.attr("string") App.CurrentUser = App.User.extend({}) App.Room = DS.Model.extend name: DS.attr("string") App.Message = DS.Model.extend body: DS.attr("string") type: DS.attr("strin...
App.User = DS.Model.extend firstName: DS.attr("string") lastName: DS.attr("string") email: DS.attr("string") role: DS.attr("string") password: DS.attr("string") App.CurrentUser = App.User.extend({}) App.Room = DS.Model.extend name: DS.attr("string") App.Message = DS.Model.extend body: DS.attr("st...
Add password field to User model
Add password field to User model
CoffeeScript
mit
sashafklein/bloc-mogo,HashNuke/mogo-chat,louishawkins/mogo-chat,di-stars/mogo-chat,louishawkins/mogo-chat,HashNuke/mogo-chat,di-stars/mogo-chat,HashNuke/mogo-chat,sashafklein/bloc-mogo,sashafklein/bloc-mogo,di-stars/mogo-chat,louishawkins/mogo-chat
e39f7f0c5d1e38c2a57e19643d10c2e855208fcf
assets/javascripts/models.js.coffee
assets/javascripts/models.js.coffee
App.User = DS.Model.extend firstName: DS.attr("string") lastName: DS.attr("string") email: DS.attr("string") role: DS.attr("string") password: DS.attr("string") color: DS.attr("string") borderStyle: (-> "border-left: 0.2em solid #{@get("color")};" ).property("color") fontColor: (-> "colo...
App.User = DS.Model.extend firstName: DS.attr("string") lastName: DS.attr("string") email: DS.attr("string") role: DS.attr("string") password: DS.attr("string") color: DS.attr("string") isAdmin: (-> @get("role") == "admin" ).property("role") borderStyle: (-> "border-left: 0.2em solid #{...
Add isAdmin to User model
Add isAdmin to User model
CoffeeScript
mit
HashNuke/mogo-chat,louishawkins/mogo-chat,sashafklein/bloc-mogo,HashNuke/mogo-chat,louishawkins/mogo-chat,sashafklein/bloc-mogo,HashNuke/mogo-chat,louishawkins/mogo-chat,sashafklein/bloc-mogo,di-stars/mogo-chat,di-stars/mogo-chat,di-stars/mogo-chat
ee578e2ca38c77012a41d6965807de7b2ee47a42
app/controllers/language_picker.coffee
app/controllers/language_picker.coffee
$ = require 'jqueryify' translate = require 't7e' enUs = require '../translations/en_us' DEFAULT = '$DEFAULT' class LanguagePicker @DEFAULT = DEFAULT languages: 'English': DEFAULT 'Polski': 'pl_pl' el: null className: 'language-picker' constructor: -> preferredLanguage = localStorage.preferre...
$ = require 'jqueryify' translate = require 't7e' enUs = require '../translations/en_us' HTML = $(document.body.parentNode) DEFAULT = '$DEFAULT' class LanguagePicker @DEFAULT = DEFAULT languages: 'English': DEFAULT 'Polski': 'pl_pl' el: null className: 'language-picker' constructor: -> prefe...
Add a root attribute for the selected language
Add a root attribute for the selected language
CoffeeScript
apache-2.0
zooniverse/Serengeti,zooniverse/Snapshot-Chicago,alexbfree/Serengeti,zooniverse/Wisconsin-Zoo,alexbfree/Serengeti,zooniverse/Wisconsin-Zoo,zooniverse/gorongosa,zooniverse/Serengeti,zooniverse/Serengeti,zooniverse/gorongosa,zooniverse/Snapshot-Chicago,alexbfree/Serengeti
e4dfbf791622003f83015cafcb575277b4940da2
vendor/assets/javascripts/tao.coffee
vendor/assets/javascripts/tao.coffee
#= require turbolinks #= require jquery3 #= require ./jquery_ujs #= require lodash #= require i18n #= require_self #= require_tree ./tao window.tao = {}
#= require turbolinks #= require jquery3 #= require jquery_ujs #= require lodash #= require i18n #= require_self #= require_tree ./tao window.tao = {}
Change the jquery_ujs load path.
Change the jquery_ujs load path.
CoffeeScript
mit
mycolorway/tao_on_rails,mycolorway/tao_on_rails,mycolorway/tao_on_rails
971eb1cdb7feab85a03e31030323014e69f18be6
app/js/util/annotate.coffee
app/js/util/annotate.coffee
rightClick = (event=window.event) -> if event.which event.which == 3 else if event.button event.button == 2 else false Factlink.textSelected = (e) -> Factlink.getSelectionInfo().text?.length > 1 timeout = null annotating = false Factlink.startAnnotating = -> return if annotating annotating =...
rightClick = (event=window.event) -> if event.which event.which == 3 else if event.button event.button == 2 else false Factlink.textSelected = (e) -> Factlink.getSelectionInfo().text?.length > 1 timeout = null annotating = false Factlink.startAnnotating = -> return if annotating annotating =...
Disable annotation if there's a factlink button
Disable annotation if there's a factlink button
CoffeeScript
mit
Factlink/js-library,Factlink/js-library,Factlink/js-library
e1153d1c9645f9df589a87f1d15a53ef629cfae2
frontend-admin/src/app/views/user.controller.coffee
frontend-admin/src/app/views/user.controller.coffee
@App.controller 'UserController', ($stateParams, $window, MnoeUsers) -> 'ngInject' vm = this # Get the user MnoeUsers.get($stateParams.userId).then( (response) -> vm.user = response ) vm.impersonateUser = () -> if vm.user url = '/mnoe/impersonate/user/' + vm.user.id $window.locat...
@App.controller 'UserController', ($stateParams, $window, MnoeUsers) -> 'ngInject' vm = this # Get the user MnoeUsers.get($stateParams.userId).then( (response) -> vm.user = response ) vm.impersonateUser = () -> if vm.user redirect = window.encodeURIComponent("#{location.pathname}#{loca...
Use redirect_uri when impersonating uri
[MNOE-149] Use redirect_uri when impersonating uri Admin will be redirected to the original page when exiting impersonation
CoffeeScript
apache-2.0
maestrano/mno-enterprise,hedudelgado/mno-enterprise,hedudelgado/mno-enterprise,hedudelgado/mno-enterprise,maestrano/mno-enterprise,maestrano/mno-enterprise,hedudelgado/mno-enterprise,maestrano/mno-enterprise
68bb8d5874683115e74bf9f59069abbaa04a1408
cms/static/coffee/spec/helpers.coffee
cms/static/coffee/spec/helpers.coffee
# Stub jQuery.cookie @stubCookies = csrftoken: 'stubCSRFToken' jQuery.cookie = (key, value) => if value? @stubCookies[key] = value else @stubCookies[key]
# Stub jQuery.cookie @stubCookies = csrftoken: 'stubCSRFToken' jQuery.cookie = (key, value) => if value? @stubCookies[key] = value else @stubCookies[key] # Path Jasmine's `it` method to raise an error when the test is not defined. # This is helpful when writing the specs first before writing the test. @...
Patch `window.it` to raise error on pending tests
Patch `window.it` to raise error on pending tests
CoffeeScript
agpl-3.0
zerobatu/edx-platform,eduNEXT/edunext-platform,Shrhawk/edx-platform,rue89-tech/edx-platform,halvertoluke/edx-platform,mahendra-r/edx-platform,hkawasaki/kawasaki-aio8-1,RPI-OPENEDX/edx-platform,utecuy/edx-platform,rationalAgent/edx-platform-custom,mtlchun/edx,ZLLab-Mooc/edx-platform,abdoosh00/edx-rtl-final,nttks/jenkins...
16b3d713945c6b05cf9fc3754419607ad62b2bc3
src/local-api/index.coffee
src/local-api/index.coffee
express = require 'express' courses = require './courses' lessons = require './lessons' gadgets = require './gadgets' assets = require './assets' sandbox = require './sandbox' _ = require 'underscore' module.exports = (data) -> _.defaults data.course, progress: {} assetUrlTemplate: '/static/<%= id %>' api...
express = require 'express' courses = require './courses' lessons = require './lessons' gadgets = require './gadgets' assets = require './assets' sandbox = require './sandbox' _ = require 'underscore' module.exports = (data) -> _.defaults data.course, progress: {} assetUrlTemplate: '/static/<%= id %>' api...
Implement sample GET /user endpoint to prevent console error
Implement sample GET /user endpoint to prevent console error
CoffeeScript
mit
Versal/sdk,Versal/sdk
172594df296ffd100592ff07a15686d770b9ced1
src/streak-podium.coffee
src/streak-podium.coffee
# Description # A hubot script that shows who has the longest github streak in your org # # Configuration: # LIST_OF_ENV_VARS_TO_SET # HUBOT_ORG_ACCESS_TOKEN # # Commands: # streak ladder - <Gets a list of the longest github commit streaks in your org> # # Notes: # An access token is required by the github ap...
# Description # A hubot script that shows who has the longest github streak in your org # # Configuration: # LIST_OF_ENV_VARS_TO_SET # HUBOT_ORG_ACCESS_TOKEN # # Commands: # streak ladder - <Gets a list of the longest github commit streaks in your org> # # Notes: # An access token is required by the github ap...
Read an env var and print it
Read an env var and print it https://github.com/jollyra/hubot-streak-podium/issues/1
CoffeeScript
mit
jollyra/hubot-commit-streak,jollyra/hubot-streak-podium,jollyra/hubot-commit-streak,jollyra/hubot-streak-podium
321a7341549afe8d2c53bf944fbaf92077e13416
server/publications/activeUsers.coffee
server/publications/activeUsers.coffee
Meteor.publish 'activeUsers', -> unless this.userId return this.ready() console.log '[publish] activeUsers'.green Meteor.users.find username: $exists: 1 status: $in: ['online', 'away', 'busy'] , fields: username: 1 status: 1
Meteor.publish 'activeUsers', -> unless this.userId return this.ready() console.log '[publish] activeUsers'.green Meteor.users.find username: $exists: 1 status: $in: ['online', 'away', 'busy'] , fields: username: 1 status: 1 utcOffset: 1
Send utcOffset to all users
Send utcOffset to all users
CoffeeScript
mit
Codebrahma/Rocket.Chat,berndsi/Rocket.Chat,christmo/Rocket.Chat,galrotem1993/Rocket.Chat,jbsavoy18/rocketchat-1,mhurwi/Rocket.Chat,NMandapaty/Rocket.Chat,acidicX/Rocket.Chat,linnovate/hi,ahmadassaf/Rocket.Chat,warcode/Rocket.Chat,soonahn/Rocket.Chat,Gyubin/Rocket.Chat,rasata/Rocket.Chat,Gyubin/Rocket.Chat,Gyubin/Rocket...
0f68f095f14000f8bc38486c9ba0462291d3e114
src/theme-package.coffee
src/theme-package.coffee
AtomPackage = require './atom-package' Package = require './package' ### Internal: Loads and resolves packages. ### module.exports = class ThemePackage extends AtomPackage getType: -> 'theme' getStylesheetType: -> 'theme' enable: -> atom.config.unshiftAtKeyPath('core.themes', @metadata.name) disable: ...
Q = require 'q' AtomPackage = require './atom-package' Package = require './package' ### Internal: Loads and resolves packages. ### module.exports = class ThemePackage extends AtomPackage getType: -> 'theme' getStylesheetType: -> 'theme' enable: -> atom.config.unshiftAtKeyPath('core.themes', @metadata.na...
Remove load and activate methods from ThemePackage
Remove load and activate methods from ThemePackage I assume these were added to speed theme loading, but now that promises are being used it complicates overriding methods. From my tests removing these methods and relying on Atom Package's methods added ~2 ms per theme.
CoffeeScript
mit
Huaraz2/atom,fang-yufeng/atom,darwin/atom,NunoEdgarGub1/atom,Jonekee/atom,wiggzz/atom,ali/atom,RobinTec/atom,BogusCurry/atom,execjosh/atom,harshdattani/atom,folpindo/atom,bryonwinger/atom,einarmagnus/atom,yangchenghu/atom,jjz/atom,hharchani/atom,deoxilix/atom,efatsi/atom,gisenberg/atom,bcoe/atom,Ingramz/atom,ObviouslyG...
eff47fe4b2d57fde12d03eecbdac0f68a09f39d0
lib/nord-atom-ui-vertical-tabs.coffee
lib/nord-atom-ui-vertical-tabs.coffee
module.exports = NordAtomUiVerticalTabs = activate: (state) -> deactivate: ->
selfName = 'nord-atom-ui-vertical-tabs' setDirection = (isLeft) -> panes = document.querySelectorAll('atom-pane') for pane, i in panes pane.style.flexDirection = if isLeft then 'row' else 'row-reverse' atom.config.onDidChange(selfName + '.isLeftTab', (isLeft) -> setDirection(isLeft['newValue']); ) module.e...
Support switching side of tabs
Support switching side of tabs
CoffeeScript
mit
hmsk/nord-atom-ui-vertical-tabs
36f1d220dbbfd2a9af14f61c106a3499d30fca6b
src/test/shared/process-results.coffee
src/test/shared/process-results.coffee
import printMsg from './print-msg.coffee' export default (testResults) -> total = 0 success = 0 fail = 0 failCases = [] printMsg('summary') for result in testResults total += result.total success += result.success fail += result.fail if result.failCases.length > 0 failCases.push result.failCases c...
import printMsg from './print-msg.coffee' export default (testResults) -> total = 0 success = 0 fail = 0 failCasesList = [] printMsg('summary') for result in testResults total += result.total success += result.success fail += result.fail if result.failCases.length > 0 failCasesList.push { jobDes...
Improve failCases report in ESM test
Improve failCases report in ESM test
CoffeeScript
mit
Edditoria/numbo
cc24ad97222ace9ff75b42966f63e1d97dbbe6bb
couchbot/scripts/dogatcomputer.coffee
couchbot/scripts/dogatcomputer.coffee
# Description: # Displays a "I Have No Idea What I'm Doing" image # # Dependencies: # None # # Configuration: # None # # Commands: # hubot no idea # # Notes: # No idea... # # Author: # Brian Shumate <brian@couchbase.com> noidea = "http://i.imgur.com/hmTeehN.jpg" module.exports = (robot) -> robot.hear /(...
# Description: # Displays a "I Have No Idea What I'm Doing" image # # Dependencies: # None # # Configuration: # None # # Commands: # hubot no idea # # Notes: # No idea... # # Author: # Brian Shumate <brian@couchbase.com> noidea = "http://i.imgur.com/hmTeehN.jpg" module.exports = (robot) -> robot.hear /(...
Make noideadog a little less aggressive
Make noideadog a little less aggressive
CoffeeScript
apache-2.0
couchbaselabs/couchbot
9ce66b68a066b26f0d3a45945212a9e074a958da
lib/helpers/formatter_helper.coffee
lib/helpers/formatter_helper.coffee
"use strict" ((NS) -> # Filename: helpers/formatter_helper.coffee NS = NS or {} isInBrowser = typeof module is 'undefined' and typeof window isnt 'undefined' # Default confifuration of the formaters. format = currency: '0,0.00' date: 'L' dateTime: 'LLL' # Container for all the formaters....
"use strict" # Default confifuration of the formaters. format = currency: '0,0.00' date: 'L' dateTime: 'LLL' # Container for all the formaters. formaters = {} #Update the configuration or the formater with the configuration given in option. formaters.configure = (options) -> _.extend(format, options) #Form...
Clean module on formatter helpeR.
Clean module on formatter helpeR.
CoffeeScript
mit
Jerom138/focus,KleeGroup/focus-core,Jerom138/focus,Jerom138/focus
fb2625d7eebffe302ad71b368edb09b6d8790c3f
src/particles/timers/instant.coffee
src/particles/timers/instant.coffee
# Public: module.exports = class Instant ### Public ### prepare: -> finished: -> true nextTime: -> 0
# Public: module.exports = class Instant ### Public ### prepare: -> finished: -> true nextTime: 0
Fix Instant timer signature not valid
:bug: Fix Instant timer signature not valid
CoffeeScript
mit
abe33/agt,abe33/agt,abe33/agt
b0b65f9853935ace09b9e76b47759ed09214694c
app/assets/javascripts/legislation_allegations.js.coffee
app/assets/javascripts/legislation_allegations.js.coffee
App.LegislationAllegations = toggle_comments: -> $('.draft-allegation').toggleClass('comments-on'); show_comments: -> $('.draft-allegation').addClass('comments-on'); initialize: -> $('.js-toggle-allegations .draft-panel').on click: (e) -> e.preventDefault(); e.stopPropag...
App.LegislationAllegations = toggle_comments: -> $('.draft-allegation').toggleClass('comments-on'); $('#comments-box').html('').hide() show_comments: -> $('.draft-allegation').addClass('comments-on'); initialize: -> $('.js-toggle-allegations .draft-panel').on click: (e) -> e.p...
Hide comments box when showing index
Hide comments box when showing index
CoffeeScript
agpl-3.0
usabi/consul_san_borondon,CDJ11/CDJ,AjuntamentdeCastello/consul,AyuntamientoMadrid/participacion,usabi/consul_san_borondon,CDJ11/CDJ,AyuntamientoMadrid/consul,lalibertad/consul,AyuntamientoMadrid/consul,lalibertad/consul,consul/consul,amiedes/consul,AyuntamientoMadrid/participacion,consul/consul,AyuntamientoMadrid/cons...
e4372912318311eab7099ecac1fe75e7e1f52550
client/landing/app/CommonViews/avatarviews/avatarview.coffee
client/landing/app/CommonViews/avatarviews/avatarview.coffee
# FIXME : render runs on every data change in account object which leads to a flash on avatarview. Sinan 08/2012 class AvatarView extends LinkView constructor:(options = {},data)-> options.cssClass or= "" options.size or= width : 50 height : 50 options.cssClass = "...
# FIXME : render runs on every data change in account object which leads to a flash on avatarview. Sinan 08/2012 class AvatarView extends LinkView constructor:(options = {},data)-> options.cssClass or= "" options.size or= width : 50 height : 50 options.cssClass = "...
Use mm fallback for gravatar when running on localhost
Use mm fallback for gravatar when running on localhost
CoffeeScript
agpl-3.0
usirin/koding,koding/koding,andrewjcasal/koding,andrewjcasal/koding,mertaytore/koding,cihangir/koding,drewsetski/koding,jack89129/koding,cihangir/koding,jack89129/koding,sinan/koding,kwagdy/koding-1,cihangir/koding,andrewjcasal/koding,usirin/koding,mertaytore/koding,koding/koding,rjeczalik/koding,sinan/koding,drewsetsk...
3f603476d250a6051be248434cbbb414cc4e00e1
test/prompts.coffee
test/prompts.coffee
should = require 'should' environment = require './shared/environment' Impromptu = require('../lib/impromptu').constructor promptTests = require './shared/prompt' describe 'Prompt Files', -> describe 'Sample', -> tests = promptTests 'sample', expectedPrompt: "\x1b[42m\x1b[37m user@host \x1b[0m\x1b[44m\x1b[...
promptTests = require './shared/prompt' describe 'Prompt Files', -> describe 'Sample', -> tests = promptTests 'sample', expectedPrompt: "\x1b[42m\x1b[37m user@host \x1b[0m\x1b[44m\x1b[37m ~/path/to/impromptu \x1b[0m" describe 'CoffeeScript Compilation Error', -> tests = promptTests 'compiler-error',...
Remove unnecessary modules from prompt tests.
Remove unnecessary modules from prompt tests.
CoffeeScript
mit
impromptu/impromptu,impromptu/impromptu
10eef3c1f68874506f76dd638e7161dafc341996
src/view/bindings/view_binding.coffee
src/view/bindings/view_binding.coffee
#= require ./abstract_binding class Batman.DOM.ViewBinding extends Batman.DOM.AbstractBinding onlyObserve: Batman.BindingDefinitionOnlyObserve.Data skipChildren: true constructor: (definition) -> @superview = definition.view super dataChange: (viewClassOrInstance) -> @viewInstance?.removeFromSupe...
#= require ./abstract_binding class Batman.DOM.ViewBinding extends Batman.DOM.AbstractBinding onlyObserve: Batman.BindingDefinitionOnlyObserve.Data skipChildren: true constructor: (definition) -> @superview = definition.view super dataChange: (viewClassOrInstance) -> @viewInstance?.removeFromSupe...
Remove attributes from data-view bindings.
Remove attributes from data-view bindings.
CoffeeScript
mit
getshuvo/batman,getshuvo/batman
e1e6b49d096489c0ed8d7e3e398f1a52c49115cd
routes/index.coffee
routes/index.coffee
express = require 'express' router = express.Router() router.get '/resetPassword', (req, res) -> if !req.user or !req.user.data.needsReset return res.redirect "/" res.render 'resetpassword', error: req.flash 'error' username: req.user.data.username router.use (req, res, next) -> if req.user and req...
express = require 'express' router = express.Router() router.get '/resetPassword', (req, res) -> if !req.user or !req.user.data.needsReset return res.redirect "/" res.render 'resetpassword', error: req.flash 'error' user: req.user.data.username router.use (req, res, next) -> if req.user and req.use...
Fix username not being shown on reset password page
Fix username not being shown on reset password page
CoffeeScript
mit
Rezonation/sisetv,Rezonation/sisetv
2de6595ee12748f602db0ff8272ab932ad8519a4
examples/quadtree.coffee
examples/quadtree.coffee
#!/usr/bin/env coffee WKTReader = (require "../lib").WKTReader Quadtree = (require "../lib").Quadtree tree = new Quadtree() reader = new WKTReader() rss = process.memoryUsage().rss console.log process.memoryUsage() geometries = [] for i in [1..100000] geom = reader.read "POINT(#{Math.floor Math.random()*100} #{Ma...
#!/usr/bin/env coffee WKTReader = (require "../lib").WKTReader Quadtree = (require "../lib").Quadtree tree = new Quadtree() reader = new WKTReader() rss = process.memoryUsage().rss console.log process.memoryUsage() geometries = [] for i in [1..100000] geom = reader.read "POINT(#{Math.floor Math.random()*100} #{Ma...
Revert "Small fix, change example to demonstrate Geometry::toJSON()"
Revert "Small fix, change example to demonstrate Geometry::toJSON()" This reverts commit f975e01f4a79127fe55a0860ac4750edf2020d6f.
CoffeeScript
mit
diorahman/node-geos,kashif/node-geos,kashif/node-geos,diorahman/node-geos,kashif/node-geos
6a13f75b306df35ab4473dac8268aa1e501e6b55
src/test/test-esm.coffee
src/test/test-esm.coffee
### Run tests for each module: numbo, enUS, zhCN, zhTW. This file is usable after compiling to mjs. Do not work in Rollup or Babel. ### ###* @type {Data} See data structure in all-data.coffee ### import allData from './data/all-data.mjs' import numbo from '../esm/numbo.mjs' import langs from './shared/langs.coffee' i...
### Run tests for each module: numbo, enUS, zhCN, zhTW. This file is usable after compiling to mjs. Do not work in Rollup or Babel. ### ###* @type {Data} See data structure in all-data.coffee ### import allData from './data/all-data.mjs' import numbo from '../esm/numbo.mjs' import enUS from '../esm/en-us.mjs' import z...
Add ESM test for 3 lang mods
Add ESM test for 3 lang mods
CoffeeScript
mit
Edditoria/numbo
94f484e5bd1f33a8cfbd534586a95ebdc0d17a74
app/server/js/middleware.coffee
app/server/js/middleware.coffee
goog.provide 'server.Middleware' class server.Middleware ###* @param {Function} compression @param {Function} favicon @param {Function} bodyParser @param {Function} methodOverride @constructor ### constructor: (@compression, @favicon, @bodyParser, @methodOverride) -> use: (app) -> app...
goog.provide 'server.Middleware' class server.Middleware ###* @param {Function} compression @param {Function} favicon @param {Function} bodyParser @param {Function} methodOverride @constructor ### constructor: (@compression, @favicon, @bodyParser, @methodOverride) -> use: (app) -> app...
Add commented example for express favicon.
Add commented example for express favicon.
CoffeeScript
mit
terakilobyte/socketreact,GarrettSmith/schizophrenia,GarrettSmith/schizophrenia,robinpokorny/este,steida/este,amrsekilly/updatedEste,syroegkin/mikora.eu,puzzfuzz/othello-redux,nezaidu/este,sikhote/davidsinclair,langpavel/este,AlesJiranek/este,estaub/my-este,sljuka/bucka-portfolio,sikhote/davidsinclair,syroegkin/mikora.e...
d692b4bfc93d21decf11d243f3cb072f5799a8b6
scripts/stamp.coffee
scripts/stamp.coffee
# Description: # A way to interact with the Stamp URI. # # Commands: # hubot stamp me <keyword> - The Original. Queries Stamp Images for <keyword> and returns a stamp image. # hubot stamp list - Show a list of keywords. stamps = JSON.parse(process.env.HUBOT_STAMPS) module.exports = (robot) -> robot.re...
# Description: # A way to interact with the Stamp URI. # # Commands: # hubot stamp me <keyword> - The Original. Queries Stamp Images for <keyword> and returns a stamp image. # hubot stamp list - Show a list of keywords. stamps = JSON.parse(process.env.HUBOT_STAMPS) module.exports = (robot) -> robot.re...
Fix slack API return error.
Fix slack API return error.
CoffeeScript
mit
osamunmun/hubot
aae2d8dac034571b9f568991148ea73ce8bae6b4
server.coffee
server.coffee
url = require 'url' config = require './config' StreamServer = require './stream_server' Bits = require './bits' logger = require './logger' Bits.set_warning_fatal true logger.setLevel logger.LEVEL_INFO streamServer = new StreamServer streamServer.setLivePathConsumer (uri, callback) -> pathname = url.parse(uri).pa...
url = require 'url' config = require './config' StreamServer = require './stream_server' Bits = require './bits' logger = require './logger' Bits.set_warning_fatal true logger.setLevel logger.LEVEL_INFO streamServer = new StreamServer streamServer.setLivePathConsumer (uri, callback) -> pathname = url.parse(uri).pa...
Add null check to pathname
Add null check to pathname
CoffeeScript
mit
iizukanao/node-rtsp-rtmp-server,iizukanao/node-rtsp-rtmp-server
4126a806336ea934ce60b6eda8f5cc6655e81fd3
test/prompts.coffee
test/prompts.coffee
should = require 'should' environment = require './shared/environment' Impromptu = require('../lib/impromptu').constructor promptTests = require './shared/prompt' describe 'Prompt Files', -> describe 'Sample', -> tests = promptTests 'sample', expectedPrompt: "\x1b[42m\x1b[37m user@host \x1b[0m\x1b[44m\x1b[...
should = require 'should' environment = require './shared/environment' Impromptu = require('../lib/impromptu').constructor promptTests = require './shared/prompt' describe 'Prompt Files', -> describe 'Sample', -> tests = promptTests 'sample', expectedPrompt: "\x1b[42m\x1b[37m user@host \x1b[0m\x1b[44m\x1b[...
Update prompt tests to use new error message.
Update prompt tests to use new error message.
CoffeeScript
mit
impromptu/impromptu,impromptu/impromptu
43162e06f56e1615374f53161b912121fedcd75d
src/scripts/github-credentials.coffee
src/scripts/github-credentials.coffee
# Github Credentials allows you to map your user against your GitHub user. # This is specifically in order to work with apps that have GitHub Oauth users. # # who do you know - List all the users with github logins tracked by Hubot # i am `maddox` - map your user to the github login `maddox` # who am i - reveal your ma...
# Github Credentials allows you to map your user against your GitHub user. # This is specifically in order to work with apps that have GitHub Oauth users. # # who do you know - List all the users with github logins tracked by Hubot # i am `maddox` - map your user to the github login `maddox` # who am i - reveal your ma...
Allow numbers in GitHub usernames.
Allow numbers in GitHub usernames.
CoffeeScript
mit
github/hubot-scripts,azimman/hubot-scripts,jhubert/hubot-scripts,marksie531/hubot-scripts,chauffer/hubot-scripts,phillipalexander/hubot-scripts,alexhouse/hubot-scripts,cycomachead/hubot-scripts,n0mer/hubot-scripts,markstory/hubot-scripts,iilab/hubot-scripts,terryjbates/hubot-scripts,GrimDerp/hubot-scripts,justinwoo/hub...
bc818e12b18def27ecd1decfc5a56641cafaeb55
scripts/pr-status.coffee
scripts/pr-status.coffee
# Description: # Get the CI status reported to GitHub for a repo and pull request # # Dependencies: # "githubot": "0.4.x" # # Configuration: # HUBOT_GITHUB_TOKEN # HUBOT_GITHUB_USER # HUBOT_GITHUB_API # # Commands: # hubot repo show <repo> - shows activity of repository # # Notes: # HUBOT_GITHUB_API allow...
# Description: # Get the CI status reported to GitHub for a repo and pull request # # Dependencies: # "githubot": "0.4.x" # # Configuration: # HUBOT_GITHUB_TOKEN # HUBOT_GITHUB_USER # HUBOT_GITHUB_API # # Commands: # hubot repo show <repo> - shows activity of repository # # Notes: # HUBOT_GITHUB_API allow...
Fix up the message sent back with the status
Fix up the message sent back with the status
CoffeeScript
mit
octopress/octobopper,jekyll/hyde
8f8720209f1f325042cbe3f134797c85cc0c64c4
app/assets/javascripts/todos.js.coffee
app/assets/javascripts/todos.js.coffee
class @Todos _this = null; constructor: (@name) -> _this = @ @initBtnListeners() initBtnListeners: -> $('.done-todo').on('click', @doneClicked) doneClicked: (e) -> $this = $(this) doneURL = $this.attr('href') e.preventDefault() e.stopImmediatePropagation() $spinner = $(...
class @Todos _this = null; constructor: (@name) -> _this = @ @initBtnListeners() initBtnListeners: -> $('.done-todo').on('click', @doneClicked) doneClicked: (e) -> $this = $(this) doneURL = $this.attr('href') e.preventDefault() e.stopImmediatePropagation() $spinner = $(...
Remove `Flash` from todos when finished
Remove `Flash` from todos when finished
CoffeeScript
mit
openwide-java/gitlabhq,SVArago/gitlabhq,htve/GitlabForChinese,darkrasid/gitlabhq,darkrasid/gitlabhq,icedwater/gitlabhq,mmkassem/gitlabhq,shinexiao/gitlabhq,shinexiao/gitlabhq,daiyu/gitlab-zh,shinexiao/gitlabhq,SVArago/gitlabhq,jirutka/gitlabhq,dplarson/gitlabhq,SVArago/gitlabhq,openwide-java/gitlabhq,axilleas/gitlabhq,...
4b333d2ca318324370975666a8845eceebcb4276
config/application.coffee
config/application.coffee
# Exports an object that defines # all of the configuration needed by the projects' # depended-on grunt tasks. # # You can familiarize yourself with all of Lineman's defaults by checking out the parent file: # https://github.com/testdouble/lineman/blob/master/config/application.coffee module.exports = require(proces...
# Exports an object that defines # all of the configuration needed by the projects' # depended-on grunt tasks. # # You can familiarize yourself with all of Lineman's defaults by checking out the parent file: # https://github.com/testdouble/lineman/blob/master/config/application.coffee module.exports = require(proces...
Use pjs directory for PaperScript
Use pjs directory for PaperScript
CoffeeScript
apache-2.0
orfjackal/planning-mode
641199cf7d9125434132a6f7ad269597148c6f74
assets/scripts/app/helpers/urls.coffee
assets/scripts/app/helpers/urls.coffee
@Travis.Urls = plainTextLog: (id) -> "#{Travis.config.api_endpoint}/jobs/#{id}/log.txt?deansi=true" githubPullRequest: (slug, pullRequestNumber) -> "https://github.com/#{slug}/pull/#{pullRequestNumber}" githubCommit: (slug, sha) -> "https://github.com/#{slug}/commit/#{sha}" githubRepo: (slug) -> ...
@Travis.Urls = plainTextLog: (id) -> "#{Travis.config.api_endpoint}/jobs/#{id}/log.txt?deansi=true" githubPullRequest: (slug, pullRequestNumber) -> "https://github.com/#{slug}/pull/#{pullRequestNumber}" githubCommit: (slug, sha) -> "https://github.com/#{slug}/commit/#{sha}" githubRepo: (slug) -> ...
Switch build status image URL to SVG.
Switch build status image URL to SVG.
CoffeeScript
mit
travis-ci/travis-web,mjlambert/travis-web,jlrigau/travis-web,2947721120/travis-web,fotinakis/travis-web,travis-ci/travis-web,jlrigau/travis-web,travis-ci/travis-web,fotinakis/travis-web,2947721120/travis-web,mjlambert/travis-web,fauxton/travis-web,Tiger66639/travis-web,mjlambert/travis-web,fauxton/travis-web,2947721120...
e3bfb6c383a2b257d728b08b68dcc822a5c377f1
src/beautifiers/clojure-beautifier/index.coffee
src/beautifiers/clojure-beautifier/index.coffee
"use strict" path = require('path') Beautifier = require('../beautifier') module.exports = class ClojureBeautifier extends Beautifier name: "Clojure Beautifier" link: "https://github.com/snoe/node-cljfmt" options: { Clojure: true } beautify: (text, language, options) -> formatPath = path.resolve(_...
"use strict" path = require('path') Beautifier = require('../beautifier') module.exports = class ClojureBeautifier extends Beautifier name: "Clojure Beautifier" link: "https://github.com/snoe/node-cljfmt" options: { Clojure: true } beautify: (text, language, options) -> formatPath = path.resolve(_...
Use node module bin for cljmt
Use node module bin for cljmt
CoffeeScript
mit
Glavin001/atom-beautify,prettydiff/atom-beautify,dvingo/atom-beautify,Glavin001/atom-beautify,prettydiff/atom-beautify,Glavin001/atom-beautify,prettydiff/atom-beautify,dvingo/atom-beautify,dvingo/atom-beautify,Glavin001/atom-beautify,prettydiff/atom-beautify,dvingo/atom-beautify,dvingo/atom-beautify,Glavin001/atom-beau...
5b49008d72b57d7f71aa768e58db332706db1c89
app/coffeescripts/badge_counts.coffee
app/coffeescripts/badge_counts.coffee
define ['jquery'], ($) -> $(document).ready -> if ENV.badge_counts for type, unread of ENV.badge_counts if unread > 0 type = "grades" if type is "submissions" $badge = $("<b/>").text(unread).addClass("nav-badge") $("#section-tabs .#{type}").append($badge)
if ENV.badge_counts require.ensure [], () -> $ = require('jquery') $ -> for type, unread of ENV.badge_counts if unread > 0 type = "grades" if type is "submissions" $badge = $("<b/>").text(unread).addClass("nav-badge") $("#section-tabs .#{type}").append($badge) , '...
Load badge counts async and only if needed
Load badge counts async and only if needed closes: CNVS-36300 test plan: this chunk of js shouldn't be included in the common bundle and should only be loaded if ENV.badge_counts is true and as a seperate chunk Change-Id: Ia83418cb7604c50ad91c2bf54a4fac79ca381b5a Reviewed-on: https://gerrit.instructure.com/108447...
CoffeeScript
agpl-3.0
instructure/canvas-lms,venturehive/canvas-lms,venturehive/canvas-lms,sfu/canvas-lms,sfu/canvas-lms,instructure/canvas-lms,venturehive/canvas-lms,sfu/canvas-lms,venturehive/canvas-lms,instructure/canvas-lms,sfu/canvas-lms,sfu/canvas-lms,sfu/canvas-lms,djbender/canvas-lms,instructure/canvas-lms,djbender/canvas-lms,instru...
f02cbb4823f4ae5bd6e051f2cf122fbdd8e227f2
app/assets/javascripts/routers/ships_router.js.coffee
app/assets/javascripts/routers/ships_router.js.coffee
SitsApp.Routers.Ships = Backbone.Router.extend( routes: "(/)(#)": "index" "ships/detail/:id(/)": "detail" index: -> console.log('router.index') view = new SitsApp.Views.ShipsIndex { collection: SitsApp.ships, className: "col-md-12" } $('#shipListRow').html(view.render().$el) detail: (id) -> vie...
SitsApp.Routers.Ships = Backbone.Router.extend( routes: "(/)(#)": "index" "ships/detail/:id(/)": "detail" index: -> console.log('router.index') indexView = new SitsApp.Views.ShipsIndex { collection: SitsApp.ships, className: "col-md-12" } $('#shipListRow').html(indexView.render().$el) detail: (id)...
Add Caching of Ship Detail Models
Add Caching of Ship Detail Models
CoffeeScript
mit
Mickydtron/SITS2,Mickydtron/SITS2
4ea6010774e7b22a92fef14f5b3abb985fd16041
server/lib/tasks/create-user.coffee
server/lib/tasks/create-user.coffee
require('../../initializers/mongo')() User = require('../../models/user').model readline = require 'readline' rl = readline.createInterface( input: process.stdin output: process.stdout terminal: false ) console.log "## Create user ##" console.log "Enter name:" rl.once('line', (name)-> console.log "Enter ema...
require('../../initializers/config').initialize() require('../../initializers/mongo')() User = require('../../models/user').model readline = require 'readline' rl = readline.createInterface( input: process.stdin output: process.stdout terminal: false ) console.log "## Create user ##" console.log "Enter name:" ...
Create user task gets app config for mongo use
Create user task gets app config for mongo use
CoffeeScript
bsd-3-clause
unepwcmc/NRT,unepwcmc/NRT
b442ced5192c88365fed6bb843c605d53024545f
test/snapshot.coffee
test/snapshot.coffee
husl = require '../husl.coffee' snapshot = -> samples = {} digits = '0123456789abcdef' # Take 16 ^ 3 = 4096 samples for r in digits for g in digits for b in digits hex = '#' + r + r + g + g + b + b rgb = husl._conv.hex.rgb hex xyz = husl._conv.rgb.xyz rgb luv = husl....
husl = require '../husl.coffee' digits = '0123456789abcdef' snapshot = -> samples = {} # Take 16 ^ 3 = 4096 samples for r in digits for g in digits for b in digits hex = '#' + r + r + g + g + b + b rgb = husl._conv.hex.rgb hex xyz = husl._conv.rgb.xyz rgb luv = husl._c...
Add precision test based on @roryokane's code
Add precision test based on @roryokane's code
CoffeeScript
mit
hsluv/hsluv,hsluv/hsluv
29f600d09328b2573687aa3ace20d765acc3f4f6
src/components/Group.coffee
src/components/Group.coffee
noflo = require 'noflo' class Group extends noflo.Component constructor: -> @groups = [] @newGroups = [] @inPorts = in: new noflo.ArrayPort group: new noflo.ArrayPort @outPorts = out: new noflo.Port @inPorts.in.on 'connect', () => @outPorts.out.beginGroup group for group...
noflo = require 'noflo' class Group extends noflo.Component constructor: -> @groups = [] @newGroups = [] @threshold = null # How many groups to be saved? @inPorts = in: new noflo.ArrayPort group: new noflo.ArrayPort threshold: new noflo.Port @outPorts = out: new noflo.Por...
Allow groups to be limited by a number of groups
Allow groups to be limited by a number of groups
CoffeeScript
mit
lxfschr/noflo,npmcomponent/noflo-noflo,jonnor/noflo,trustmaster/noflo,jonnor/noflo,noflo/noflo,saurabhsood91/noflo,lxfschr/noflo,saurabhsood91/noflo,trustmaster/noflo
57b5d0e2c3db1c264bbfbb04bdcfa6103031abf8
app/assets/javascripts/votes.js.coffee
app/assets/javascripts/votes.js.coffee
$(document).ready -> $(".vote-form").on 'ajax:success', (event, xhr, status) -> $(this).parent().find('.vote-count').html(xhr.count) $(this).replaceWith(xhr.content) $(".vote-form").on 'ajax:error', (event, xhr, status) -> # TODO: handle error on vote submit console.log event console.log xhr ...
$(document).ready -> $(".vote-controls").on 'ajax:success', '.vote-form', (event, xhr, status) -> $(this).parent().find('.vote-count').html(xhr.count) $(this).replaceWith(xhr.content) $(".vote-form").on 'ajax:error', (event, xhr, status) -> # TODO: handle error on vote submit console.log event ...
Use a selector in call to $().on to allow delegation of events
Use a selector in call to $().on to allow delegation of events This means that we don't have to rebind to our new form on element replace
CoffeeScript
mit
thomas-mcdonald/qa,thomas-mcdonald/qa,thomas-mcdonald/qa,thomas-mcdonald/qa
970dc2873482db4d8de572eb1c6df1a1adb6db22
lib/open-on-github.coffee
lib/open-on-github.coffee
GitHubFile = require './github-file' module.exports = activate: -> return unless atom.project.getRepo()? atom.workspaceView.eachPane (pane) -> pane.command 'github:file', -> if itemPath = getActivePath() GitHubFile.fromPath(itemPath).open() pane.command 'github:blame', -> ...
GitHubFile = require './github-file' module.exports = activate: -> return unless atom.project.getRepo()? atom.workspaceView.eachPane (pane) -> pane.command 'open-on-github:file', -> if itemPath = getActivePath() GitHubFile.fromPath(itemPath).open() pane.command 'open-on-githu...
Rename commands in package main
Rename commands in package main
CoffeeScript
mit
atom/open-on-github
7e5351934f8adb9cfd8f5ff4eb9e9ced08823cc7
server/oneWaySync.coffee
server/oneWaySync.coffee
import UserEvents from '/imports/collections/userEvents.coffee' import Incidents from '/imports/collections/incidentReports.coffee' import Articles from '/imports/collections/articles.coffee' module.exports = (url)-> url = process.env.ONE_WAY_SYNC_URL + "/api/events-incidents-articles" console.log("syncing from: "...
import UserEvents from '/imports/collections/userEvents.coffee' import Incidents from '/imports/collections/incidentReports.coffee' import Articles from '/imports/collections/articles.coffee' module.exports = (url)-> url = process.env.ONE_WAY_SYNC_URL + "/api/events-incidents-articles" console.log("syncing from: "...
Improve merge strategy for one way sync
Improve merge strategy for one way sync
CoffeeScript
apache-2.0
ecohealthalliance/eidr-connect,ecohealthalliance/eidr-connect,ecohealthalliance/eidr-connect,ecohealthalliance/eidr-connect
50d957f713df159ce77f5d9d73f7c4244b5a1b78
client/app/lib/providers/computeplansmodalfooterlink.coffee
client/app/lib/providers/computeplansmodalfooterlink.coffee
kd = require 'kd' CustomLinkView = require '../customlinkview' trackEvent = require 'app/util/trackEvent' module.exports = class ComputePlansModalFooterLink extends CustomLinkView constructor: (options = {}, data) -> options.href or= '/Pricing' options.click = -> trackEvent 'Upgra...
kd = require 'kd' trackEvent = require 'app/util/trackEvent' CustomLinkView = require '../customlinkview' module.exports = class ComputePlansModalFooterLink extends CustomLinkView constructor: (options = {}, data) -> options.href or= '/Pricing' super options, data click: -> t...
Move click function to method
Move click function to method
CoffeeScript
agpl-3.0
kwagdy/koding-1,drewsetski/koding,gokmen/koding,gokmen/koding,drewsetski/koding,rjeczalik/koding,sinan/koding,jack89129/koding,szkl/koding,andrewjcasal/koding,acbodine/koding,andrewjcasal/koding,acbodine/koding,szkl/koding,szkl/koding,kwagdy/koding-1,jack89129/koding,cihangir/koding,cihangir/koding,rjeczalik/koding,szk...
e593787ce47ecfe5ee47a1b2aa324c74808e0af0
lib/extension-helper.coffee
lib/extension-helper.coffee
extensionsByFenceName = 'bash': 'sh' 'coffee': 'coffee' 'coffeescript': 'coffee' 'coffee-script': 'coffee' 'css': 'css' 'go': 'go' 'html': 'html' 'java': 'java' 'javascript': 'js' 'js': 'js' 'json': 'json' 'less': 'less' 'mustache': 'mustache' 'objc': 'm' 'objective-c': 'm' 'python': 'py...
extensionsByFenceName = 'bash': 'sh' 'coffee': 'coffee' 'coffeescript': 'coffee' 'coffee-script': 'coffee' 'css': 'css' 'go': 'go' 'html': 'html' 'java': 'java' 'javascript': 'js' 'js': 'js' 'json': 'json' 'less': 'less' 'mustache': 'mustache' 'objc': 'm' 'objective-c': 'm' 'python': 'py...
Support fenced yaml code blocks
Support fenced yaml code blocks Refs atom/language-gfm#17
CoffeeScript
mit
grimmer0125/markdown-preview-kramdown,makyo/markdown-preview,sctlee/markdown-preview,Galadirith/markdown-preview,rugk/markdown-preview,atom/markdown-preview,tkssharma/markdown-preview,ArnaudRinquin/markdown-preview
1fa7150d4620f1419b3f3ddbc163df090a7cb291
bokehjs/test/models/transforms/jitter_transform.coffee
bokehjs/test/models/transforms/jitter_transform.coffee
{expect} = require "chai" utils = require "../../utils" {Collections} = utils.require "base" Jitter = utils.require("models/transforms/jitter").Model describe "step_interpolator_transform module", -> source = {start: 0, end: 10} target = {start: 20, end: 80} generate_jitter = -> new Jitter({ width: 1...
{expect} = require "chai" utils = require "../../utils" {Collections} = utils.require "base" Jitter = utils.require("models/transforms/jitter").Model describe "Jitter transform module", -> source = {start: 0, end: 10} target = {start: 20, end: 80} generate_jitter = -> new Jitter({ width: 1, mea...
Use correct name for the description.
Use correct name for the description.
CoffeeScript
bsd-3-clause
phobson/bokeh,phobson/bokeh,azjps/bokeh,azjps/bokeh,draperjames/bokeh,jakirkham/bokeh,philippjfr/bokeh,Karel-van-de-Plassche/bokeh,dennisobrien/bokeh,phobson/bokeh,stonebig/bokeh,schoolie/bokeh,azjps/bokeh,DuCorey/bokeh,schoolie/bokeh,justacec/bokeh,timsnyder/bokeh,phobson/bokeh,phobson/bokeh,mindriot101/bokeh,Karel-va...
89243f46035d90d9cf7c212f376229d9be4522e3
src/flux/performance.coffee
src/flux/performance.coffee
{CrudConfig, makeSimpleStore, extendConfig} = require './helpers' _ = require 'underscore' PerformanceConfig = { exports: getStudentOfTask: (courseId, taskId) -> performances = @_get(courseId) students = _.chain(performances) .pluck('students') .flatten(true) .value() #...
{CrudConfig, makeSimpleStore, extendConfig} = require './helpers' _ = require 'underscore' allStudents = (performances) -> _.chain(performances) .pluck('students') .flatten(true) .value() PerformanceConfig = { exports: getStudent: (courseId, roleId) -> students = allStudents @_get(courseId)...
Add methods to find or retrieve all students
Add methods to find or retrieve all students
CoffeeScript
agpl-3.0
openstax/tutor-js,openstax/tutor-js,openstax/tutor-js,openstax/tutor-js,openstax/tutor-js
ff3d5021fef58eeb2c1afacdeef4b05b77505240
packages/rocketchat-chatops/client/tabBar.coffee
packages/rocketchat-chatops/client/tabBar.coffee
Meteor.startup -> RocketChat.callbacks.add 'enter-room', -> #if Meteor.user()?.services?.github?.id or Meteor.user()?.services?.gitlab?.id # console.log 'Adding chatops to tabbar' # RocketChat.TabBar.addButton # id: 'chatops-button' # i18nTitle: 'rocketchat-chatops:Chatops_Title' # icon: 'icon-code' ...
Meteor.startup -> RocketChat.callbacks.add 'enter-room', -> #if Meteor.user()?.services?.github?.id or Meteor.user()?.services?.gitlab?.id # console.log 'Adding chatops to tabbar' # RocketChat.TabBar.addButton # id: 'chatops-button' # i18nTitle: 'rocketchat-chatops:Chatops_Title' # icon: 'icon-code' ...
Set chatops width to 675
Set chatops width to 675
CoffeeScript
mit
inoio/Rocket.Chat,k0nsl/Rocket.Chat,lukaroski/traden,tlongren/Rocket.Chat,litewhatever/Rocket.Chat,apnero/tactixteam,AlecTroemel/Rocket.Chat,abduljanjua/TheHub,pkgodara/Rocket.Chat,ut7/Rocket.Chat,nishimaki10/Rocket.Chat,AlecTroemel/Rocket.Chat,galrotem1993/Rocket.Chat,marzieh312/Rocket.Chat,ggazzo/Rocket.Chat,Achaikos...
98f690a9c946de3886da5991234510d5b1f09c0f
menus/list-edit.cson
menus/list-edit.cson
# See https://atom.io/docs/latest/hacking-atom-package-word-count#menus for more details # TODO: Do we really want these in the context menu? Might be too much clutter. 'context-menu': 'atom-text-editor': [ { 'label': 'Select List Element' 'command': 'list-edit:select' } { 'label': 'Cut ...
# See https://atom.io/docs/latest/hacking-atom-package-word-count#menus for more details # TODO: Do we really want these in the context menu? Might be too much clutter. 'context-menu': 'atom-text-editor': [ { 'label': 'Select List Element' 'command': 'list-edit:select' } { 'label': 'Cut ...
Add list-select to Selection menu
Add list-select to Selection menu
CoffeeScript
mit
Oblosys/atom-list-edit
340076fa610aa9812f945145535658c7143d1c31
src/languages/python.coffee
src/languages/python.coffee
module.exports = { name: "Python" namespace: "python" scope: ['source.python'] ### Supported Grammars ### grammars: [ "Python" ] ### Supported extensions ### extensions: [ "py" ] options: max_line_length: type: 'integer' default: 79 description: "set maximum...
module.exports = { name: "Python" namespace: "python" scope: ['source.python'] ### Supported Grammars ### grammars: [ "Python" ] ### Supported extensions ### extensions: [ "py" ] options: max_line_length: type: 'integer' default: 79 description: "set maximum...
Fix typo in description for Python
Fix typo in description for Python
CoffeeScript
mit
prettydiff/atom-beautify,prettydiff/atom-beautify,Glavin001/atom-beautify,Glavin001/atom-beautify,prettydiff/atom-beautify,Glavin001/atom-beautify,Glavin001/atom-beautify,prettydiff/atom-beautify,Glavin001/atom-beautify
01ef418a07667404bad49253430521d34664e330
tutor/src/components/no-periods.cjsx
tutor/src/components/no-periods.cjsx
_ = require 'underscore' React = require 'react' BS = require 'react-bootstrap' TutorLink = require './link' CourseGroupingLabel = require './course-grouping-label' NoPeriods = React.createClass propTypes: courseId: React.PropTypes.string.isRequired noPanel: React.PropTypes.bool link: React.PropTypes...
_ = require 'underscore' React = require 'react' BS = require 'react-bootstrap' TutorLink = require './link' CourseGroupingLabel = require './course-grouping-label' NoPeriods = React.createClass propTypes: courseId: React.PropTypes.string.isRequired noPanel: React.PropTypes.bool link: React.PropTypes....
Use updated wording for help
Use updated wording for help
CoffeeScript
agpl-3.0
openstax/tutor-js,openstax/tutor-js,openstax/tutor-js,openstax/tutor-js,openstax/tutor-js
c3bbafccbd6f368aa2de47f45737a2e20334fc43
t9n.coffee
t9n.coffee
if Meteor.isClient if Package.ui Handlebars = Package.ui.Handlebars Handlebars.registerHelper 't9n', (x, prefix='') -> T9n.get(x, prefix) class T9n @get: (x, prefix='') -> _get(x, prefix) @map: (language, map) -> if not i18n.map[language] i18n.map[language] = {} _extend(i18n.map[la...
if Meteor.isClient if Package.ui Handlebars = Package.ui.Handlebars Handlebars.registerHelper 't9n', (x, prefix='') -> T9n.get(x, prefix) class T9n @get: (x, prefix='') -> _get(x, prefix) @map: (language, map) -> if not i18n.map[language] i18n.map[language] = {} _extend(i18n.map[la...
Revert "Try to put line back in"
Revert "Try to put line back in" This reverts commit 4ebf336378519a5b7462cbafbb7391f9d6cfba46.
CoffeeScript
mit
Differential/meteor-accounts-t9n
18c6e70fb0186d6be23f4657c8f5f18d8f48b341
test/spec_helpers.coffee
test/spec_helpers.coffee
util = require 'util' path = require 'path' express = require 'express' {spawn} = require 'child_process' exports.removeDirectory = (destination, callback) -> rm = spawn 'rm', ['-R', destination] rm.stderr.on 'data', (data) -> console.log "Error on directory removal: #{data}" rm.on 'exit', (-> callback?()) ...
util = require 'util' path = require 'path' express = require 'express' {spawn} = require 'child_process' exports.runServer = (appPath, callback = (->)) -> app = express.createServer() app.configure -> app.use express.static appPath app.set 'views', appPath app.set 'view options', layout: no app.re...
Remove rmdir from test helpers.
Remove rmdir from test helpers.
CoffeeScript
mit
hayesgm/brunch,kidaa/brunch,PeterDaveHello/brunch,lalomartins/brunch,brunch/brunch,justinwoo/brunch,rlugojr/brunch,Flaise/brunch,ondreian/brunch,hellyeahllc/brunch
b5f5d878137d0e5af063a1751f069a9395f02485
menus/language-idris.cson
menus/language-idris.cson
'menu': [ { 'label': 'Packages' 'submenu': [ 'label': 'Idris' 'submenu': [ { 'label': 'Typecheck' 'command': 'language-idris:typecheck' } ] ] } ] 'context-menu': 'atom-text-e...
'menu': [ { 'label': 'Packages' 'submenu': [ 'label': 'Idris' 'submenu': [ { 'label': 'Typecheck' 'command': 'language-idris:typecheck' } { 'label': 'Open REPL' ...
Add additional entries to the Idris main menu
Add additional entries to the Idris main menu In particular: Apropos, Open REPL, Show Holes and Stop Compiler All these are commands which are not specific to a particular location in the idris file being edited.
CoffeeScript
mit
idris-hackers/atom-language-idris
93ebfb6a4fd878246d39a81a14ae02c4629d0a6a
app/assets/javascripts/admin/services/query_persistence.js.coffee
app/assets/javascripts/admin/services/query_persistence.js.coffee
angular.module("admin.indexUtils").factory 'QueryPersistence', (localStorageService)-> new class QueryPersistence storageKey: '' storableFilters: [] constructor: -> localStorageService.setStorageType("sessionStorage") getStoredFilters: -> localStorageService.get(@storageKey) || {} s...
angular.module("admin.indexUtils").factory 'QueryPersistence', (localStorageService)-> new class QueryPersistence storageKey: '' storableFilters: [] constructor: -> localStorageService.setStorageType("sessionStorage") getStoredFilters: -> localStorageService.get(@storageKey) || {} s...
Improve checking for presence of saved filters
Improve checking for presence of saved filters
CoffeeScript
agpl-3.0
lin-d-hop/openfoodnetwork,Matt-Yorkley/openfoodnetwork,lin-d-hop/openfoodnetwork,lin-d-hop/openfoodnetwork,lin-d-hop/openfoodnetwork,mkllnk/openfoodnetwork,Matt-Yorkley/openfoodnetwork,mkllnk/openfoodnetwork,openfoodfoundation/openfoodnetwork,Matt-Yorkley/openfoodnetwork,mkllnk/openfoodnetwork,openfoodfoundation/openfo...
c7da6b33cb81e54b34bbf177dbb9c7193c23432a
test/test_coffeelint.coffee
test/test_coffeelint.coffee
path = require 'path' vows = require 'vows' assert = require 'assert' coffeelint = require path.join('..', 'lib', 'coffeelint') vows.describe('coffeelint').addBatch({ "CoffeeLint's version number" : topic : coffeelint.VERSION 'exists' : (version) -> assert.isString(version) "Co...
path = require 'path' vows = require 'vows' assert = require 'assert' coffeelint = require path.join('..', 'lib', 'coffeelint') vows.describe('coffeelint').addBatch({ "CoffeeLint's version number" : topic : coffeelint.VERSION 'exists' : (version) -> assert.isString(version) "Co...
Test to ensure compilation issues are caught.
Test to ensure compilation issues are caught.
CoffeeScript
mit
cskeppstedt/coffeelint,sagemathinc/coffeelint-cjsx,sgentle/coffeelint,AsaAyers/testing-default-branch,AsaAyers/coffeelint,mitar/coffeelint,swang/coffeelint,emorikawa/coffeelint-cjsx,zmbush/coffeelint,lydell/coffeelint,clutchski/coffeelint,machadoit/coffeelint
1689d47fc46ef2d652dfae360c8173b5fd028e4b
test/integration/setup_teardown.coffee
test/integration/setup_teardown.coffee
{parallel} = require 'async' cleaner = require '../cleaner' {wd40, browser} = require 'wd40' base_url = process.env.CU_TEST_URL ? 'http://localhost:3001' login_url = "#{base_url}/login" logout_url = "#{base_url}/logout" before (done) -> console.log "[scraperwiki global before]" parallel [ (cb) -> ...
{parallel} = require 'async' cleaner = require '../cleaner' {wd40, browser} = require 'wd40' base_url = process.env.CU_TEST_URL ? 'http://localhost:3001' login_url = "#{base_url}/login" logout_url = "#{base_url}/logout" before (done) -> console.log "[scraperwiki global before]" parallel [ (cb) -> ...
Improve behaviour if there is a selenium error
Improve behaviour if there is a selenium error Old behaviour: tests would all try to run and fail because selenium was broken. New behaviour: beforeall hook fails correctly and we get just one error telling us the problem.
CoffeeScript
agpl-3.0
scraperwiki/custard,scraperwiki/custard,scraperwiki/custard
11da15ac991afc2d7cf2fcbda40e2b870b5fc827
benchmark/benchmark-bootstrap.coffee
benchmark/benchmark-bootstrap.coffee
{$$} = require 'space-pen' nakedLoad 'jasmine' nakedLoad 'jasmine-html' nakedLoad 'jasmine-focused' $ = require 'jquery' document.title = "Benchmark Suite" $('head').append $$ -> @link rel: "stylesheet", type: "text/css", href: "static/jasmine.css" $('body').append $$ -> @div id: 'jasmine_runner' @div id: 'ja...
{$$} = require 'space-pen' nakedLoad 'jasmine' nakedLoad 'jasmine-html' nakedLoad 'jasmine-focused' $ = require 'jquery' document.title = "Benchmark Suite" $('head').append $$ -> @link rel: "stylesheet", type: "text/css", href: "static/jasmine.css" $('body').append $$ -> @div id: 'jasmine_runner' @div id: 'ja...
Exit app if exitAppWhenFinished is set
Exit app if exitAppWhenFinished is set
CoffeeScript
mit
GHackAnonymous/atom,beni55/atom,sxgao3001/atom,niklabh/atom,florianb/atom,bsmr-x-script/atom,charleswhchan/atom,deepfox/atom,me-benni/atom,darwin/atom,nvoron23/atom,FoldingText/atom,hagb4rd/atom,synaptek/atom,dannyflax/atom,Jdesk/atom,darwin/atom,sxgao3001/atom,gisenberg/atom,PKRoma/atom,kc8wxm/atom,GHackAnonymous/atom...