commit
stringlengths
40
40
old_file
stringlengths
9
134
new_file
stringlengths
9
134
old_contents
stringlengths
0
2.21k
new_contents
stringlengths
34
3.19k
subject
stringlengths
14
340
message
stringlengths
15
1.43k
lang
stringclasses
1 value
license
stringclasses
13 values
repos
stringlengths
9
29k
3bb444aa325bf4201b09bb574520d10d72cfd27e
apps/artwork/client/below-the-fold.coffee
apps/artwork/client/below-the-fold.coffee
_ = require 'underscore' sd = require('sharify').data Backbone = require 'backbone' Artworks = require '../../../collections/artworks.coffee' LayeredSearchView = require('./layered-search.coffee').LayeredSearchView SaleView = require './sale.coffee' module.exports = class Below...
_ = require 'underscore' sd = require('sharify').data Backbone = require 'backbone' Artworks = require '../../../collections/artworks.coffee' LayeredSearchView = require('./layered-search.coffee').LayeredSearchView SaleView = require './sale.coffee' module.exports = class Below...
Enable the fair setup and pass in the fair to the layered search view
Enable the fair setup and pass in the fair to the layered search view
CoffeeScript
mit
izakp/force,anandaroop/force,kanaabe/force,cavvia/force-1,kanaabe/force,xtina-starr/force,izakp/force,yuki24/force,kanaabe/force,eessex/force,artsy/force,dblock/force,anandaroop/force,artsy/force,damassi/force,oxaudo/force,cavvia/force-1,yuki24/force,anandaroop/force,damassi/force,cavvia/force-1,yuki24/force,erikdstock...
5e6667279849c8ccd79c6320fb8e1e7dcbb429be
lib/panel-view.coffee
lib/panel-view.coffee
class PanelView extends HTMLElement constructor: -> module.exports = PanelView
class PanelView extends HTMLElement constructor: -> registerModel: (Model)-> @Model = Model @Model.View = this createdCallback: -> this.id = 'linter-panel' render: (Messages)-> module.exports = PanelView
Add basic methods to PanelView
:new: Add basic methods to PanelView
CoffeeScript
mit
AsaAyers/linter,blakeembrey/linter,Arcanemagus/linter,atom-community/linter,UltCombo/linter,AtomLinter/Linter,josa42/Linter,levity/linter,steelbrain/linter,e-jigsaw/Linter,DanPurdy/linter,elkeis/linter,iam4x/linter,mdgriffith/linter,shawninder/linter,kaeluka/linter,simurai/linter-plus,JohnMurga/linter
7801d8dd26055f718c05da9debde3ac1a7a04680
src/scripts/models/search-results.coffee
src/scripts/models/search-results.coffee
define (require) -> Backbone = require('backbone') settings = require('cs!settings') SEARCH_URI = "#{location.protocol}//#{settings.cnxarchive.host}:#{settings.cnxarchive.port}/search" return class SearchResults extends Backbone.Model url: () -> "#{SEARCH_URI}#{@query}" defaults: query: ...
define (require) -> Backbone = require('backbone') settings = require('cs!settings') SEARCH_URI = "#{location.protocol}//#{settings.cnxarchive.host}:#{settings.cnxarchive.port}/search" return class SearchResults extends Backbone.Model url: () -> "#{SEARCH_URI}#{@query}" defaults: query: ...
Format search query to display authorID with author's full name
Format search query to display authorID with author's full name
CoffeeScript
agpl-3.0
katalysteducation/webview,katalysteducation/webview,carolinelane10/webview,dak/webview,Connexions/webview,Connexions/webview,katalysteducation/webview,dak/webview,Connexions/webview,katalysteducation/webview,Connexions/webview,dak/webview
2a3680219bb5a4d35aa9b98ba2a2c43855aea27a
app/assets/javascripts/copy_to_clipboard.js.coffee
app/assets/javascripts/copy_to_clipboard.js.coffee
#= require clipboard $ -> clipboard = new Clipboard '.js-clipboard-trigger', text: (trigger) -> $target = $(trigger.nextElementSibling || trigger.previousElementSibling) $target.data('clipboard-text') || $target.text().trim() clipboard.on 'success', (e) -> $(e.trigger). tooltip(trigger: ...
#= require clipboard $ -> clipboard = new Clipboard '.js-clipboard-trigger', text: (trigger) -> $target = $(trigger.nextElementSibling || trigger.previousElementSibling) $target.data('clipboard-text') || $target.text().trim() clipboard.on 'success', (e) -> $(e.trigger). tooltip(trigger: ...
Add a fallback for Safari copy-to-clipboard
Add a fallback for Safari copy-to-clipboard Also, hide the tooltip in a less stupid way. Closes #3547
CoffeeScript
mit
larryli/gitlabhq,openwide-java/gitlabhq,iiet/iiet-git,mr-dxdy/gitlabhq,jrjang/gitlabhq,cui-liqiang/gitlab-ce,Datacom/gitlabhq,dwrensha/gitlabhq,screenpages/gitlabhq,stoplightio/gitlabhq,darkrasid/gitlabhq,koreamic/gitlabhq,mmkassem/gitlabhq,yatish27/gitlabhq,jrjang/gitlabhq,LUMC/gitlabhq,martijnvermaat/gitlabhq,LUMC/gi...
3508d2d571603a44b5ce22e6c2dbcfe5961e38f4
settings/language-viml.cson
settings/language-viml.cson
".source.viml": editor: commentStart: '" '
".source.viml": editor: commentStart: '" ' increaseIndentPattern: "(?:^|\\s)(?:if|else|elseif|for|function!?|while)(?:\\s|$)" decreaseIndentPattern: "(?:^|\\s)(?:endif|endfor|endfunction|endwhile)(?:\\s|$)"
Add editor settings for adjusting indent/outdent
Add editor settings for adjusting indent/outdent
CoffeeScript
mit
Alhadis/language-viml
ce349d3642f09eeb779e52a83c32fd9770dbc2b5
app/assets/javascripts/app/jobs.js.coffee
app/assets/javascripts/app/jobs.js.coffee
$ -> $("#slider").slider value: 1 min: 1 max: 3 slide: (event, ui) -> num = ui.value+1 verbosity = while num -= 1 then 'v' $("#job_verbosity").val verbosity.join('') if $('#job-results').size() > 0 div = $ '#job-results' project_id = div.data 'project_id' job...
$ -> $("#slider").slider value: 3 min: 1 max: 3 slide: (event, ui) -> num = ui.value+1 verbosity = while num -= 1 then 'v' $("#job_verbosity").val verbosity.join('') if $('#job-results').size() > 0 div = $ '#job-results' project_id = div.data 'project_id' job...
Set default vebosity to 3
Set default vebosity to 3
CoffeeScript
mit
diginside/strano,xinghao/strano,express42/strano,99monkeys/deploybird,joelmoss/strano,joelmoss/strano,joelmoss/strano,express42/strano,99monkeys/deploybird,xinghao/strano,express42/strano,xinghao/strano,diginside/strano,express42/strano,xinghao/strano,99monkeys/deploybird,diginside/strano,99monkeys/deploybird
508c6d8c85237991d264937c5393f3f5c6cf3547
app/assets/javascripts/supplies.js.coffee
app/assets/javascripts/supplies.js.coffee
$( -> $('a.pdf-languages-trigger').click -> $(this).toggleClass 'active' $('.download-languages').toggleClass 'active' categories = [ { href: '#tab-essentials-content', contentSelector: '.tab-essentials-content', anchorSelector: '[href="#tab-essentials-content"]' } { href: '#tab-useful-content', conten...
categories = [ { href: '#tab-essentials-content', contentSelector: '.tab-essentials-content', anchorSelector: '[href="#tab-essentials-content"]' } { href: '#tab-useful-content', contentSelector: '.tab-useful-content', anchorSelector: '[href="#tab-useful-content"]' } { href: '#tab-personal-content', contentSelector: ...
Hide useful and personal supplies when there's no hash in the url.
Hide useful and personal supplies when there's no hash in the url.
CoffeeScript
mit
openoakland/oak72,openoakland/oak72,city72/city-72,COLLIER72/COLLIER72,aubreyworley/city-72,city72/city-72,city72/city-72,aubreyworley/city-72,jmay805/SJFD72,COLLIER72/COLLIER72,aubreyworley/city-72,COLLIER72/COLLIER72,COLLIER72/COLLIER72,aubreyworley/city-72,jmay805/SJFD72,jmay805/SJFD72,jmay805/SJFD72,aubreyworley/ci...
4e425c15c5d8064106658e03fb47ba8481098358
app/src/utils/storage/secure_store.coffee
app/src/utils/storage/secure_store.coffee
# Secure version of the ledger.storage.ChromeStore. This store uses AES encryption for storing keys and data class @ledger.storage.SecureStore extends ledger.storage.ChromeStore # @param [String] name The store name # @param [String] key The secure key used to encrypt and decrypt data with AES constructor: (name...
# Secure version of the ledger.storage.ChromeStore. This store uses AES encryption for storing keys and data class @ledger.storage.SecureStore extends ledger.storage.ChromeStore # @param [String] name The store name # @param [String] key The secure key used to encrypt and decrypt data with AES constructor: (name...
Fix secure store get keys
Fix secure store get keys
CoffeeScript
mit
LedgerHQ/ledger-wallet-chrome,LedgerHQ/ledger-wallet-chrome
65cad6aefe86f8a6bb7eaa077a6bc018c3f12402
lib/assets/javascripts/_link.js.coffee
lib/assets/javascripts/_link.js.coffee
class Link constructor: (@page, @$link) -> allows_process: (event) -> !(this._cross_origin_link(event.currentTarget) || this._non_standard_click(event)) process: -> type = if (@$link.data('push') == 'partial') 'partial' else 'template' @page.load(@$link.attr("href"), @$link.da...
class Link constructor: (@page, @$link) -> allows_process: (event) -> !(this._cross_origin_link(event.currentTarget) || this._non_standard_click(event)) process: -> type = if (@$link.data('push') == 'partial') 'partial' else 'template' @page.load(@$link.attr("href"), @$link.da...
Check for port change during link processing
Check for port change during link processing
CoffeeScript
mit
sergcen/wiselinks,demillir/wiselinks,igor-alexandrov/wiselinks,cfiorini/wiselinks,phlegx/wiselinks,sergcen/wiselinks,kshmir/wiselinks,sergcen/wiselinks,gnagel/wiselinks,incubus/wiselinks,kshmir/wiselinks,gnagel/wiselinks,artirix/wiselinks,shivashankar-ror/wiselinks,stuartbates/wiselinks,demillir/wiselinks,artirix/wisel...
f955ad2f3c98a8b068613e2aaa7d95bdb13ae7d1
server/startup/migrations/v7.coffee
server/startup/migrations/v7.coffee
Meteor.startup -> Migrations.add version: 7 up: -> console.log 'Populate urls in messages' query = ChatMessage.find({ 'urls.0': { $exists: true }, urls: { $type: 2 } }) count = query.count() query.forEach (message, index) -> console.log "#{index + 1} / #{count}" message.urls = message.urls.ma...
Meteor.startup -> Migrations.add version: 7 up: -> console.log 'Populate urls in messages' query = ChatMessage.find({ 'urls.0': { $exists: true } }) count = query.count() query.forEach (message, index) -> console.log "#{index + 1} / #{count}" message.urls = message.urls.map (url) -> if _...
Update migration 7 to interate over all messages with urls
Update migration 7 to interate over all messages with urls
CoffeeScript
mit
Achaikos/Rocket.Chat,4thParty/Rocket.Chat,ggazzo/Rocket.Chat,leohmoraes/Rocket.Chat,pitamar/Rocket.Chat,gitaboard/Rocket.Chat,lonbaker/Rocket.Chat,mhurwi/Rocket.Chat,madmanteam/Rocket.Chat,Gudii/Rocket.Chat,himeshp/Rocket.Chat,Kiran-Rao/Rocket.Chat,Dianoga/Rocket.Chat,Maysora/Rocket.Chat,pachox/Rocket.Chat,pkgodara/Roc...
28c2557249d34a4e194ea3df2d817782ff464016
keymaps/git.cson
keymaps/git.cson
'atom-workspace': 'cmd-shift-c': 'git:toggle-git-panel' '.git-StagingView': 'left': 'git:focus-diff-view' '.git-CommitView-editor atom-text-editor:not([mini])': 'cmd-enter': 'git:commit' 'ctrl-enter': 'git:commit' '.git-FilePatchView': '/': 'git:toggle-patch-selection-mode' 'tab': 'git:select-next-hunk' ...
'.platform-darwin': 'cmd-shift-c': 'git:toggle-git-panel' '.platform-win32, .platform-linux': 'alt-shift-c': 'git:toggle-git-panel' '.git-StagingView': 'left': 'git:focus-diff-view' '.git-CommitView-editor atom-text-editor:not([mini])': 'cmd-enter': 'git:commit' 'ctrl-enter': 'git:commit' '.git-FilePatchV...
Add menu and Win32/Linux keybindings
Add menu and Win32/Linux keybindings
CoffeeScript
mit
atom/github,atom/github,atom/github
03486ce9d5b5926ec1ade7c3ad7667d6f3113c33
src/tools/Pan.coffee
src/tools/Pan.coffee
{Tool} = require './base' {createShape} = require '../core/shapes' module.exports = class Pan extends Tool name: 'Pan' iconName: 'pan' usesSimpleAPI: false didBecomeActive: (lc) -> unsubscribeFuncs = [] @unsubscribe = => for func in unsubscribeFuncs func() unsubscribeFuncs.push lc...
{Tool} = require './base' {createShape} = require '../core/shapes' module.exports = class Pan extends Tool name: 'Pan' iconName: 'pan' usesSimpleAPI: false didBecomeActive: (lc) -> unsubscribeFuncs = [] @unsubscribe = => for func in unsubscribeFuncs func() unsubscribeFuncs.push lc...
Fix pan tool on retina
Fix pan tool on retina
CoffeeScript
bsd-2-clause
shawinder/literallycanvas,aiwenlg007/literallycanvas,irskep/literallycanvas,bartuspan/literallycanvas,aiwenlg007/literallycanvas,bartuspan/literallycanvas,shawinder/literallycanvas,literallycanvas/literallycanvas
335bdeeac256860673d93583feff041a54be7427
src/scripts/ive.coffee
src/scripts/ive.coffee
# Description: # To create something that's… that's genuinely new, # you have to… to start again. # # Dependencies: # None # # Configuration: # None # # Commands: # <anything Ivey> - Display an Ive # # Author: # arbales ives = [ "http://www.blogcdn.com/www.engadget.com/media/2012/03/jony-ive-10-20-09.jpg...
# Description: # To create something that's… that's genuinely new, # you have to… to start again. # # Dependencies: # None # # Configuration: # None # # Commands: # <anything Ivey> - Display an Ive # # Author: # arbales ives = [ "http://www.blogcdn.com/www.engadget.com/media/2012/03/jony-ive-10-20-09.jpg...
Remove superflous additions to Jony's regex per @tombell.
Remove superflous additions to Jony's regex per @tombell.
CoffeeScript
mit
ericjsilva/hubot-scripts,jhubert/hubot-scripts,davidsulpy/hubot-scripts,github/hubot-scripts,flores/hubot-scripts,wsoula/hubot-scripts,phillipalexander/hubot-scripts,DataDog/hubot-scripts,cycomachead/hubot-scripts,contolini/hubot-scripts,1stdibs/hubot-scripts,ryantomlinson/hubot-scripts,magicstone1412/hubot-scripts,fro...
04ddb9056960768c987956de3bf30d5e5bf1d462
app/controllers/home_page.coffee
app/controllers/home_page.coffee
Page = require 'controllers/page' Api = require 'zooniverse/lib/api' class HomePage extends Page el: $('.home') className: 'home' template: require 'views/home' elements: '.participants': 'participants' '.images': 'images' constructor: -> super @html @template Api.current.get '/proj...
Page = require 'controllers/page' Api = require 'zooniverse/lib/api' FILMING = true class HomePage extends Page el: $('.home') className: 'home' template: require 'views/home' elements: '.participants': 'participants' '.images': 'images' constructor: -> super @html @template Api.cu...
Set metrics to zero for now
Set metrics to zero for now
CoffeeScript
apache-2.0
drphilmarshall/Lens-Zoo,drphilmarshall/Lens-Zoo,zooniverse/Lens-Zoo,zooniverse/Lens-Zoo,zooniverse/Lens-Zoo,drphilmarshall/Lens-Zoo,drphilmarshall/Lens-Zoo,zooniverse/Lens-Zoo
56c978e331917a82a009162f6aa99dd525370f73
src/coffee/run.coffee
src/coffee/run.coffee
Import = require '../lib/import' CONS = require '../lib/constants' fs = require 'fs' argv = require('optimist') .usage('Usage: $0 --projectKey key --clientId id --clientSecret secret --csv file --language lang --publish') .default('lang', 'en') .describe('projectKey', 'your SPHERE.IO project-key') .describe('cl...
Import = require '../lib/import' package_json = require '../package.json' CONS = require '../lib/constants' fs = require 'fs' argv = require('optimist') .usage('Usage: $0 --projectKey key --clientId id --clientSecret secret --csv file --language lang --publish') .default('lang', 'en') .describe('projectKey', 'you...
Send name and version as user agent.
Send name and version as user agent.
CoffeeScript
mit
sphereio/sphere-node-product-csv-sync,sphereio/sphere-node-product-csv-sync,sphereio/sphere-node-product-csv-sync
57c8da3a3e3ed971f5439479dae095619693fe7c
src/coffee/producttypegenerator.coffee
src/coffee/producttypegenerator.coffee
FS = require 'fs' Q = require 'q' ### Class for generating JSON product type representations from CSV files. ### class ProductTypeGenerator _options = {} constructor: (options = {}) -> @_options = options ### Creates sphere product type representation files using JSON format. @param {array} types En...
FS = require 'fs' Q = require 'q' ### Class for generating JSON product type representations from CSV files. ### class ProductTypeGenerator constructor: (options = {}) -> @_options = options ### Creates sphere product type representation files using JSON format. @param {array} types Entire types CSV ...
Remove explicit variable declaration as its done by cs anyhow.
Remove explicit variable declaration as its done by cs anyhow.
CoffeeScript
mit
sphereio/sphere-product-type-json-generator,sphereio/sphere-product-type-json-generator,sphereio/sphere-product-type-json-generator
3601f069b22a4cc80a2ea6aa1fe42e32c0fbf4bc
lib/minimap-selection.coffee
lib/minimap-selection.coffee
MinimapSelectionView = require './minimap-selection-view' module.exports = active: false views: {} activate: (state) -> try atom.packages.activatePackage('minimap').then (minimapPackage) => @minimap = minimapPackage.mainModule return @deactivate() unless @minimap.versionMatch('>= 3.5....
MinimapSelectionView = require './minimap-selection-view' module.exports = active: false views: {} activate: (state) -> try atom.packages.activatePackage('minimap').then (minimapPackage) => @minimap = minimapPackage.mainModule return @deactivate() unless @minimap.versionMatch('>= 3.5....
Remove call to deprecated method
:bug: Remove call to deprecated method
CoffeeScript
mit
atom-minimap/minimap-selection
210186af4339a47ef30ad3ee4bfb28214c13f29e
src/coffee/metric-updater.coffee
src/coffee/metric-updater.coffee
data = metrics: anon: colour: 'orange', number: 'loading...', title: 'Anonymous Visitors' , normal: colour: 'blue', number: 'loading...', title: 'Normal Visitors' , premium: colour: 'green', number: 'loading...', title: 'Premium Visitors' source = $('#metric-block-template').htm...
data = metrics: anon: colour: 'orange', number: '...', title: 'Anonymous Visitors' , normal: colour: 'blue', number: '...', title: 'Logged-in Visitors' , premium: colour: 'green', number: '...', title: 'Premium Visitors' source = $('#metric-block-template').html() template = Han...
Rename normal users to logged-in users, loading now ...
Rename normal users to logged-in users, loading now ...
CoffeeScript
agpl-3.0
meducation/dashboard-app
cc4131b97afb047db024e4056b4df93bc6944116
source/assets/javascripts/application.coffee
source/assets/javascripts/application.coffee
# ************************************* # # Application # -> Manifest # # ************************************* # ------------------------------------- # Namespace # ------------------------------------- #= require presenter # ------------------------------------- # Routes # ----------------------------------...
# ************************************* # # Application # -> Manifest # # ************************************* # ------------------------------------- # Namespace # ------------------------------------- #= require presenter # ------------------------------------- # Routes # ----------------------------------...
Add comment heading to document ready
Add comment heading to document ready
CoffeeScript
mit
drewbarontini/gifpoint,drewbarontini/gifpoint
7443cfa64b8947f21b0e153a690b55c3f979014e
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'>The performance forecast is an estimate of your understanding of a topic.</p> <p key='s2'> It is personalized display based on your answers to reading questions, homework problems, and previous prac...
Set messages to correct phrases
Set messages to correct phrases
CoffeeScript
agpl-3.0
openstax/tutor-js,openstax/tutor-js,openstax/tutor-js,openstax/tutor-js,openstax/tutor-js
2f4c960ead02cfb70872e978e26ffe748498fe2a
src/trix/filters/gallery_filter.coffee
src/trix/filters/gallery_filter.coffee
Trix.galleryFilter = (snapshot) -> filter = new Filter snapshot filter.perform() filter.getSnapshot() class Filter constructor: (snapshot) -> {@document, @selectedRange} = snapshot perform: -> @removeGalleryAttribute() @applyGalleryAttribute() getSnapshot: -> {@document, @selectedRange} ...
Trix.galleryFilter = (snapshot) -> filter = new Filter snapshot filter.perform() filter.getSnapshot() class Filter constructor: (snapshot) -> {@document, @selectedRange} = snapshot perform: -> @removeGalleryAttribute() @applyGalleryAttribute() getSnapshot: -> {@document, @selectedRange} ...
Adjust selection when inserting gallery block breaks
Adjust selection when inserting gallery block breaks
CoffeeScript
mit
basecamp/trix,basecamp/trix,basecamp/trix,basecamp/trix
bfb82d6107c52945ac21b78179e2b142f4e0b730
src/view/bindings/route_binding.coffee
src/view/bindings/route_binding.coffee
#= require ./abstract_binding class Batman.DOM.RouteBinding extends Batman.DOM.AbstractBinding onAnchorTag: false onlyObserve: Batman.BindingDefinitionOnlyObserve.Data @accessor 'dispatcher', -> @view.lookupKeypath('dispatcher') || Batman.App.get('current.dispatcher') bind: -> if (@node.nodeName is '...
#= require ./abstract_binding class Batman.DOM.RouteBinding extends Batman.DOM.AbstractBinding onAnchorTag: false onlyObserve: Batman.BindingDefinitionOnlyObserve.Data @accessor 'dispatcher', -> @view.lookupKeypath('dispatcher') || Batman.App.get('current.dispatcher') bind: -> if @node.nodeName in ['...
Switch to using in so coffeescript can optimize
Switch to using in so coffeescript can optimize
CoffeeScript
mit
getshuvo/batman,getshuvo/batman
0bbf22982eec0255ca0f0319a2c18f0b4d26b679
app/assets/javascripts/overlay.js.coffee
app/assets/javascripts/overlay.js.coffee
class @Overlay constructor: (contentSelector, options) -> @contentSelector = contentSelector @options = options || {} defaults = domType: OverlayDomWrapper dimensionsType: OverlayDimensions @options = $.extend(defaults, @options) @dom = new @options.domType() $('body').append(@dom....
class @Overlay constructor: (contentSelector, options) -> @contentSelector = contentSelector @options = options || {} defaults = domType: OverlayDomWrapper dimensionsType: OverlayDimensions @options = $.extend(defaults, @options) @dom = new @options.domType() $('body').append(@dom....
Reset mask height on close
Reset mask height on close Otherwise it will never shrink after opening long content
CoffeeScript
mit
RobinClowers/photo-album,RobinClowers/photo-album,RobinClowers/photo-album,RobinClowers/photo-album
4abce39b6f265a8242337a3ca0792b10dc2df326
app/assets/javascripts/app.js.coffee
app/assets/javascripts/app.js.coffee
#= require env #= require jquery #= require jquery/jquery-migrate #= require jquery/jquery.cookies.js #= require i18n.js #= require bootstrap #= require bootstrap-select #= require custom-bootstrap.js.coffee #= require function #= require map-overlay.js #= require handlebars #= require ember #= require ember-data #= re...
#= require env #= require jquery #= require jquery/jquery-migrate #= require jquery/jquery.cookies.js #= require i18n.js #= require bootstrap #= require bootstrap-select #= require custom-bootstrap.js.coffee #= require function #= require map-overlay.js #= require handlebars #= require ember #= require ember-data #= re...
Change default local for JS I18n.
Change default local for JS I18n.
CoffeeScript
agpl-3.0
sozialhelden/wheelmap,sozialhelden/wheelmap,sozialhelden/wheelmap,sozialhelden/wheelmap,sozialhelden/wheelmap
dd2bad95c5545a27ae2645b53dd8234584fbaf66
coffees/src/streaming_api.coffee
coffees/src/streaming_api.coffee
express = require('express') module.exports = -> router = express.Router() router.get '/framestream', (req, res) -> req.socket.setTimeout Infinity messageCount = 1 subscriberCount = 0 subscriber = require('./redis_client')() subscriber.subscribe 'updates' subscriber.on 'error', (err) ->...
express = require('express') module.exports = -> router = express.Router() router.get '/framestream', (req, res) -> req.socket.setTimeout 1000*1000 messageCount = 1 subscriberCount = 0 subscriber = require('./redis_client')() subscriber.subscribe 'updates' subscriber.on 'error', (err) -...
Set finite timeout for framestream
Set finite timeout for framestream
CoffeeScript
mit
RedBulli/LiveSnooker-Server,RedBulli/LiveSnooker-Server
9062708ad149c898737a02ef9aeb98bd68c74f2b
lib/wrap-guide-view.coffee
lib/wrap-guide-view.coffee
{View} = require 'space-pen' $ = require 'jquery' _ = require 'underscore' module.exports = class WrapGuideView extends View @activate: -> rootView.eachEditor (editor) => @appendToEditorPane(rootView, editor) if editor.attached @appendToEditorPane: (rootView, editor) -> if underlayer = editor.find('...
{View} = require 'space-pen' $ = require 'jquery' _ = require 'underscore' module.exports = class WrapGuideView extends View @activate: -> rootView.eachEditor (editor) => @appendToEditorPane(rootView, editor) if editor.attached @appendToEditorPane: (rootView, editor) -> if underlayer = editor.find('...
Set left as number without px suffix
Set left as number without px suffix
CoffeeScript
mit
atom/wrap-guide
3dae61b3edfd0d4e46e50e68c8fe47b2563968d1
menus/tree-view.cson
menus/tree-view.cson
'context-menu': '.tree-view': 'Add file': 'tree-view:add'
'context-menu': '.tree-view': 'Add File': 'tree-view:add' 'Rename': 'tree-view:move' 'Delete': 'tree-view:remove'
Add rename and delete menu items
Add rename and delete menu items
CoffeeScript
mit
tbryant/tree-view,matthewbauer/tree-view,learn-co/learn-ide-tree,ayumi/tree-view,laituan245/tree-view,ALEXGUOQ/tree-view,rajendrant/tree-view-remote,atom/tree-view,thgaskell/tree-view,tomekwi/tree-view,benjaminRomano/tree-view,cgrabowski/webgl-studio-tree-view,samu/tree-view,jarig/tree-view,jasonhinkle/tree-view,pombre...
b1401dd14b32c0866d07cc5acd5709e1534de1d6
app/assets/javascripts/neighborly/users/payments.js.coffee
app/assets/javascripts/neighborly/users/payments.js.coffee
Neighborly.Users ?= {} Neighborly.Users.Payments = modules: -> [] init: Backbone.View.extend el: '.user-payments-content' initialize: -> $accounts = $(".account-method") for account in $accounts $account = $(account) if $account.data('path') $.get($account.data('path...
Neighborly.Users ?= {} Neighborly.Users.Payments = modules: -> [] init: Backbone.View.extend el: '.user-payments-content' initialize: -> $accounts = $(".account-method") for account in $accounts $account = $(account) if $account.data('path') $.get($account.data('path...
Disable inputs in "My bank account" configuration form under settings
Disable inputs in "My bank account" configuration form under settings
CoffeeScript
mit
gustavoguichard/neighborly,gustavoguichard/neighborly,gustavoguichard/neighborly
2ba939db86db4e3a295e64447261bb0c4ba68615
community/server/src/main/coffeescript/test/neo4j/webadmin/modules/databrowser/views/TestPropertyContainerView.coffee
community/server/src/main/coffeescript/test/neo4j/webadmin/modules/databrowser/views/TestPropertyContainerView.coffee
define ['lib/amd/Backbone','neo4j/webadmin/modules/databrowser/views/PropertyContainerView'], (Backbone, PropertyContainerView) -> describe "PropertyContainerView", -> it "recognizes non-quoted strings as strings", -> pcv = new PropertyContainerView(template:null) expect(pcv.shouldBeConvertedToStri...
define ['lib/amd/Backbone','neo4j/webadmin/modules/databrowser/views/PropertyContainerView'], (Backbone, PropertyContainerView) -> # TODO: Refactor out the "shouldBeConvertedToString" into it's own class describe "PropertyContainerView", -> it "recognizes ascii characters as strings", -> pcv = new Prope...
Split webadmin string recognizer into multiple tests.
Split webadmin string recognizer into multiple tests.
CoffeeScript
apache-2.0
HuangLS/neo4j,HuangLS/neo4j,HuangLS/neo4j,HuangLS/neo4j,HuangLS/neo4j
834987fdaacb64968e54ebe795a176fb595bc2bc
keymaps/go-to-line.cson
keymaps/go-to-line.cson
'.platform-darwin': 'ctrl-g': 'go-to-line:toggle' '.platform-win32': 'ctrl-g': 'go-to-line:toggle' '.platform-linux': 'ctrl-i': 'go-to-line:toggle' '.go-to-line .mini.editor input': 'enter': 'core:confirm', 'escape': 'core:cancel' '.platform-darwin .go-to-line .mini.editor input': 'cmd-w': 'core:cancel'...
'.platform-darwin, .platform-win32, .platform-linux': 'ctrl-g': 'go-to-line:toggle' '.go-to-line .mini.editor input': 'enter': 'core:confirm', 'escape': 'core:cancel' '.platform-darwin .go-to-line .mini.editor input': 'cmd-w': 'core:cancel' '.platform-win32 .go-to-line .mini.editor input': 'ctrl-w': 'core:...
Use ctrl-g for linux. Join selectors with the same keybinding.
:penguin: Use ctrl-g for linux. Join selectors with the same keybinding.
CoffeeScript
mit
pombredanne/go-to-line,atom/go-to-line
aa21aaf9fe7ea95b55557f8d49f598359f194c21
keymaps/table-edit.cson
keymaps/table-edit.cson
# Keybindings require three things to be fully defined: A selector that is # matched against the focused element, the keystroke and the command to # execute. # # Below is a basic keybinding which registers on all platforms by applying to # the root workspace element. # For more detailed documentation see # https://ato...
# Keybindings require three things to be fully defined: A selector that is # matched against the focused element, the keystroke and the command to # execute. # # Below is a basic keybinding which registers on all platforms by applying to # the root workspace element. # For more detailed documentation see # https://ato...
Add binding for moving left and right with tab
Add binding for moving left and right with tab
CoffeeScript
mit
abe33/atom-tablr
d0a1b5c16bdf51697c185f4aa3c41c4df7c364c2
spec/ReadFile.coffee
spec/ReadFile.coffee
noflo = require 'noflo' unless noflo.isBrowser() chai = require 'chai' unless chai ReadFile = require '../components/ReadFile.coffee' else ReadFile = require 'noflo-browserfile/components/ReadFile.js' describe 'ReadFile component', -> c = null ins = null out = null beforeEach -> c = ReadFile.getCompo...
noflo = require 'noflo' unless noflo.isBrowser() chai = require 'chai' path = require 'path' baseDir = path.resolve __dirname, '../' else baseDir = 'noflo-browserfile' describe 'ReadFile component', -> c = null ins = null out = null before (done) -> @timeout 4000 loader = new noflo.ComponentLoa...
Use ComponentLoader to get instance
Use ComponentLoader to get instance
CoffeeScript
mit
noflo/noflo-browserfile
4a7c51c125454cf6c2fca2a32b36e515eaeb80df
app/assets/components/core.coffee
app/assets/components/core.coffee
import * as Preact from 'preact' VNode = Preact.h('a', null).constructor export createElement = (element, props, children...) -> if props? && (Array.isArray(props) || typeof props != 'object' || props instanceof VNode) children.unshift props props = {} Preact.h element, props, ...children export class C...
import * as Preact from 'preact' export createElement = (element, props, children...) -> if props? && (Array.isArray(props) || typeof props != 'object' || props.props?) children.unshift props props = {} Preact.h element, props, ...children export class Component extends Preact.Component constructor: ->...
Fix workaround for new Preact 10 release
Fix workaround for new Preact 10 release There is VNode class anymore.
CoffeeScript
agpl-3.0
jgraichen/mnemosyne-server,jgraichen/mnemosyne-server,jgraichen/mnemosyne-server
2b297df1b0f36217e3e71aa0faef2fd42aac0e72
api/games.coffee
api/games.coffee
# modules Game = require '../models/game' # CONTROLLER # ---------- module.exports = (app) -> # GET /api/games app.get '/api/games/', 'games.list', (req, res) -> list = [] Game.findAll().then (games) -> list.push formatGame(game) for game in games res.json list # ...
# modules Game = require '../models/game' gameController = require '../controllers/game_controller' # CONTROLLER # ---------- module.exports = (app) -> # GET /api/games app.get '/api/games/', 'games.list', (req, res) -> list = [] Game.findAll().then (games) -> list.push formatGame...
Add api getter for current game
Add api getter for current game
CoffeeScript
lgpl-2.1
AlsaceDigitale/straliens-server
44be34b4e2273525b9e455bf9104d41847929128
src/app/common/pdf-viewer/pdf-viewer.coffee
src/app/common/pdf-viewer/pdf-viewer.coffee
angular.module("doubtfire.common.pdf-viewer", []) .directive('pdfViewer', -> restrict: 'E' templateUrl: 'common/pdf-panel/pdf-panel.tpl.html' scope: pdfUrl: '=' controller: ($scope, $sce, $timeout) -> $scope.isSafari = navigator.userAgent.indexOf("Safari") > 0 && navigator.userAgent.indexOf("Chrome") ==...
angular.module("doubtfire.common.pdf-viewer", []) # # Basic PDF viewer # .directive('pdfViewer', -> restrict: 'E' templateUrl: 'common/pdf-viewer/pdf-viewer.tpl.html' scope: pdfUrl: '=' controller: ($scope, $sce, $timeout) -> $scope.isSafari = navigator.userAgent.indexOf("Safari") > 0 && navigator.userA...
Add correct template URL to PDF viewer
FIX: Add correct template URL to PDF viewer
CoffeeScript
agpl-3.0
doubtfire-lms/doubtfire-web,doubtfire-lms/doubtfire-web,alexcu/doubtfire-web,doubtfire-lms/doubtfire-web,doubtfire-lms/doubtfire-web,alexcu/doubtfire-web
ac465c85603bb962db0537237f56206577f988af
spec/indie-spec.coffee
spec/indie-spec.coffee
describe 'Indie', -> Validate = require('../lib/validate') Indie = require('../lib/indie') indie = null beforeEach -> indie?.dispose() indie = new Indie({}) describe 'Validations', -> it 'just cares about a name', -> linter = {} Validate.linter(linter, true) expect(linter.name)...
describe 'Indie', -> Validate = require('../lib/validate') Indie = require('../lib/indie') indie = null beforeEach -> indie?.dispose() indie = new Indie({}) describe 'Validations', -> it 'just cares about a name', -> linter = {} Validate.linter(linter, true) expect(linter.name)...
Add more specs for indie
:new: Add more specs for indie
CoffeeScript
mit
Arcanemagus/linter,steelbrain/linter,AtomLinter/Linter,atom-community/linter,e-jigsaw/Linter
c37250c8170476944ae327b1c226b9a64cb15693
app/assets/javascripts/router.js.coffee
app/assets/javascripts/router.js.coffee
# For more information see: http://emberjs.com/guides/routing/ ETahi.Router.map ()-> @route('flow_manager') @resource 'paper', { path: '/papers/:paper_id' }, -> @route('edit') @route('manage') @route('submit') @route('task', {path: '/papers/:paper_id/tasks/:task_id'}) @route('paper_new', { path: '/...
# For more information see: http://emberjs.com/guides/routing/ ETahi.Router.map ()-> @route('flow_manager') @resource 'paper', { path: '/papers/:paper_id' }, -> @route('edit') @route('manage') @route('submit') @route('task', {path: '/papers/:paper_id/tasks/:task_id'}) @route('paper_new', { path: '/...
Add a guard to pushState for friendly browsers only
Add a guard to pushState for friendly browsers only
CoffeeScript
mit
johan--/tahi,johan--/tahi,johan--/tahi,johan--/tahi
e50aae6562820f91340a49a6f10b74add997ef22
app/assets/javascripts/static.js.coffee
app/assets/javascripts/static.js.coffee
# Place all the behaviors and hooks related to the matching controller here. # All this logic will automatically be available in application.js. # You can use CoffeeScript in this file: http://coffeescript.org/ $ -> animateMetric = $(".metric-box strong").each -> $this = $(this) starting_point = 0 $targe...
# Place all the behaviors and hooks related to the matching controller here. # All this logic will automatically be available in application.js. # You can use CoffeeScript in this file: http://coffeescript.org/ $ -> animateMetric = $(".metric-box strong").each (index) -> $this = $(this) starting_point = 0 ...
Make the each metric animation finish at different times
Make the each metric animation finish at different times The animation of a number finishes 1 second after the one before it.
CoffeeScript
agpl-3.0
openaustralia/morph,otherchirps/morph,otherchirps/morph,otherchirps/morph,otherchirps/morph,openaustralia/morph,openaustralia/morph,openaustralia/morph,otherchirps/morph,openaustralia/morph,openaustralia/morph,openaustralia/morph,otherchirps/morph,otherchirps/morph
8ffa50f1fb869fde9f3251bc6b257263857a6fa3
src/tub.coffee
src/tub.coffee
# Tub class YAML = require 'yamljs' class TubConfig constructor: (tub, appdir, yml) -> # body... @dir = appdir @tub = tub @file = "#{@dir}/.jakhu/#{@tub}tub_config.yml" @yml = yml @yaml = {} fs.openSync @file create: (args) -> # body... @yaml.name = @tub @yaml.language = @yml...
# Tub class YAML = require 'yamljs' fs = require 'fs' class TubConfig constructor: (tub, appdir, yml) -> # body... @dir = appdir @tub = tub @file = "#{@dir}/.jakhu/#{@tub}tub_config.yml" @yml = yml @yaml = {} fs.openSync @file create: (args) -> # body... @yaml.name = @tub @ya...
Fix bug to use fs
Fix bug to use fs
CoffeeScript
mit
Gum-Joe/boss-container,Gum-Joe/jakhu-container,Gum-Joe/Web-OS-container
e314f832ba155ec22a2e1a6b01135d400cac1d4f
src/ls-archive.coffee
src/ls-archive.coffee
fs = require 'fs' path = require 'path' module.exports = list: (archivePath, callback) -> switch path.extname(archivePath) when '.tar' then @listTar(archivePath, callback) when '.gz' then @listGzip(archivePath, callback) when '.zip' then @listZip(archivePath, callback) else callback([]) ...
fs = require 'fs' path = require 'path' module.exports = list: (archivePath, callback) -> switch path.extname(archivePath) when '.tar' then @listTar(archivePath, callback) when '.gz' then @listGzip(archivePath, callback) when '.zip' then @listZip(archivePath, callback) else callback([]) ...
Move function body to same line as .on() call
Move function body to same line as .on() call
CoffeeScript
mit
jogleasonjr/node-ls-archive,atom/node-ls-archive
645de8df06a4b75dd21760cf4e29380c550d57dd
lib/atom-ternjs-view-manager.coffee
lib/atom-ternjs-view-manager.coffee
RenameModel = require './atom-ternjs-rename' RenameView = require './atom-ternjs-rename-view' module.exports = class ViewManager renamePanel: null renameModel: null manager: null constructor: (manager) -> @manager = manager @registerViewProvider() registerViewProvider: -> ...
RenameModel = require './atom-ternjs-rename' RenameView = require './atom-ternjs-rename-view' module.exports = class ViewManager renamePanel: null renameModel: null manager: null constructor: (manager) -> @manager = manager @registerViewProvider() registerViewProvider: -> ...
Fix atom freezes when moving cursor fast with key
Fix atom freezes when moving cursor fast with key
CoffeeScript
mit
amant/atom-ternjs,tststs/atom-ternjs
4aa6ef468babb2874d29cdfbdc63738346510364
lib/image-editor-status-view.coffee
lib/image-editor-status-view.coffee
{View} = require 'atom' ImageEditor = require './image-editor' module.exports = class ImageEditorStatusView extends View @content: -> @div class: 'status-image inline-block', => @span class: 'image-size', outlet: 'imageSizeStatus' initialize: (filePath, image) -> @filePath = filePath @image = im...
{View} = require 'atom' ImageEditor = require './image-editor' module.exports = class ImageEditorStatusView extends View @content: -> @div class: 'status-image inline-block', => @span class: 'image-size', outlet: 'imageSizeStatus' initialize: (filePath, image) -> @filePath = filePath @image = im...
Fix bug detaching on pane close
Fix bug detaching on pane close
CoffeeScript
mit
atom/image-view
7e4275126f9f9c59a93133290c6a468fdc4d3ab9
lib/soft-wrap-indicator-view.coffee
lib/soft-wrap-indicator-view.coffee
{View} = require 'atom' # Status bar view for the soft wrap indicator. module.exports = class SoftWrapIndicatorView extends View @content: -> @div class: 'inline-block', => @a 'Wrap', class: 'soft-wrap-indicator', outlet: 'light' # Initializes the view by subscribing to various events. # # statusBar...
{View} = require 'atom' # Public: Status bar view for the soft wrap indicator. module.exports = class SoftWrapIndicatorView extends View @content: -> @div class: 'inline-block', => @a 'Wrap', class: 'soft-wrap-indicator', outlet: 'light' # Public: Initializes the view by subscribing to various events. ...
Update documentation to current standards
:memo: Update documentation to current standards
CoffeeScript
mit
lee-dohm/soft-wrap-indicator
4d677a1f2c9bc975708fb8b2fbf5c3713737acaf
src/protractor.conf.coffee
src/protractor.conf.coffee
path = require 'path' rek = require 'rekuire' module.exports.config = framework: 'custom' frameworkPath: require.resolve 'protractor-cucumber-framework' # Capabilities to be passed to the webdriver instance. capabilities: 'chromeOptions': args: ['--test-type'] # Disable the "unsupported flag" prom...
path = require 'path' rek = require 'rekuire' module.exports.config = framework: 'custom' frameworkPath: require.resolve 'protractor-cucumber-framework' # Capabilities to be passed to the webdriver instance. capabilities: 'chromeOptions': args: ['--test-type'] # Disable the "unsupported flag" prom...
Remove default value for tags
Remove default value for tags
CoffeeScript
mit
thompsnm/cukefarm,ReadyTalk/cukefarm,thompsnm/cukefarm,ReadyTalk/cukefarm
e4bfdf43bd942f75dab4ede0c89837b2e1ba182c
app/scripts/app.coffee
app/scripts/app.coffee
'use strict' app = angular.module('holmesApp', [ 'ngCookies', 'ngSanitize', 'ngRoute', 'angularMoment', 'restangular' ]) .config ($routeProvider, RestangularProvider, ConfigConst) -> $routeProvider .when '/', redirectTo: '/domains' .when '/domains', templateUrl: 'views/domai...
'use strict' app = angular.module('holmesApp', [ 'ngCookies', 'ngSanitize', 'ngRoute', 'angularMoment', 'restangular' ]) .config ($routeProvider, RestangularProvider, ConfigConst) -> $routeProvider .when '/', redirectTo: '/domains' .when '/domains', templateUrl: 'views/domai...
Reset scroll to 0 after changing pages
Reset scroll to 0 after changing pages
CoffeeScript
mit
holmes-app/holmes-web,holmes-app/holmes-web,holmes-app/holmes-web
d63ffc366f9a72bbebf51e7b648a42f306193411
test/run-qunit.coffee
test/run-qunit.coffee
fs = require 'fs' print = (s) -> fs.write "/dev/stderr", s, 'w' page = new WebPage() page.onConsoleMessage = (msg) -> console.error msg timeoutId = null deferTimeout = -> clearTimeout timeoutId if timeoutId timeoutId = setTimeout -> console.error "Timeout" phantom.exit 1 , 3000 page.open phantom.args[0...
fs = require 'fs' page = new WebPage() page.onConsoleMessage = (msg) -> console.error msg timeoutId = null deferTimeout = -> clearTimeout timeoutId if timeoutId timeoutId = setTimeout -> console.error "Timeout" phantom.exit 1 , 3000 page.open phantom.args[0], -> deferTimeout() setInterval -> t...
Use console.error instead of /dev/stderr
Use console.error instead of /dev/stderr
CoffeeScript
mit
deckar01/task_list,deckar01/task_list,deckar01/task_list,deckar01/task_list
dde53c95a9b962918fa34e3e07dc6188acc82238
spec/basic.spec.coffee
spec/basic.spec.coffee
describe "Basic setup", -> it "should add chosen to jQuery object", -> expect(jQuery.fn.chosen).toBeDefined()
describe "Basic setup", -> it "should add chosen to jQuery object", -> expect(jQuery.fn.chosen).toBeDefined() it "should create very basic chosen", -> tmpl = " <select data-placeholder='Choose a Country...'> <option value=''></option> <option value='United States'>United States</optio...
Add simple test that constructs a chosen entirely in memory
Add simple test that constructs a chosen entirely in memory
CoffeeScript
mit
brees01/chosen,kaviarasankk/chosen,christophercaburog/chosen,liorch88/chosen,M0nsterLabs/chosen,micgro42/chosen,prashen/chosen,harikt/chosen,chandre21cn/chosen,isochronous/chosen,prashen/chosen,KimberlyMunoz/chosen,ilyes14/chosen,skyangelzp/chosen,ansiz/chosen,mcanthony/chosen,landonb/chosen,mengjuer/chosen,chryse/chos...
b5daaf7c7369564b885e900dab278edd091db791
keymaps/git.cson
keymaps/git.cson
'.workspace': 'ctrl-shift-9': 'github:toggle-git-panel' 'ctrl-9': 'github:toggle-git-panel-focus' '.github-StagingView': 'left': 'github:focus-diff-view' '.github-CommitView-editor atom-text-editor:not([mini])': 'cmd-enter': 'github:commit' 'ctrl-enter': 'github:commit' '.github-FilePatchView': '/': 'git...
'.workspace': 'ctrl-9': 'github:toggle-git-panel' 'ctrl-shift-9': 'github:toggle-git-panel-focus' '.github-StagingView': 'left': 'github:focus-diff-view' '.github-CommitView-editor atom-text-editor:not([mini])': 'cmd-enter': 'github:commit' 'ctrl-enter': 'github:commit' '.github-FilePatchView': '/': 'git...
Swap ctrl-9 and ctrl-shift-9 <_< >_>
Swap ctrl-9 and ctrl-shift-9 <_< >_>
CoffeeScript
mit
atom/github,atom/github,atom/github
e42f3e65c198f8e239fd1d64fe8628f851eb8fa5
client/helpers.coffee
client/helpers.coffee
isActive = (type, inverse = false) -> name = 'is' name = name + 'Not' if inverse name = name + _.capitalize type (view) -> unless view instanceof Spacebars.kw throw new Error "#{name} options must be key value pair such " + "as {{#{name} regex='route/path'}}. You passed: " + "#{JSON.s...
isActive = (type, inverse = false) -> name = 'is' name = name + 'Not' if inverse name = name + 'Active' + _.capitalize type (view) -> unless view instanceof Spacebars.kw throw new Error "#{name} options must be key value pair such " + "as {{#{name} regex='route/path'}}. You passed: " + ...
Fix name of helper in error message
Fix name of helper in error message
CoffeeScript
mit
zimme/meteor-active-route,cafe4it/meteor-active-route,dropfen/meteor-active-route
038b45f375c9d8fcd34d705b6fcdf2a4d1f792e4
client/Main/providers/computeeventlistener.coffee
client/Main/providers/computeeventlistener.coffee
class ComputeEventListener extends KDObject constructor:(options = {})-> super interval : options.interval ? 4000 @kloud = KD.singletons.kontrol.getKite name : "kloud" environment : "vagrant" @listeners = [] @tickInProgress = no @running = no ...
class ComputeEventListener extends KDObject constructor:(options = {})-> super interval : options.interval ? 4000 @kloud = KD.singletons.kontrol.getKite name : "kloud" environment : "vagrant" @listeners = [] @tickInProgress = no @running = no ...
Use start, emit over ComputeController, start polling when requested, stop when not needed
ComputeEventListener: Use start, emit over ComputeController, start polling when requested, stop when not needed
CoffeeScript
agpl-3.0
jack89129/koding,usirin/koding,usirin/koding,drewsetski/koding,kwagdy/koding-1,jack89129/koding,rjeczalik/koding,acbodine/koding,andrewjcasal/koding,alex-ionochkin/koding,alex-ionochkin/koding,mertaytore/koding,alex-ionochkin/koding,usirin/koding,andrewjcasal/koding,gokmen/koding,acbodine/koding,drewsetski/koding,rjecz...
d01ed59d84d6133f3dfbcc21bc382debcc06a9ae
app/assets/javascripts/rglossa/data/adapter.coffee
app/assets/javascripts/rglossa/data/adapter.coffee
DS.RESTAdapter.configure 'plurals', corpus: 'corpora' search: 'searches' cwb_search: 'cwb_searches' metadata_category: 'metadata_categories' App.Adapter = DS.RESTAdapter.extend buildURL: (record, suffix) -> url = @_super(record, suffix) url = "/search_engines#{url}" unless record.search(/_se...
DS.RESTAdapter.configure 'plurals', corpus: 'corpora' search: 'searches' cwb_search: 'cwb_searches' metadata_category: 'metadata_categories' App.Adapter = DS.RESTAdapter.extend buildURL: (record, suffix) -> url = @_super(record, suffix) unless record.search(/_search$/) is -1 parts = ur...
Fix buildURL wrt running the app on a prefix
Fix buildURL wrt running the app on a prefix
CoffeeScript
mit
textlab/glossa,textlab/rglossa,textlab/rglossa,textlab/glossa,textlab/rglossa,textlab/glossa,textlab/rglossa,textlab/glossa,textlab/rglossa,textlab/glossa
b77172ce1d635472811d26391129bc4859a52f5d
gulpfile.coffee
gulpfile.coffee
gulp = require "gulp" gutil = require "gulp-util" coffee = require "gulp-coffee" del = require "del" path = require "path" {spawn} = require "child_process" prefix = gutil.env.prefix || "./build" resourceDir = path.join prefix, "Resources" gulp.task "clean", (done) -> del(prefix, done) gulp.task ...
gulp = require "gulp" gutil = require "gulp-util" coffee = require "gulp-coffee" del = require "del" path = require "path" {spawn} = require "child_process" prefix = gutil.env.prefix || "./build" resourceDir = path.join prefix, "Resources" gulp.task "clean", (done) -> del(prefix, done) gulp.task ...
Add non-code reesources to build
Add non-code reesources to build Was missing things like images and stuff.
CoffeeScript
apache-2.0
sukima/ti-cs-gulp-example
5db203761e89b5aa2df80c9595204d5322d70e7c
home/.atom/config.cson
home/.atom/config.cson
"*": "exception-reporting": userId: "1e725750-c66d-33e4-9fce-f627ac32bde5" "release-notes": viewedVersion: "0.94.0" welcome: showOnStartup: false metrics: userId: "c2f08243ecb4a9bc44bd9e46d4f067086d9357e3" editor: fontSize: 11 showInvisibles: true showIndentGuide: true invisibl...
"*": "exception-reporting": userId: "1e725750-c66d-33e4-9fce-f627ac32bde5" "release-notes": viewedVersion: "0.94.0" welcome: showOnStartup: false metrics: userId: "c2f08243ecb4a9bc44bd9e46d4f067086d9357e3" editor: fontSize: 11 showInvisibles: true showIndentGuide: true invisibl...
Use twilight syntax theme for atom
Use twilight syntax theme for atom
CoffeeScript
mit
alphabetum/dotfiles,alphabetum/dotfiles,alphabetum/dotfiles,alphabetum/dotfiles
3b3f3893c505a4fcb32efca285d8b7e769242311
angular/core/services/exception_handler.coffee
angular/core/services/exception_handler.coffee
angular.module('loomioApp').factory '$exceptionHandler', ($log, AppConfig) -> if !AppConfig.errbit.key? return -> client = new airbrakeJs.Client projectId: AppConfig.errbit.key projectKey: AppConfig.errbit.key reporter: 'xhr' host: AppConfig.errbit.url client.addFilter (notice) -> ...
angular.module('loomioApp').factory '$exceptionHandler', ($log, AppConfig) -> if !AppConfig.errbit.key? return -> client = new airbrakeJs.Client projectId: AppConfig.errbit.key projectKey: AppConfig.errbit.key reporter: 'xhr' host: AppConfig.errbit.url client.addFilter (notice) -> ...
Add version to client exceptions
Add version to client exceptions
CoffeeScript
agpl-3.0
loomio/loomio,piratas-ar/loomio,loomio/loomio,piratas-ar/loomio,loomio/loomio,piratas-ar/loomio,loomio/loomio,piratas-ar/loomio
d56226562aec1be5d7afc4a020caa667c0617061
src/modules/app/maker/index.coffee
src/modules/app/maker/index.coffee
'use strict' module.exports = angular.module('astrifex.maker', []) .config(($stateProvider) -> $stateProvider.state 'maker', url: '' templateUrl: 'app/maker/layout.html' controller: 'makerController' return ).controller('makerController', require('./makerController'))
'use strict' module.exports = angular.module('astrifex.maker', ['ui.router']) .config(($stateProvider) -> $stateProvider.state 'maker', url: '' templateUrl: 'app/maker/layout.html' controller: 'makerController' return ).controller('makerController', require('./makerController'))
Declare ui.router dependency in astrifex.maker module
Declare ui.router dependency in astrifex.maker module
CoffeeScript
mit
astrifex/astrifex,astrifex/astrifex
fc92b561b7568062a2c26a6b9630522d44eb3a3c
frontend/registration_tz_selection.coffee
frontend/registration_tz_selection.coffee
casper = require('casper').create() d = -> console.log arguments... casper.start 'http://func/ucp.php?mode=register', -> @test.assertHttpStatus 200 @test.assertExists 'input[value="I agree to these terms"]' @click 'input[value="I agree to these terms"]' casper.then -> @test.assertHttpStatus 200 @test....
casper = require('casper').create() d = -> console.log arguments... casper.start 'http://func/ucp.php?mode=register', -> @test.assertHttpStatus 200 @test.assertExists 'input[value="I agree to these terms"]' @click 'input[value="I agree to these terms"]' casper.then -> @test.assertHttpStatus 200 @test....
Add a test for correct initial value of timezone selector in registration form
Add a test for correct initial value of timezone selector in registration form
CoffeeScript
bsd-2-clause
p/wolis-phpbb,p/wolis-phpbb
59c1ad2ae6d1b97f5bef82a492b4a6dcb0d3127e
components/Gate.coffee
components/Gate.coffee
noflo = require 'noflo' class Gate extends noflo.Component description: 'This component forwards received packets when the gate is open' constructor: -> @open = false @inPorts = in: new noflo.Port 'all' open: new noflo.Port 'bang' close: new noflo.Port 'bang' @outPorts = out: ...
noflo = require 'noflo' class Gate extends noflo.Component description: 'This component forwards received packets when the gate is open' constructor: -> @open = false @inPorts = in: new noflo.Port 'all' open: new noflo.Port 'bang' close: new noflo.Port 'bang' @outPorts = out: ...
Send disconnect on gate close
Send disconnect on gate close
CoffeeScript
mit
meticulo3366/noflo-flow
6dce1afcd689b04b974b8c776abcd20633406926
gulpfile.coffee
gulpfile.coffee
gulp = require 'gulp' del = require 'del' haml = require 'gulp-haml' sourcemaps = require 'gulp-sourcemaps' coffee = require 'gulp-coffee' SRC = 'src' DEST = 'out' gulp.task 'default', ['haml', 'coffee'] gulp.task 'haml', -> gulp.src "#{SRC}/haml/**/*.haml" .pipe haml compiler: 'visionme...
gulp = require 'gulp' del = require 'del' haml = require 'gulp-haml' sourcemaps = require 'gulp-sourcemaps' coffee = require 'gulp-coffee' SRC = 'src' DEST = 'out' gulp.task 'default', ['haml', 'coffee'] gulp.task 'haml', -> gulp.src "#{SRC}/haml/**/*.haml" .pipe haml() .pipe gulp.de...
Switch Back to Default HAML Compiler
Switch Back to Default HAML Compiler The output of the other one was getting wonky.
CoffeeScript
unlicense
arashikou/exper3-2015
67feebc64bbd0ca57a34cd2b25233c6f0f4f9dfb
src/packages/wrap-guide/lib/wrap-guide-view.coffee
src/packages/wrap-guide/lib/wrap-guide-view.coffee
{View} = require 'space-pen' $ = require 'jquery' _ = require 'underscore' module.exports = class WrapGuideView extends View @activate: -> rootView.eachEditor (editor) => editor.underlayer.append(new WrapGuideView(editor)) if editor.attached @content: -> @div class: 'wrap-guide' defaultColumn: 80...
{View} = require 'space-pen' $ = require 'jquery' _ = require 'underscore' module.exports = class WrapGuideView extends View @activate: -> rootView.eachEditor (editor) -> editor.underlayer.append(new WrapGuideView(editor)) if editor.attached @content: -> @div class: 'wrap-guide' defaultColumn: 80...
Use skinny arrow for rootView.eachEditor callback
Use skinny arrow for rootView.eachEditor callback
CoffeeScript
mit
devmario/atom,darwin/atom,Austen-G/BlockBuilder,lisonma/atom,lisonma/atom,dsandstrom/atom,DiogoXRP/atom,jacekkopecky/atom,githubteacher/atom,ali/atom,rjattrill/atom,qiujuer/atom,hharchani/atom,davideg/atom,Hasimir/atom,targeter21/atom,Klozz/atom,kjav/atom,t9md/atom,jlord/atom,vjeux/atom,chengky/atom,oggy/atom,jtrose2/a...
4848ece56be806d2e41260de27273f642ce4063f
src/app.coffee
src/app.coffee
app = angular.module 'draw', [ 'ngRoute' ] app.config ($locationProvider) -> # if window.history && window.history.pushState $locationProvider.html5Mode true module.exports = app
app = angular.module 'draw', [ 'ngRoute' ] app.config ($locationProvider) -> if window.history && window.history.pushState $locationProvider.html5Mode true module.exports = app
Add compatibility check for html5 routing mode
Add compatibility check for html5 routing mode
CoffeeScript
mit
tancredi/draw,tancredi/draw,tancredi/draw
a3e1b34e954c2379c1bc0078f18c68451a85fa49
src/initialize-test-window.coffee
src/initialize-test-window.coffee
# Start the crash reporter before anything else. require('crash-reporter').start(productName: 'Atom', companyName: 'GitHub') path = require 'path' ipc = require 'ipc' ipc.send('call-window-method', 'openDevTools') try require '../src/window' Atom = require '../src/atom' window.atom = new Atom # Show windo...
# Start the crash reporter before anything else. require('crash-reporter').start(productName: 'Atom', companyName: 'GitHub') try path = require 'path' ipc = require 'ipc' require '../src/window' Atom = require '../src/atom' window.atom = new Atom # Show window synchronously so a focusout doesn't fire on ...
Add reload and toggle dev tools key bindings to test window
Add reload and toggle dev tools key bindings to test window Signed-off-by: Max Brunsfeld <78036c9b69b887700d5846f26a788d53b201ffbb@github.com>
CoffeeScript
mit
alexandergmann/atom,decaffeinate-examples/atom,rlugojr/atom,andrewleverette/atom,ardeshirj/atom,svanharmelen/atom,alfredxing/atom,liuderchi/atom,hellendag/atom,FIT-CSE2410-A-Bombs/atom,AlexxNica/atom,dijs/atom,bsmr-x-script/atom,gzzhanghao/atom,Mokolea/atom,atom/atom,yamhon/atom,kandros/atom,bj7/atom,kaicataldo/atom,br...
a70126c7bc821706ba8d87a3dfe957fc4d3d8daf
client/ide/workspace/workspacelayoutbuilder.coffee
client/ide/workspace/workspacelayoutbuilder.coffee
class WorkspaceLayoutBuilder extends KDSplitComboView init: -> @splitViews = {} {direction, sizes, views, cssClass, splitName} = @getOption 'layoutOptions' @baseSplitName = splitName splitOptions = { type : direction viewsConfig : views sizes cssClass } @a...
class WorkspaceLayoutBuilder extends KDSplitComboView init: -> @splitViews = {} {direction, sizes, views, cssClass, splitName} = @getOption 'layoutOptions' @baseSplitName = splitName splitOptions = { type : direction viewsConfig : views sizes cssClass } @a...
Use KDSplitView in layout builder.
Use KDSplitView in layout builder. It was using SplitViewWithOlderSiblings before but it has issues with resizing.
CoffeeScript
agpl-3.0
jack89129/koding,gokmen/koding,drewsetski/koding,cihangir/koding,alex-ionochkin/koding,rjeczalik/koding,kwagdy/koding-1,jack89129/koding,koding/koding,gokmen/koding,gokmen/koding,acbodine/koding,andrewjcasal/koding,acbodine/koding,kwagdy/koding-1,cihangir/koding,andrewjcasal/koding,koding/koding,mertaytore/koding,merta...
fa5b931985ee03fe33a57f28ab6eaba8b07a5d04
src/event_emitter/lifecycle_events.coffee
src/event_emitter/lifecycle_events.coffee
Batman.LifecycleEvents = initialize: -> @::fireLifecycleEvent = fire lifecycleEvent: (eventName, normalizeFunction) -> beforeName = "before#{Batman.helpers.camelize(eventName)}" afterName = "after#{Batman.helpers.camelize(eventName)}" addCallback = (eventName) -> (callbackName, options) -> ...
Batman.LifecycleEvents = initialize: -> @::fireLifecycleEvent = fire lifecycleEvent: (eventName, normalizeFunction) -> beforeName = "before#{Batman.helpers.camelize(eventName)}" afterName = "after#{Batman.helpers.camelize(eventName)}" addCallback = (eventName) -> (callbackName, options) -> ...
Allow cancelling the filter chain and action.
Allow cancelling the filter chain and action.
CoffeeScript
mit
getshuvo/batman,getshuvo/batman
79951066b27f32ab2c26e8b3cfd5b30cc9839c18
src/step.coffee
src/step.coffee
angular.module 'angular.tourist' .directive 'tourStep', ['$tourist', '$window', ($tourist, $window) -> restrict: 'EAC' controller: ['$scope', ($scope) -> @element = null # JQLite doesnt support offset, so we implement it here _boundingOffset = (element) -> return unless element? ...
angular.module 'angular.tourist' .directive 'tourStep', ['$tourist', '$window', '$injector', ($tourist, $window, $injector) -> restrict: 'EAC' controller: ['$scope', ($scope) -> @element = null # JQLite doesnt support offset, so we implement it here _boundingOffset = (element) -> r...
Allow activated callback to use dependency injection
Allow activated callback to use dependency injection
CoffeeScript
mit
fixate/angular-tourist,fixate/angular-tourist
f0e468b5bebea247f52044f2be6eac7d7627e50f
lib/insert-nl-jsx.coffee
lib/insert-nl-jsx.coffee
module.exports = class InsertNlJsx constructor: (@editor) -> @adviseBefore(@editor, 'insertText', @insertText) # patched TextEditor::insertText # if a newLine is entered between a JSX tag open and close marked_ <div>_</div> # then add another newLine and reposition cursor insertText: (text, options) => ...
module.exports = class InsertNlJsx constructor: (@editor) -> @adviseBefore(@editor, 'insertText', @insertText) # patched TextEditor::insertText # if a newLine is entered between a JSX tag open and close marked_ <div>_</div> # then add another newLine and reposition cursor insertText: (text, options) => ...
Fix JSX indent newline to allow for hard tabs when autoIndentJSX is off.
Fix JSX indent newline to allow for hard tabs when autoIndentJSX is off.
CoffeeScript
mit
gandm/language-babel
4b320587f00d98dc4ad61081386257d9e3cd20f6
app/components/change-listener.cjsx
app/components/change-listener.cjsx
React = require 'react' # TODO: Maybe infer the on/off methods from a list if none is specified: # ON_OFF_METHODS = # addEventListener: 'removeEventListener' # DOM elements # addListener: 'removeListener' # Node EventEmitter class # listen: 'stopListening' # Panoptes Model and JSONAPIClient Resource classes (cha...
React = require 'react' module.exports = React.createClass displayName: 'ChangeListener' getDefaultProps: -> target: null eventName: 'change' on: 'listen' off: 'stopListening' handler: null getInitialState: -> payload: [] componentDidMount: -> @startListeningTo @props.target c...
Simplify ChangeListener, can now take a child function
Simplify ChangeListener, can now take a child function
CoffeeScript
apache-2.0
marten/Panoptes-Front-End,edpaget/Panoptes-Front-End,mrniaboc/Panoptes-Front-End,parrish/Panoptes-Front-End,CKrawczyk/Panoptes-Front-End,jelliotartz/Panoptes-Front-End,fmnhExhibits/Panoptes-Front-End,tfmorris/Panoptes-Front-End,mrniaboc/Panoptes-Front-End,CKrawczyk/Panoptes-Front-End,edpaget/Panoptes-Front-End,aliburch...
a6a1b0e34c4eb10a44b78c88877166ef03edf239
lib/script.coffee
lib/script.coffee
ScriptView = require './script-view' configUri = "atom://script" grammarMap = CoffeeScript: interpreter: "coffee" makeargs: (code) -> ['-e', code] Python: interpreter: "python" makeargs: (code) -> ['-c', code] module.exports = activate: -> atom.project.registerOpener (uri) => interp...
ScriptView = require './script-view' configUri = "atom://script" grammarMap = CoffeeScript: interpreter: "coffee" makeargs: (code) -> ['-e', code] Python: interpreter: "python" makeargs: (code) -> ['-c', code] module.exports = activate: -> atom.project.registerOpener (uri) => interp...
Make sure editor is set before trying to get code.
Make sure editor is set before trying to get code.
CoffeeScript
mit
jchannon/atom-script,rodionovd/atom-script,rodionovd/atom-script,anfedorov/atom-script,jchannon/atom-script,efatsi/atom-script,rodionovd/atom-script,jchannon/atom-script,jchannon/atom-script,efatsi/atom-script,anfedorov/atom-script,Calyhre/atom-script,anfedorov/atom-script,Calyhre/atom-script,rgbkrk/atom-script,rodiono...
866c79f4bcf4a289d5af05b25b215302e8ed070e
client/lanes/views/SaveNotify.coffee
client/lanes/views/SaveNotify.coffee
class ModelSaver constructor: ( @element, @options )-> @mask = new Lanes.Views.TimedMask( @element, @options.message ) @mask.prefixActions( "Save" ) _.bindAll(this,'_onError','_onSuccess') save: -> @options.model.save({ success: this._onSuccess, error: this._onErro...
class ModelSaver constructor: ( @element, @options )-> @mask = new Lanes.Views.TimedMask( @element, @options.message ) @mask.prefixActions( "Save" ) _.bindAll(this,'_onError','_onSuccess') this.notification = new _.DeferredPromise save: -> @options.model.save({ ...
Use promise for notify on completion
Use promise for notify on completion
CoffeeScript
mit
argosity/lanes,argosity/lanes,argosity/hippo,argosity/lanes,argosity/hippo,argosity/hippo
88f0b1f371d1141711c3260e378bd7a3b138bfb3
lib/minimap-highlight-selected.coffee
lib/minimap-highlight-selected.coffee
{CompositeDisposable} = require 'event-kit' {requirePackages} = require 'atom-utils' class MinimapHighlightSelected constructor: -> @subscriptions = new CompositeDisposable activate: (state) -> consumeMinimapServiceV1: (@minimap) -> @minimap.registerPlugin 'highlight-selected', this consumeHighlight...
{CompositeDisposable} = require 'event-kit' {requirePackages} = require 'atom-utils' class MinimapHighlightSelected constructor: -> @subscriptions = new CompositeDisposable activate: (state) -> consumeMinimapServiceV1: (@minimap) -> @minimap.registerPlugin 'highlight-selected', this consumeHighlight...
Destroy all decorations when Highlight Selected has cleared too.
Destroy all decorations when Highlight Selected has cleared too.
CoffeeScript
mit
atom-minimap/minimap-highlight-selected
30293835db8a4a979c010072af66c37f5f7cfb75
Gruntfile.coffee
Gruntfile.coffee
module.exports = (grunt)-> require('grunt-recurse')(grunt, __dirname) grunt.expandFileArg = ( prefix = '.', base = '**', postfix = '*test.coffee' )-> part = (v)->"#{prefix}/#{v}#{postfix}" files = grunt.option('files') return part(base) unless files f...
module.exports = (grunt)-> require('grunt-recurse')(grunt, __dirname) grunt.expandFileArg = ( prefix = '.', base = '**', postfix = '*test.coffee' )-> part = (v)->"#{prefix}/#{v}#{postfix}" files = grunt.option('files') return part(base) unless files f...
Add stub config for grunt-release
Add stub config for grunt-release
CoffeeScript
isc
RupertJS/stassets,DavidSouther/stassets,DavidSouther/stassets,RupertJS/stassets,RupertJS/stassets,DavidSouther/stassets
81b4ebf5a3acec01f94249ac3a9ca6626362ee24
lib/client.coffee
lib/client.coffee
remote = require 'remote' window.$ = window.jQuery = require "../assets/js/jquery-2.1.1.min.js" require "../assets/js/jquery.hotkeys.js" #LESS less = remote.require 'less' parser = new(less.Parser)({ paths: ['less/'], filename: 'style.less' }); parser.parse '@import "main.less";', (e, tree) -> $('#stylesheet')....
remote = require 'remote' window.$ = window.jQuery = require "../assets/js/jquery-2.1.1.min.js" require "../assets/js/jquery.hotkeys.js" #LESS less = remote.require 'less' parser = new(less.Parser)({ paths: [__dirname + '/../less/'], filename: 'style.less' }); parser.parse '@import "main.less";', (e, tree) -> $...
Fix LESS file finding on Windows
Fix LESS file finding on Windows
CoffeeScript
mit
Ed-ITSolutions/Registers
f25ab7833ea01dc906038796cd3cdf8a6aeebee3
lib/provider.coffee
lib/provider.coffee
module.exports = selector: ['.source.ruby'] id: 'aligner-ruby' # package name config: '=>-alignment': title: 'Padding for =>' description: 'Pad left or right of the character' type: 'string' enum: ['left', 'right'] default: 'left' '=>-leftSpace': title: 'Left space for ...
module.exports = selector: ['.source.ruby', '.source.ruby.rails'] id: 'aligner-ruby' # package name config: '=>-alignment': title: 'Padding for =>' description: 'Pad left or right of the character' type: 'string' enum: ['left', 'right'] default: 'left' '=>-leftSpace': t...
Add Ruby on Rails support
Add Ruby on Rails support Fixes #1
CoffeeScript
mit
adrianlee44/atom-aligner-ruby
f11ee5c55ddea495a7ea8870a75e4df152cd35f3
Gruntfile.coffee
Gruntfile.coffee
module.exports = (grunt) -> grunt.initConfig pkg: grunt.file.readJSON('package.json') coffee: glob_to_multiple: expand: true cwd: 'src' src: ['**/*.coffee'] dest: 'lib' ext: '.js' coffeelint: options: no_empty_param_list: level: 'erro...
module.exports = (grunt) -> grunt.initConfig pkg: grunt.file.readJSON('package.json') coffee: glob_to_multiple: expand: true cwd: 'src' src: ['**/*.coffee'] dest: 'lib' ext: '.js' coffeelint: options: no_empty_param_list: level: 'erro...
Remove outdated --harmony_collections parameter from build script
Remove outdated --harmony_collections parameter from build script
CoffeeScript
mit
atom/legal-eagle
0e209dc0489fb24f6b1a1b6104138b6d254ce46b
app/assets/javascripts/snippets.coffee
app/assets/javascripts/snippets.coffee
#= require clipboard.min $.fn.initSnippetCopyToClipboard = () -> this.each () -> $element = $(this) $element.prepend('<button class="btn btn-default" data-clipboard-snippet><i class="fa fa-clipboard"></i></button>') clipboardSnippets = new Clipboard('[data-clipboard-snippet]', target: (trigger) -> ...
#= require clipboard.min $.fn.initSnippetCopyToClipboard = () -> this.each () -> $element = $(this) $element.prepend('<button class="btn btn-default" data-clipboard-snippet><i class="fa fa-clipboard"></i></button>') clipboardSnippets = new Clipboard('[data-clipboard-snippet]', target: (trigger) -> ...
Fix javascript error on tooltip hide (can't destroy elem that doesn't exist anymore)
Fix javascript error on tooltip hide (can't destroy elem that doesn't exist anymore)
CoffeeScript
apache-2.0
sapcc/elektra,sapcc/elektra,sapcc/elektra,sapcc/elektra
ac0e54801b8fc1389c1810f0d4ac6670ff8a5602
src/linker.coffee
src/linker.coffee
path = require 'path' fs = require './fs' CSON = require 'season' config = require './config' module.exports = class Linker run: (options) -> linkPath = path.resolve(process.cwd(), options.commandArgs.shift() ? '.') try packageName = CSON.readFileSync(CSON.resolve(path.join(linkPath, 'package'))).name ...
path = require 'path' fs = require './fs' CSON = require 'season' config = require './config' mkdir = require('mkdirp').sync module.exports = class Linker run: (options) -> linkPath = path.resolve(process.cwd(), options.commandArgs.shift() ? '.') try packageName = CSON.readFileSync(CSON.resolve(path.jo...
Create parent directories to symlink
Create parent directories to symlink
CoffeeScript
mit
atom/apm,pusateri/apm,pusateri/apm,AtaraxiaEta/apm,atom/apm,ethanp/apm,Nikpolik/apm,bronson/apm,bcoe/apm,jlord/apm,VandeurenGlenn/apm,fscherwi/apm,pusateri/apm,AtaraxiaEta/apm,bronson/apm,jlord/apm,VandeurenGlenn/apm,VandeurenGlenn/apm,AtaraxiaEta/apm,Nikpolik/apm,fscherwi/apm,ethanp/apm,ethanp/apm,jlord/apm,pusateri/a...
3f80ee02bd285a9939a7c49e768a28e83fb90f69
api/index.coffee
api/index.coffee
# dom.d.ts: https://github.com/Microsoft/TypeScript/blob/master/src/lib/dom.generated.d.ts # This fix is needed because these definitions are absent from typescript's official lib.d.ts and are used in dom.d.ts. # 06 march 2015: these definitions can actually be found in : # https://github.com/Microsoft/TypeScript/bl...
# dom.d.ts: https://github.com/Microsoft/TypeScript/blob/master/src/lib/dom.generated.d.ts # This fix is needed because these definitions are absent from typescript's official lib.d.ts and are used in dom.d.ts. # 06 march 2015: these definitions can actually be found in : # https://github.com/Microsoft/TypeScript/bl...
Update plugin registration function name.
Update plugin registration function name.
CoffeeScript
mit
florentpoujol/superpowers-dom-plugin
be3c38956de102e7a7532bfe8aead1ad89924a34
src/fetcher.coffee
src/fetcher.coffee
request = require 'request' npmconf = require 'npmconf' config = require './config' tree = require './tree' semver = require 'semver' _ = require 'underscore' module.exports = class Fetcher getAvailablePackages: (atomVersion, callback) -> if _.isFunction(atomVersion) callback = atomVersion atomVersio...
request = require 'request' npmconf = require 'npmconf' config = require './config' tree = require './tree' semver = require 'semver' _ = require 'underscore' module.exports = class Fetcher getAvailablePackages: (atomVersion, callback) -> if _.isFunction(atomVersion) callback = atomVersion atomVersio...
Add command line flags to output available packages as json
Add command line flags to output available packages as json
CoffeeScript
mit
ethanp/apm,pusateri/apm,pusateri/apm,ethanp/apm,atom/apm,bcoe/apm,gutsy/apm,bcoe/apm,atom/apm,VandeurenGlenn/apm,gutsy/apm,jlord/apm,Nikpolik/apm,AtaraxiaEta/apm,jlord/apm,atom/apm,fscherwi/apm,jlord/apm,atom/apm,gutsy/apm,ethanp/apm,fscherwi/apm,fscherwi/apm,Nikpolik/apm,VandeurenGlenn/apm,ethanp/apm,AtaraxiaEta/apm,V...
abc8992a754d6219ce01c5f8529edb7c22e12cd1
gulp/tasks/watch.coffee
gulp/tasks/watch.coffee
#-------------------------------------------------------- # Requirements #-------------------------------------------------------- gulp = require 'gulp' plugins = require('gulp-load-plugins')() config = require "../config.coffee" #-------------------------------------------------------- # Watch for changes...
#-------------------------------------------------------- # Requirements #-------------------------------------------------------- gulp = require 'gulp' plugins = require('gulp-load-plugins')() config = require "../config.coffee" #-------------------------------------------------------- # Watch for changes...
Watch only bower.json for vendor
Watch only bower.json for vendor
CoffeeScript
mit
WINTR/gulp-frontend-scaffold,duoduo369/leaning-frontend,duoduo369/leaning-frontend,bmathews/gulp-frontend-scaffold,WINTR/gulp-frontend-scaffold,decore/gulp-frontend-scaffold,duoduo369/leaning-frontend,thenickcox/gulp-frontend-scaffold,thenickcox/gulp-frontend-scaffold,duoduo369/gulp-frontend-scaffold,decore/gulp-fronte...
1d1127b6ecee291e3cf6d28d6b65a57729f28ff7
deployment/mongomigrationconfig.coffee
deployment/mongomigrationconfig.coffee
fs = require 'fs' module.exports.create = (KONFIG)-> connectionString = "mongodb://#{KONFIG.mongo}" conn = { connectionString } fileName = "./deployment/generated_files/mongomigration.json" fs.writeFileSync fileName, JSON.stringify { conn }
#!/usr/bin/env coffee fs = require 'fs' module.exports.create = create = (KONFIG) -> connectionString = "mongodb://#{KONFIG.mongo}" conn = { connectionString } fileName = "./deployment/generated_files/mongomigration.json" fs.writeFileSync fileName, JSON.stringify { conn } if require.main is module mongo =...
Make mongo-migrate config script self executable
Make mongo-migrate config script self executable Signed-off-by: Sonmez Kartal <d2d15c3d37396a5f2a09f8b42cf5f27d43a3fbde@koding.com>
CoffeeScript
agpl-3.0
sinan/koding,alex-ionochkin/koding,sinan/koding,koding/koding,sinan/koding,koding/koding,sinan/koding,andrewjcasal/koding,szkl/koding,alex-ionochkin/koding,drewsetski/koding,andrewjcasal/koding,alex-ionochkin/koding,rjeczalik/koding,kwagdy/koding-1,sinan/koding,gokmen/koding,alex-ionochkin/koding,usirin/koding,koding/k...
f27715e7b0f896315a3206e0fab8741a5587d0ec
client/views/events/event_new.coffee
client/views/events/event_new.coffee
window.events_at_penn ?= {} Template.new_event.helpers 'empty_object': {} Template.new_event.events 'submit .create-event': (e) -> e.preventDefault() event = window.events_at_penn.parse_event_from_form $('.create-event') Meteor.call('create_event', event, (error, id) -> Meteor.Router.to "/event/...
window.events_at_penn ?= {} Template.new_event.helpers 'empty_object': {} Template.new_event.events 'submit .create-event': (e) -> e.preventDefault() event = window.events_at_penn.parse_event_from_form $('.create-event') Meteor.call('create_event', event, (error, id) -> Meteor.Router.to "/event/...
Fix bug with undefined title_id in redirect following event creation
Fix bug with undefined title_id in redirect following event creation
CoffeeScript
mit
pennlabs/eventsatpenn-meteor
f5bdc55caf1dd77beedc8a6370a7e0801ab51100
lib/tasks/actions/build_to_speech_action.coffee
lib/tasks/actions/build_to_speech_action.coffee
{BaseTaskAction} = require "#{__dirname}/../../base_task_action" {TempFileHolder} = require "#{__dirname}/../../helpers/temp_file_holder" {GoogleTranslatorTtsStrategy} = require "#{__dirname}/../../plugins/say/tts_strategies/google_translator" class BuildToSpeechAction extends BaseTaskAction language: null cons...
{BaseTaskAction} = require "#{__dirname}/../../base_task_action" {TempFileHolder} = require "#{__dirname}/../../helpers/temp_file_holder" {GoogleTranslatorTtsStrategy} = require "#{__dirname}/../../plugins/say/tts_strategies/google_translator" class BuildToSpeechAction extends BaseTaskAction language: null text...
Add a bunch of text builders.
Add a bunch of text builders.
CoffeeScript
mit
knalli/pi-jenkins,knalli/pi-jenkins
968901ee1b0a1baa8e587de935bc4ed8eca68c00
components/SendRequest.coffee
components/SendRequest.coffee
noflo = require 'noflo' coap = require 'coap' # @runtime noflo-nodejs exports.getComponent = -> c = new noflo.Component c.icon = 'cog' c.description = 'Send request' # Add input ports c.inPorts.add 'url', datatype: 'object' require: yes # Add output ports c.outPorts.add 'request', datatype...
noflo = require 'noflo' coap = require 'coap' # @runtime noflo-nodejs exports.getComponent = -> c = new noflo.Component c.icon = 'cog' c.description = 'Send request' url = null req = null # Add input ports c.inPorts.add 'url', datatype: 'all' require: yes c.inPorts.add 'start', datatype: ...
Add trigger and accept string for url
Add trigger and accept string for url
CoffeeScript
mit
razueroh/noflo-coap
d5f4e12f63f6f4de593146c6630090f2c661a8ce
spec/link-spec.coffee
spec/link-spec.coffee
{RootView} = require 'atom-api' shell = require 'shell' describe "link package", -> [editor] = [] beforeEach -> atom.activatePackage('javascript-tmbundle', sync: true) atom.activatePackage('hyperlink-helper-tmbundle', sync: true) window.rootView = new RootView rootView.open('sample.js') atom.a...
{RootView} = require 'atom' shell = require 'shell' describe "link package", -> [editor] = [] beforeEach -> atom.activatePackage('javascript-tmbundle', sync: true) atom.activatePackage('hyperlink-helper-tmbundle', sync: true) window.rootView = new RootView rootView.open('sample.js') atom.activ...
Rename require from atom-api to atom
Rename require from atom-api to atom
CoffeeScript
mit
atom/link
104ac17ed7f83f4d594d9908b6c8187586b43b3a
src/coffee/qbn.coffee
src/coffee/qbn.coffee
qbnApp = angular.module 'qbnApp', [] # The immutable objects that make up the game itself serve as prototypes for the objects that make # up the mutable game state. This function takes a game definition object and makes a state # instance of it. # # By convention, any property on the prototype of the form "defaultThin...
qbnApp = angular.module 'qbnApp', [] # The immutable objects that make up the game itself serve as prototypes for the objects that make # up the mutable game state. This function takes a game definition object and makes a state # instance of it. # # By convention, any property on the prototype of the form "defaultThin...
Move Engine-y Bits to Their Own Module
Move Engine-y Bits to Their Own Module
CoffeeScript
unlicense
arashikou/exper3-2015
b42cbe8f359c707d63f8c82531fd97b673441e15
client/ide/workspace/panes/finderpane.coffee
client/ide/workspace/panes/finderpane.coffee
class FinderPane extends Pane constructor: (options = {}, data) -> super options, data vmController = KD.getSingleton 'vmController' vmController.fetchDefaultVmName (vmName) => @finder = new NFinderController nodeIdPath : 'path' nodeParentIdPath : 'parentPath' contextMen...
class FinderPane extends Pane constructor: (options = {}, data) -> super options, data appManager = KD.getSingleton 'appManager' appManager.open 'Finder', (finderApp) => fc = @finderController = finderApp.create() @addSubView fc.getView() fc.reset() fc.on 'FileNeedsToBeOpened'...
Use Finder app to create a filetree.
Use Finder app to create a filetree.
CoffeeScript
agpl-3.0
jack89129/koding,usirin/koding,andrewjcasal/koding,jack89129/koding,koding/koding,mertaytore/koding,gokmen/koding,koding/koding,usirin/koding,mertaytore/koding,kwagdy/koding-1,szkl/koding,usirin/koding,jack89129/koding,drewsetski/koding,koding/koding,rjeczalik/koding,szkl/koding,sinan/koding,andrewjcasal/koding,cihangi...
c8a00b615b365db55a735a34a243186177891eba
server/app.coffee
server/app.coffee
express = require 'express' mongoose = require 'mongoose' ext_type = require 'connect-ext-type' { createServer } = require 'http' { join } = require 'path' module.exports = express().configure -> @set 'port', process.env.PORT or 8070 @set 'view engine', 'jade' @set 'views', join __dirname, 'views' @set 'url', ...
express = require 'express' mongoose = require 'mongoose' ext_type = require 'connect-ext-type' { createServer } = require 'http' { join } = require 'path' module.exports = express().configure -> @set 'port', process.env.PORT or 8070 @set 'view engine', 'jade' @set 'views', join __dirname, 'views' @set 'url', ...
Update for express 3.4.4, use the json and urlencoded middleware directly
Update for express 3.4.4, use the json and urlencoded middleware directly
CoffeeScript
agpl-3.0
shesek/bitrated,shesek/bitrated
24b443cdf0da839614fa8c731afd3e0983c3fb86
app/assets/javascripts/forms.js.coffee
app/assets/javascripts/forms.js.coffee
jQuery -> $("input.datepicker").datepicker format: "yyyy-mm-dd" startDate: new Date() autoclose: true
jQuery -> $("input.datepicker").datepicker format: "yyyy-mm-dd" autoclose: true
Remove restriction for data picker start date
Remove restriction for data picker start date
CoffeeScript
mit
ResourceDataInc/commuter_challenge,Ehryk/Ride-MN,Ehryk/Ride-MN,ResourceDataInc/commuter_challenge,Ehryk/Ride-MN,ResourceDataInc/commuter_challenge,Ehryk/Ride-MN,ResourceDataInc/commuter_challenge
e748a939b0a4f4d857ff5775a05e4934a78a44f1
src/components/tabs-with-children.cjsx
src/components/tabs-with-children.cjsx
React = require 'react' classnames = require 'classnames' # Renders ONLY the list of tabs (not tab body), with @props.chilren inline with the tabs # Usefull for rendering controls beside the Tabs TabsWithChildren = React.createClass propTypes: onClick: React.PropTypes.func.isRequired tabs: React.PropType...
React = require 'react' classnames = require 'classnames' # Renders ONLY the list of tabs (not tab body), with @props.chilren inline with the tabs # Usefull for rendering controls beside the Tabs TabsWithChildren = React.createClass propTypes: onClick: React.PropTypes.func.isRequired tabIndex: React.Prop...
Update selected tab when set from props
Update selected tab when set from props
CoffeeScript
agpl-3.0
openstax/tutor-js,openstax/tutor-js,openstax/tutor-js,openstax/tutor-js,openstax/tutor-js
72f2ed65628e749bcf90e1af6c888dbcbf21f32f
lib/messagestream.coffee
lib/messagestream.coffee
### irc-message Copyright (c) 2013 Fionn Kelleher. All rights reserved. Licensed under the BSD 2-Clause License (FreeBSD) - see LICENSE.md. ### Transform = require("stream").Transform Message = require "irc-message" util = require "util" class MessageStream constructor: (options) -> @buffer = "" Trans...
### irc-message Copyright (c) 2013 Fionn Kelleher. All rights reserved. Licensed under the BSD 2-Clause License (FreeBSD) - see LICENSE.md. ### Transform = require("stream").Transform Message = require "irc-message" util = require "util" class MessageStream constructor: (options = {}) -> options.objectMod...
Make sure objectMode is enabled.
Make sure objectMode is enabled.
CoffeeScript
bsd-2-clause
expr/irc-message-stream,SIGKELL/irc-message-stream
b55d337cffc8ff0c9111755ca31d63e96f47eda2
src/scripts/models/content/page.coffee
src/scripts/models/content/page.coffee
define (require) -> $ = require('jquery') toc = require('cs!collections/toc') Node = require('cs!models/content/node') require('backbone-associations') return class Page extends Node defaults: authors: [] constructor: () -> super(arguments...) toc.add(@) parse: (response, opti...
define (require) -> $ = require('jquery') toc = require('cs!collections/toc') Node = require('cs!models/content/node') require('backbone-associations') LICENSES = { 'by': 'Attribution License CC BY' 'by-sa': 'Attribution-ShareAlike CC BY-SA' 'by-nd': 'Attribution-NoDerivs CC BY-ND' 'by-nc': '...
Determine license name, version and url on load
Determine license name, version and url on load
CoffeeScript
agpl-3.0
dak/webview,dak/webview,dak/webview,katalysteducation/webview,katalysteducation/webview,Connexions/webview,katalysteducation/webview,katalysteducation/webview,Connexions/webview,Connexions/webview,Connexions/webview,carolinelane10/webview
3bc1192fd640c409cdfd13ec2fef48858d576bb8
coffee/example.coffee
coffee/example.coffee
$(document).ready -> $('.literally').literallycanvas() $(document).bind 'touchmove', (e) -> if e.target == document.documentElement e.preventDefault() oldConsole = console window.console = { log: (args...) -> oldConsole.log(args...) $('.log').append($(" <div class='log-line...
$(document).ready -> $('.literally').literallycanvas() $(document).bind 'touchmove', (e) -> if e.target == document.documentElement e.preventDefault()
Remove overridden console, FF doesn't like it (also we are broken in FF)
Remove overridden console, FF doesn't like it (also we are broken in FF)
CoffeeScript
bsd-2-clause
bartuspan/literallycanvas,literallycanvas/literallycanvas,literallycanvas/literallycanvas.github.com,irskep/lc-demo,ivanisidrowu/literallycanvas,ivanisidrowu/literallycanvas,irskep/lc-demo,literallycanvas/literallycanvas.github.com,bikegriffith/literallycanvas.github.com,bikegriffith/literallycanvas.github.com,17862008...
d35e50805e9b8779a547ef112e095029ae7f9f93
js-library/app/js/jail_iframe/util/create.coffee
js-library/app/js/jail_iframe/util/create.coffee
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...
FactlinkJailRoot.createFactFromSelection = (current_user_opinion) -> success = -> window.document.getSelection().removeAllRanges() FactlinkJailRoot.createButton.stopLoading() FactlinkJailRoot.createButton.hide() FactlinkJailRoot.off 'modalOpened', success selInfo = text: window.document.getSele...
Stop loading when modal opened
Stop loading when modal opened
CoffeeScript
mit
Factlink/factlink-core,Factlink/factlink-core,daukantas/factlink-core,Factlink/factlink-core,daukantas/factlink-core,Factlink/factlink-core,daukantas/factlink-core,daukantas/factlink-core
f21f2e5709fffcabeca059e8c8e675636826a047
lib/git-write.coffee
lib/git-write.coffee
{BufferedProcess} = require 'atom' StatusView = require './status-view' # if all param true, then 'git add .' gitWrite = (all=false)-> dir = atom.project.getRepo().getWorkingDirectory() currentFile = atom.workspace.getActiveEditor().getPath() toStage = if all then '.' else currentFile new BufferedProcess({ ...
{BufferedProcess} = require 'atom' StatusView = require './status-view' # if all param true, then 'git add .' gitWrite = (all=false)-> dir = atom.project.getRepo().getWorkingDirectory() currentFile = atom.workspace.getActiveEditor().getPath() toStage = if all then '.' else currentFile new BufferedProcess({ ...
Change GitWrite success message to show 'all files' or filepath
Change GitWrite success message to show 'all files' or filepath
CoffeeScript
mit
akonwi/git-plus,akonwi/git-plus
9573a256b44d6d09e373c3e32d578d37d6688f6b
test/demo-mock.coffee
test/demo-mock.coffee
define [ 'jquery' 'mockjax' ], ($) -> $.mockjax url: '/api/me' proxy: 'data/me.json' $.mockjax url: '/api/content' proxy: 'data/content.json' $.mockjax (settings) -> # url: '/content/<id>' id = settings.url.match(/\/content\/(.*)$/); if id return {proxy: 'data/content/' + ...
define [ 'jquery' 'mockjax' ], ($) -> $.mockjax url: '/api/me' proxy: 'data/me.json' $.mockjax url: '/api/content' proxy: 'data/content.json' $.mockjax (settings) -> # url: '/api/content/<id>' id = settings.url.match(/\/api\/content\/(.*)$/); if id return {proxy: 'data/con...
Fix mock url for content
Fix mock url for content
CoffeeScript
agpl-3.0
oerpub/github-bookeditor,oerpub/bookish,oerpub/github-bookeditor,oerpub/bookish,oerpub/github-bookeditor
f6d7e6ad9eb7c745ab8a83c52232aa09e2b2afea
review_front/app/models/commit.coffee
review_front/app/models/commit.coffee
`import DS from 'ember-data'` Commit = DS.Model.extend remoteId: DS.attr('string') message: DS.attr('string') state: DS.attr('string') remoteUrl: DS.attr('string') project: DS.belongsTo('project') expiresAt: DS.attr('date') createdAt: DS.attr('date') authoredAt: DS.attr('date') author: DS.belongsTo('...
`import DS from 'ember-data'` Commit = DS.Model.extend remoteId: DS.attr('string') message: DS.attr('string') state: DS.attr('string') remoteUrl: DS.attr('string') project: DS.belongsTo('project') expiresAt: DS.attr('date') createdAt: DS.attr('date') authoredAt: DS.attr('date') author: DS.belongsTo('...
Revert "temporary fix for dependecies"
Revert "temporary fix for dependecies" This reverts commit e9858c4385a011e183e2d1e64cd72e7729618866.
CoffeeScript
mit
Naturaily/review,Naturaily/review,Naturaily/review
1f5c682a0f1242b4bb78c9bec09720eeeb1ad19c
workers/social/lib/social/models/sharedmachine.coffee
workers/social/lib/social/models/sharedmachine.coffee
bongo = require 'bongo' module.exports = class SharedMachine extends bongo.Base @share()
bongo = require 'bongo' JMachine = require './computeproviders/machine' module.exports = class SharedMachine extends bongo.Base @share() setUsers = (client, uid, options, callback) -> options.permanent = yes JMachine.shareByUId client, uid, options, callback
Define shared machine user setter function
Define shared machine user setter function
CoffeeScript
agpl-3.0
mertaytore/koding,usirin/koding,andrewjcasal/koding,drewsetski/koding,alex-ionochkin/koding,cihangir/koding,koding/koding,szkl/koding,koding/koding,usirin/koding,cihangir/koding,alex-ionochkin/koding,rjeczalik/koding,sinan/koding,gokmen/koding,szkl/koding,cihangir/koding,kwagdy/koding-1,sinan/koding,koding/koding,szkl/...
d35ca118827061b2866610f1123fea2b7461b5c1
lib/parser.coffee
lib/parser.coffee
class VMAPParser module.exports = VMAPParser
URLHandler = require './urlhandler.coffee' ADBreak = require './adbreak.coffee' ADData = require './addata.coffee' class VMAPParser @parse: (url, options, cb) -> if not cb cb = options if typeof options is 'function' options = {} @_parse url, null, options, (err, response) -> cb(response) ...
Add AdBreak module and URL handler
Add AdBreak module and URL handler
CoffeeScript
mit
brkattk/vmap-client-js,stevennick/vmap-client-js,stevennick/vmap-client-js,brkattk/vmap-client-js
65f77d5c38e77e69963094635d4a58d053ad844d
app/js/jail_iframe/util/annotated_site_receiver.coffee
app/js/jail_iframe/util/annotated_site_receiver.coffee
# Object which holds the methods that can be called from the factlink core iframe modalOpen = false FactlinkJailRoot.annotatedSiteReceiver = modalFrameReady: (featureToggles) -> FactlinkJailRoot.can_haz = featureToggles window.FACTLINK_ON_CORE_LOAD?() openModalOverlay: -> return if modalOpen Fact...
# Object which holds the methods that can be called from the factlink core iframe modalOpen = false FactlinkJailRoot.annotatedSiteReceiver = modalFrameReady: (featureToggles) -> FactlinkJailRoot.can_haz = featureToggles window.FACTLINK_ON_CORE_LOAD?() openModalOverlay: -> if modalOpen console.e...
Add warning logging when unusual things happen
Add warning logging when unusual things happen
CoffeeScript
mit
Factlink/js-library,Factlink/js-library,Factlink/js-library
ff80c167830448e9b3503dd676c7b73e6b9541ae
index.coffee
index.coffee
requirejs.config({ paths: { fabric: [ 'lib/fabric'] } }) define ['game', 'synchronizedtime', 'position', 'lib/fabric'], (Game, SynchronizedTime, Position) -> # Fabric is deliberately not set as an argument console.log "Fabric: ", fabric console.log "Position: ", new Position([1,2], 0, 5) canvas = n...
requirejs.config({ paths: { fabric: [ 'lib/fabric'] } }) define ['game', 'synchronizedtime', 'position', 'lib/fabric'], (Game, SynchronizedTime, Position) -> # Fabric is deliberately not set as an argument console.log "Fabric: ", fabric console.log "Position: ", new Position([1,2], 0, 5) canvas = n...
Disable rendering when element is added or removed from canvas
Disable rendering when element is added or removed from canvas
CoffeeScript
agpl-3.0
Aaron1011/beamwars
fa5eb6cac3133a75183d34cc4e20ca748f35b654
grunt/config/less.coffee
grunt/config/less.coffee
module.exports = (grunt, options) -> return { client: options: paths: ['styles'] files: '<%= build %>/css/servicemap.css': 'styles/servicemap.less' '<%= build %>/css/bootstrap.css': 'styles/bootstrap/bootstrap.less' '<%= build %>/css/servicemap_ie.css': 'styles/servicem...
module.exports = (grunt, options) -> return { options: paths: ['styles'] dev: files: '<%= build %>/css/servicemap.css': 'styles/servicemap.less' '<%= build %>/css/servicemap_ie.css': 'styles/servicemap_ie.less' '<%= build %>/css/servicemap_ie9.css': 'styles/servicemap_ie9.l...
Add CSS optimization to Grunt build (dist only)
Add CSS optimization to Grunt build (dist only)
CoffeeScript
agpl-3.0
City-of-Helsinki/servicemap,City-of-Helsinki/servicemap,vaaralav/servicemap,City-of-Helsinki/servicemap,vaaralav/servicemap,vaaralav/servicemap