{"commit":"f138a4860fcaefd277acfb3d11effde7d962ed8e","old_file":"client\/src\/views\/section_view.coffee","new_file":"client\/src\/views\/section_view.coffee","old_contents":"window.Backbone ||= {}\nwindow.Backbone.Views ||= {}\n\nclass Backbone.Views.SectionView extends Backbone.Diorama.NestingView\n template: Handlebars.templates['section.hbs']\n tagName: 'section'\n className: 'section-view'\n\n events:\n \"click .add-narrative\": \"addNarrative\"\n \"click .add-visualisation\": \"addVisualisation\"\n\n initialize: (options) ->\n @section = options.section\n\n render: =>\n @closeSubViews()\n noContent = !@section.get('narrative')? and !@section.get('visualisation')\n @$el.html(@template(\n thisView: @\n section: @section.toJSON()\n noContent: noContent\n narrative: @section.get('narrative')\n visualisation: @section.get('visualisation')\n ))\n @renderSubViews()\n\n return @\n\n addNarrative: =>\n @section.set('narrative', new Backbone.Models.Narrative())\n @render()\n\n addVisualisation: =>\n @section.set('visualisation', new Backbone.Models.Visualisation())\n @render()\n\n onClose: ->\n @closeSubViews()\n","new_contents":"window.Backbone ||= {}\nwindow.Backbone.Views ||= {}\n\nclass Backbone.Views.SectionView extends Backbone.Diorama.NestingView\n template: Handlebars.templates['section.hbs']\n tagName: 'section'\n className: 'section-view'\n\n events:\n \"click .add-narrative\": \"addNarrative\"\n \"click .add-visualisation\": \"addVisualisation\"\n\n initialize: (options) ->\n @section = options.section\n\n render: =>\n @closeSubViews()\n noContent = !@section.get('narrative')? and !@section.get('visualisation')?\n @$el.html(@template(\n thisView: @\n section: @section.toJSON()\n noContent: noContent\n narrative: @section.get('narrative')\n visualisation: @section.get('visualisation')\n ))\n @renderSubViews()\n\n return @\n\n addNarrative: =>\n @section.set('narrative', new Backbone.Models.Narrative())\n @render()\n\n addVisualisation: =>\n @section.set('visualisation', new Backbone.Models.Visualisation())\n @render()\n\n onClose: ->\n @closeSubViews()\n","subject":"Add missing ? to conditional","message":"Add missing ? to conditional\n","lang":"CoffeeScript","license":"bsd-3-clause","repos":"unepwcmc\/NRT,unepwcmc\/NRT"} {"commit":"028157ea21c17e264baaee12baef9a508e2f1e00","old_file":"client\/source\/views\/base\/mixins\/form.coffee","new_file":"client\/source\/views\/base\/mixins\/form.coffee","old_contents":"_ = require 'underscore'\n\nmodule.exports =\n render: ->\n # Prepare any submit buttons for Ladda\n @$btn = @$('.ladda-button').ladda()\n\n # Automatically focus the first visible input\n _.defer =>\n @$('.form-control:visible').eq(0).focus()\n\n formParams: ->\n # Uses jQuery formParams, but don't try to convert number values to numbers, etc.\n @$el.formParams no\n\n submit: (promise) ->\n @$btn.ladda 'start'\n\n promise.always(\n @$btn.ladda 'stop'\n ).fail(\n @renderServerErrors\n )\n\n renderServerErrors: (res) =>\n\n # First let's get rid of the old ones\n @$('.help-block').remove()\n @$('.has-error').removeClass('has-error')\n\n if errors = res?.responseJSON?.errors\n _.each errors, (error) =>\n if error.type is 'required'\n message = 'Required<\/span>'\n else\n message = error.message\n\n @$ \"\"\"[name=\"#{error.path}\"]\"\"\"\n .closest '.form-group'\n .find('.help-block').remove().end()\n .addClass 'has-error'\n .append \"\"\"\n #{message}<\/span>\n \"\"\"\n\n @$('.has-error').eq(0).find('[name]').focus()\n","new_contents":"_ = require 'underscore'\n\nmodule.exports =\n render: ->\n # Prepare any submit buttons for Ladda\n @$btn = @$('.ladda-button').ladda()\n\n # Automatically focus the first visible input\n _.defer =>\n @$('.form-control:visible').eq(0).focus()\n\n formParams: ->\n # Uses jQuery formParams, but don't try to convert number values to numbers, etc.\n @$el.formParams no\n\n submit: (promise) ->\n @$btn.ladda 'start'\n\n promise.always(\n @$btn.ladda 'stop'\n ).fail(\n _.bind(@renderServerErrors, @)\n )\n\n renderServerErrors: (res) ->\n\n # First let's get rid of the old ones\n @$('.help-block').remove()\n @$('.has-error').removeClass('has-error')\n\n if errors = res?.responseJSON?.errors\n _.each errors, (error) =>\n if error.type is 'required'\n message = 'Required<\/span>'\n else\n message = error.message\n\n @$ \"\"\"[name=\"#{error.path}\"]\"\"\"\n .closest '.form-group'\n .find('.help-block').remove().end()\n .addClass 'has-error'\n .append \"\"\"\n #{message}<\/span>\n \"\"\"\n\n @$('.has-error').eq(0).find('[name]').focus()\n","subject":"Fix for rendering server errors in new Form mixin","message":"Fix for rendering server errors in new Form mixin\n","lang":"CoffeeScript","license":"agpl-3.0","repos":"dut3062796s\/buckets,nishant8BITS\/buckets,edolyne\/hive,bucketsio\/buckets,mikesmithmsm\/buckets,dut3062796s\/buckets,bucketsio\/buckets,mamute\/buckets,edolyne\/buckets,edolyne\/buckets,asm-products\/buckets,asm-products\/buckets,edolyne\/hive,artelse\/buckets,mikesmithmsm\/buckets,nishant8BITS\/buckets,mamute\/buckets,artelse\/buckets"} {"commit":"59d8095c1d6f3b1951663c875eb75ac0272384c7","old_file":"client\/skr\/components\/PrintFormChooser.cjsx","new_file":"client\/skr\/components\/PrintFormChooser.cjsx","old_contents":"class Skr.Components.PrintFormChooser extends Lanes.React.Component\n\n propTypes:\n label: React.PropTypes.string\n model: Lanes.PropTypes.Model.isRequired\n\n mixins: [\n Lanes.React.Mixins.ReadEditingState\n ]\n\n onChange: ->\n (f) => @invoice.form = f\n\n renderEdit: (value) ->\n choices = @props.model.constructor.Templates\n \n\n renderValue: (value) ->\n value\n\n render: ->\n value = @props.model[@props.name or 'form'] or 'default'\n props = _.omit(@props, 'choices', 'name')\n \n {if @isEditingRecord() then @renderEdit(value) else @renderValue(value)}\n <\/LC.FormGroup>\n","new_contents":"class Skr.Components.PrintFormChooser extends Lanes.React.Component\n\n propTypes:\n label: React.PropTypes.string.isRequired\n model: Lanes.PropTypes.Model.isRequired\n choices: React.PropTypes.array\n\n mixins: [\n Lanes.React.Mixins.ReadEditingState\n ]\n\n onChange: (val) ->\n if @props.onChange\n @props.onChange?(val, @props)\n else\n @props.model[@props.name] = val\n\n renderEdit: (value) ->\n choices = @props.choices || @props.model.constructor.Templates\n \n\n renderValue: (value) ->\n value\n\n render: ->\n value = @props.value or @props.model[@props.name or 'form'] or 'default'\n props = _.omit(@props, 'choices', 'name')\n \n {if @isEditingRecord() then @renderEdit(value) else @renderValue(value)}\n <\/LC.FormGroup>\n","subject":"Allow overriding get\/set from props","message":"Allow overriding get\/set from props\n","lang":"CoffeeScript","license":"agpl-3.0","repos":"argosity\/stockor,argosity\/stockor,argosity\/stockor,argosity\/stockor"} {"commit":"8c43567e4ade481eb43b1d4246bc16c5514e8573","old_file":"lib\/sockets.coffee","new_file":"lib\/sockets.coffee","old_contents":"app = require('..\/config\/app').app\n\nio = require('socket.io').listen(app)\nRepositorySchema = require('..\/models\/repository').RepositorySchema\n\nio.sockets.on 'connection', (socket) ->\n RepositorySchema.pre 'save', (next) ->\n console.log 'socket.io sending repository event'\n socket.emit 'repository',\n 'repository': this\n next\n","new_contents":"app = require('..\/config\/app').app\n\nio = require('socket.io').listen(app)\nRepositorySchema = require('..\/models\/repository').RepositorySchema\n\nio.sockets.on 'connection', (socket) ->\n RepositorySchema.pre 'save', (next) ->\n console.log 'socket.io sending repository event'\n socket.emit 'repository',\n 'repository': this\n next()\n","subject":"Make sure to execute the next filter.","message":"Make sure to execute the next filter.\n","lang":"CoffeeScript","license":"mit","repos":"drip\/drip"} {"commit":"ef0bba68c7cfc3961a567fde6245779c33b27ce9","old_file":"lib\/helpers.coffee","new_file":"lib\/helpers.coffee","old_contents":"mkdirp = require 'mkdirp'\nfs = require 'fs'\n\n#\n# Convenient method for writing a file on\n# a path that might not exist. This function\n# will create all folders provided in the\n# path to the file.\n#\n#\n# writeToFile('\/tmp\/hi\/folder\/file.js', \"console.log('hi')\")\n# \n# will create a file at \/tmp\/hi\/folder\/file.js with provided content\n#\nwriteToFile = (file, content) ->\n try\n fs.writeFileSync(file, content)\n catch e\n if e.code == 'ENOENT' or e.code == 'EBADF'\n splitted = file.split('\/')\n mkdirp.sync(splitted.splice(0, splitted.length-1).join('\/'), 0o0777)\n\n # Retry!\n writeToFile(file, content)\n else\n console.log e\n\nnormalizeUrl = (url) ->\n protocol = url.match(\/^(http|https):\\\/\\\/\/)?[0]\n protocol = '' unless protocol?\n url = url.replace(protocol, '')\n url = url.replace('\/\/', '\/')\n return protocol + url\n\nexports.writeToFile = writeToFile\nexports.normalizeUrl = normalizeUrl\n","new_contents":"mkdirp = require 'mkdirp'\nfs = require 'fs'\n\n#\n# Convenient method for writing a file on\n# a path that might not exist. This function\n# will create all folders provided in the\n# path to the file.\n#\n#\n# writeToFile('\/tmp\/hi\/folder\/file.js', \"console.log('hi')\")\n# \n# will create a file at \/tmp\/hi\/folder\/file.js with provided content\n#\nwriteToFile = (file, content) ->\n try\n fs.writeFileSync(file, content)\n catch e\n if e.code == 'ENOENT' or e.code == 'EBADF'\n splitted = file.split('\/')\n mkdirp.sync(splitted.splice(0, splitted.length-1).join('\/'), 0o0777)\n\n # Retry!\n writeToFile(file, content)\n else\n console.log e\n\nnormalizeUrl = (url) ->\n protocol = url.match(\/^(http|https):\\\/\\\/\/)?[0]\n protocol = '' unless protocol?\n url = url.replace(protocol, '')\n url = url.replace('\\\\', '\/')\n url = url.replace('\/\/', '\/')\n return protocol + url\n\nexports.writeToFile = writeToFile\nexports.normalizeUrl = normalizeUrl\n","subject":"Fix url normalization for Windows","message":"Fix url normalization for Windows\n\nWhen bundle-up is called from Windows, it uses the file path to generate\nthe compiled assets url, resulting in things like\n\"\/\\generated\\bundle\\asdfg.css\".\n\nThis little patch fixes that.\n","lang":"CoffeeScript","license":"mit","repos":"FGRibreau\/bundle-up,Cowboy-coder\/bundle-up,FGRibreau\/bundle-up"} {"commit":"ae85e3e2372b09afa1be5b49532ca99aca08e3ae","old_file":"public\/js\/main.coffee","new_file":"public\/js\/main.coffee","old_contents":"$ ->\n\tdata = [\n\t\t\tname: 'Original'\n\t\t\tparticipants: 100\n\t\t\tconversions: 45\n\t\t\tcolor: '#00aa00'\n\t\t,\n\t\t\tname: 'Variation'\n\t\t\tparticipants: 100\n\t\t\tconversions: 50\n\t\t\tcolor: 'blue'\n\t]\n\n\tvariations = []\n\tvariations.push new App.Variation item.name, item.color, item.participants, item.conversions for item in data\n\n\tcalculator = new App.Calculator variations\n\tcalculator.renderGraph()","new_contents":"$ ->\n\tdata =\n\t\ttitle: 'Original vs Variation'\n\t\tvariations: [\n\t\t\t\tname: 'Original'\n\t\t\t\tparticipants: 100\n\t\t\t\tconversions: 45\n\t\t\t\tcolor: '#00aa00'\n\t\t\t,\n\t\t\t\tname: 'Variation'\n\t\t\t\tparticipants: 100\n\t\t\t\tconversions: 50\n\t\t\t\tcolor: '#0000ff'\n\t\t]\n\n\tvariations = []\n\tvariations.push new App.Variation item.name, item.color, item.participants, item.conversions for item in data.variations\n\n\tcalculator = new App.Calculator data.title, variations\n\tcalculator.render()","subject":"Add title to the chart","message":"Add title to the chart\n","lang":"CoffeeScript","license":"mit","repos":"mattm\/abtestcalculator,mattm\/abtestcalculator"} {"commit":"93f3d0883c5701ee76902c0c857aa5af33a31153","old_file":"client\/ide\/workspace\/panel.coffee","new_file":"client\/ide\/workspace\/panel.coffee","old_contents":"class IDE.Panel extends KDView\n\n constructor: (options = {}, data) ->\n\n options.cssClass = KD.utils.curry 'panel', options.cssClass\n\n super options, data\n\n @panesContainer = []\n @panes = []\n @panesByName = {}\n\n @createLayout()\n\n createLayout: ->\n {layoutOptions} = @getOptions()\n unless layoutOptions\n throw new Error 'You should pass layoutOptions to create a panel'\n\n @layout = new IDE.WorkspaceLayoutBuilder { delegate: this, layoutOptions }\n @addSubView @layout\n\n createPane: (paneOptions) ->\n PaneClass = @getPaneClass paneOptions\n pane = new PaneClass paneOptions\n\n @panesByName[paneOptions.name] = pane if paneOptions.name\n\n @panes.push pane\n @emit 'NewPaneCreated', pane\n return pane\n\n getPaneClass: (paneOptions) ->\n paneType = paneOptions.type\n PaneClass = if paneType is 'custom' then paneOptions.paneClass else @findPaneClass paneType\n\n unless PaneClass\n throw new Error \"PaneClass is not defined for \\\"#{paneOptions.type}\\\" pane type\"\n\n return PaneClass\n\n findPaneClass: (paneType) ->\n paneClasses =\n terminal : IDE.TerminalPane\n editor : IDE.EditorPane\n preview : IDE.PreviewPane\n finder : IDE.FinderPane\n drawing : IDE.DrawingPane\n\n return paneClasses[paneType]\n\n getPaneByName: (name) ->\n return @panesByName[name] or null\n","new_contents":"class IDE.Panel extends KDView\n\n constructor: (options = {}, data) ->\n\n options.cssClass = KD.utils.curry 'panel', options.cssClass\n\n super options, data\n\n @panesContainer = []\n @panes = []\n @panesByName = {}\n\n @createLayout()\n\n createLayout: ->\n {layoutOptions} = @getOptions()\n\n unless layoutOptions\n throw new Error 'You should pass layoutOptions to create a panel'\n\n layoutOptions.delegate = this\n\n @layout = new IDE.WorkspaceLayoutBuilder layoutOptions\n @addSubView @layout\n\n createPane: (paneOptions) ->\n PaneClass = @getPaneClass paneOptions\n pane = new PaneClass paneOptions\n\n @panesByName[paneOptions.name] = pane if paneOptions.name\n\n @panes.push pane\n @emit 'NewPaneCreated', pane\n return pane\n\n getPaneClass: (paneOptions) ->\n paneType = paneOptions.type\n PaneClass = if paneType is 'custom' then paneOptions.paneClass else @findPaneClass paneType\n\n unless PaneClass\n throw new Error \"PaneClass is not defined for \\\"#{paneOptions.type}\\\" pane type\"\n\n return PaneClass\n\n findPaneClass: (paneType) ->\n paneClasses =\n terminal : IDE.TerminalPane\n editor : IDE.EditorPane\n preview : IDE.PreviewPane\n finder : IDE.FinderPane\n drawing : IDE.DrawingPane\n\n return paneClasses[paneType]\n\n getPaneByName: (name) ->\n return @panesByName[name] or null\n","subject":"Fix for new layout builder in Panel.","message":"Fix for new layout builder in Panel.\n","lang":"CoffeeScript","license":"agpl-3.0","repos":"mertaytore\/koding,kwagdy\/koding-1,cihangir\/koding,mertaytore\/koding,gokmen\/koding,andrewjcasal\/koding,alex-ionochkin\/koding,alex-ionochkin\/koding,koding\/koding,mertaytore\/koding,cihangir\/koding,cihangir\/koding,koding\/koding,kwagdy\/koding-1,jack89129\/koding,rjeczalik\/koding,jack89129\/koding,gokmen\/koding,jack89129\/koding,mertaytore\/koding,acbodine\/koding,usirin\/koding,cihangir\/koding,sinan\/koding,mertaytore\/koding,szkl\/koding,rjeczalik\/koding,usirin\/koding,jack89129\/koding,kwagdy\/koding-1,andrewjcasal\/koding,acbodine\/koding,drewsetski\/koding,andrewjcasal\/koding,cihangir\/koding,sinan\/koding,andrewjcasal\/koding,szkl\/koding,rjeczalik\/koding,alex-ionochkin\/koding,alex-ionochkin\/koding,alex-ionochkin\/koding,szkl\/koding,andrewjcasal\/koding,usirin\/koding,drewsetski\/koding,gokmen\/koding,acbodine\/koding,usirin\/koding,koding\/koding,kwagdy\/koding-1,szkl\/koding,usirin\/koding,cihangir\/koding,rjeczalik\/koding,szkl\/koding,jack89129\/koding,gokmen\/koding,sinan\/koding,alex-ionochkin\/koding,usirin\/koding,acbodine\/koding,gokmen\/koding,sinan\/koding,koding\/koding,acbodine\/koding,acbodine\/koding,szkl\/koding,cihangir\/koding,rjeczalik\/koding,cihangir\/koding,rjeczalik\/koding,sinan\/koding,jack89129\/koding,drewsetski\/koding,drewsetski\/koding,koding\/koding,kwagdy\/koding-1,koding\/koding,gokmen\/koding,koding\/koding,drewsetski\/koding,mertaytore\/koding,drewsetski\/koding,mertaytore\/koding,acbodine\/koding,koding\/koding,jack89129\/koding,usirin\/koding,jack89129\/koding,sinan\/koding,alex-ionochkin\/koding,kwagdy\/koding-1,mertaytore\/koding,szkl\/koding,alex-ionochkin\/koding,rjeczalik\/koding,andrewjcasal\/koding,usirin\/koding,kwagdy\/koding-1,sinan\/koding,drewsetski\/koding,gokmen\/koding,andrewjcasal\/koding,rjeczalik\/koding,kwagdy\/koding-1,szkl\/koding,sinan\/koding,acbodine\/koding,gokmen\/koding,andrewjcasal\/koding,drewsetski\/koding"} {"commit":"9fc631f515b9c072710385288da10a85b1ddad27","old_file":"client\/controllers\/smartEvents\/smartEvent.coffee","new_file":"client\/controllers\/smartEvents\/smartEvent.coffee","old_contents":"SmartEvents = require '\/imports\/collections\/smartEvents'\nIncidents = require '\/imports\/collections\/incidentReports'\n#Allow multiple modals or the suggested locations list won't show after the\n#loading modal is hidden\nModal.allowMultiple = true\n\nTemplate.smartEvent.onCreated ->\n @editState = new ReactiveVar false\n @eventId = new ReactiveVar()\n @autorun =>\n eventId = Router.current().getParams()._id\n @eventId.set eventId\n @subscribe 'smartEvents', eventId,\n onReady: =>\n event = SmartEvents.findOne(eventId)\n eventDateRange = event.dateRange\n query = disease: event.disease\n if eventDateRange\n query['dateRange.start'] = $lte: eventDateRange.end\n query['dateRange.end'] = $gte: eventDateRange.start\n @subscribe 'smartEventIncidents', query\n\nTemplate.smartEvent.onRendered ->\n new Clipboard '.copy-link'\n\nTemplate.smartEvent.helpers\n smartEvent: ->\n SmartEvents.findOne(Template.instance().eventId.get())\n\n isEditing: ->\n Template.instance().editState.get()\n\n deleted: ->\n SmartEvents.findOne(Template.instance().eventId.get())?.deleted\n\n hasAssociatedIncidents: ->\n Incidents.find().count()\n\n incidentReportsTemplateData: ->\n incidents: Incidents.find({}, {sort: {'dateRange.end': 1}})\n eventType: 'smart'\n\nTemplate.smartEvent.events\n 'click .edit-link, click #cancel-edit': (event, instance) ->\n instance.editState.set(not instance.editState.get())\n","new_contents":"SmartEvents = require '\/imports\/collections\/smartEvents'\nIncidents = require '\/imports\/collections\/incidentReports'\n#Allow multiple modals or the suggested locations list won't show after the\n#loading modal is hidden\nModal.allowMultiple = true\n\nTemplate.smartEvent.onCreated ->\n @editState = new ReactiveVar false\n @eventId = new ReactiveVar()\n\nTemplate.smartEvent.onRendered ->\n eventId = Router.current().getParams()._id\n @eventId.set(eventId)\n @subscribe 'smartEvents', eventId\n @autorun =>\n event = SmartEvents.findOne(eventId)\n if event\n eventDateRange = event.dateRange\n query = disease: event.disease\n if eventDateRange\n query['dateRange.start'] = $lte: eventDateRange.end\n query['dateRange.end'] = $gte: eventDateRange.start\n @subscribe 'smartEventIncidents', query\n\nTemplate.smartEvent.onRendered ->\n new Clipboard '.copy-link'\n\nTemplate.smartEvent.helpers\n smartEvent: ->\n SmartEvents.findOne(Template.instance().eventId.get())\n\n isEditing: ->\n Template.instance().editState.get()\n\n deleted: ->\n SmartEvents.findOne(Template.instance().eventId.get())?.deleted\n\n hasAssociatedIncidents: ->\n Incidents.find().count()\n\n incidentReportsTemplateData: ->\n incidents: Incidents.find({}, sort: 'dateRange.end': 1)\n eventType: 'smart'\n\nTemplate.smartEvent.events\n 'click .edit-link, click #cancel-edit': (event, instance) ->\n instance.editState.set(not instance.editState.get())\n","subject":"Make IR query reactive when smart event is edited","message":"Make IR query reactive when smart event is edited\n","lang":"CoffeeScript","license":"apache-2.0","repos":"ecohealthalliance\/eidr-connect,ecohealthalliance\/eidr-connect,ecohealthalliance\/eidr-connect,ecohealthalliance\/eidr-connect"} {"commit":"794cf80c7467758fba1a86c3adf38899577ada5d","old_file":"src\/app\/units\/unit-student-plagiarism-list\/unit-student-plagiarism-list.coffee","new_file":"src\/app\/units\/unit-student-plagiarism-list\/unit-student-plagiarism-list.coffee","old_contents":"angular.module('doubtfire.units.partials.unit-student-plagiarism-list',[])\n\n#\n# List of all possible plagiarism detected in student's work\n#\n.directive('unitStudentPlagiarismList', ->\n replace: true\n restrict: 'E'\n templateUrl: 'units\/unit-student-plagiarism-list\/unit-student-plagiarism-list.tpl.html'\n controller: ($scope, $filter, currentUser, gradeService, projectService) ->\n $scope.grades = gradeService.grades\n\n $scope.view = \"all-students\"\n studentFilter = \"allStudents\"\n\n $scope.tutorName = currentUser.profile.name\n $scope.search = \"\"\n $scope.reverse = false\n $scope.currentPage = 1\n $scope.maxSize = 5\n $scope.pageSize = 15\n\n $scope.assessingUnitRole = $scope.unitRole\n\n $scope.setActiveView = (kind) ->\n $scope.view = kind\n if kind == 'my-students'\n studentFilter = \"myStudents\"\n else\n studentFilter = \"allStudents\"\n\n $scope.activeStudent = null\n $scope.activeTask = null\n\n $scope.selectStudent = (student) ->\n $scope.activeStudent = student\n if student\n projectService.fetchDetailsForProject student, $scope.unit, (project) ->\n $scope.activeTask = _.find(student.tasks, (task) -> task.similar_to_count > 0)\n\n $scope.selectTask = (task) ->\n $scope.activeTask = task\n)\n","new_contents":"angular.module('doubtfire.units.unit-student-plagiarism-list',[])\n\n#\n# List of all possible plagiarism detected in student's work\n#\n.directive('unitStudentPlagiarismList', ->\n replace: true\n restrict: 'E'\n templateUrl: 'units\/unit-student-plagiarism-list\/unit-student-plagiarism-list.tpl.html'\n controller: ($scope, $filter, currentUser, gradeService, projectService) ->\n $scope.grades = gradeService.grades\n\n $scope.view = \"all-students\"\n studentFilter = \"allStudents\"\n\n $scope.tutorName = currentUser.profile.name\n $scope.search = \"\"\n $scope.reverse = false\n $scope.currentPage = 1\n $scope.maxSize = 5\n $scope.pageSize = 15\n\n $scope.assessingUnitRole = $scope.unitRole\n\n $scope.setActiveView = (kind) ->\n $scope.view = kind\n if kind == 'my-students'\n studentFilter = \"myStudents\"\n else\n studentFilter = \"allStudents\"\n\n $scope.activeStudent = null\n $scope.activeTask = null\n\n $scope.selectStudent = (student) ->\n $scope.activeStudent = student\n if student\n projectService.fetchDetailsForProject student, $scope.unit, (project) ->\n $scope.activeTask = _.find(student.tasks, (task) -> task.similar_to_count > 0)\n\n $scope.selectTask = (task) ->\n $scope.activeTask = task\n)\n","subject":"Remove 'partials' from module name of student plagiarism list","message":"FIX: Remove 'partials' from module name of student plagiarism list\n","lang":"CoffeeScript","license":"agpl-3.0","repos":"alexcu\/doubtfire-web,final-year-project\/doubtfire-web,doubtfire-lms\/doubtfire-web,doubtfire-lms\/doubtfire-web,final-year-project\/doubtfire-web,alexcu\/doubtfire-web,doubtfire-lms\/doubtfire-web,doubtfire-lms\/doubtfire-web"} {"commit":"75f2f25bcec0233a3a3aa224914749255774dae5","old_file":"src\/keyboard-layout.coffee","new_file":"src\/keyboard-layout.coffee","old_contents":"{Emitter} = require 'event-kit'\n{KeyboardLayoutObserver} = require '..\/build\/Release\/keyboard-layout-observer.node'\n\nemitter = new Emitter\nobserver = new KeyboardLayoutObserver -> emitter.emit 'did-change-current-keyboard-layout', getCurrentKeyboardLayout()\n\ngetCurrentKeyboardLayout = ->\n observer.getCurrentKeyboardLayout()\n\ngetCurrentKeyboardLanguage = ->\n observer.getCurrentKeyboardLanguage()\n\ngetInstalledKeyboardLanguages = ->\n rawList = observer.getInstalledKeyboardLanguages()\n\n ret = []\n for item in rawList\n continue if ret.indexOf(item) >= 0\n ret.push(item)\n\n ret\n\nonDidChangeCurrentKeyboardLayout = (callback) ->\n emitter.on 'did-change-current-keyboard-layout', callback\n\nobserveCurrentKeyboardLayout = (callback) ->\n callback(getCurrentKeyboardLayout())\n onDidChangeCurrentKeyboardLayout(callback)\n\nmodule.exports = {getCurrentKeyboardLayout, getCurrentKeyboardLanguage, getInstalledKeyboardLanguages, onDidChangeCurrentKeyboardLayout, observeCurrentKeyboardLayout}\n","new_contents":"{Emitter} = require 'event-kit'\n{KeyboardLayoutObserver} = require '..\/build\/Release\/keyboard-layout-observer.node'\n\nemitter = new Emitter\nobserver = new KeyboardLayoutObserver -> emitter.emit 'did-change-current-keyboard-layout', getCurrentKeyboardLayout()\n\ngetCurrentKeyboardLayout = ->\n observer.getCurrentKeyboardLayout()\n\ngetCurrentKeyboardLanguage = ->\n observer.getCurrentKeyboardLanguage()\n\ngetInstalledKeyboardLanguages = ->\n # NB: This method returns one language per input method, and users can have\n # >1 layout that matches a given language (i.e. Japanese probably has Hiragana\n # and Katakana, both would correspond to the language \"ja\"), so we need to\n # dedupe this list.\n rawList = observer.getInstalledKeyboardLanguages()\n\n ret = []\n for item in rawList\n continue if ret.indexOf(item) >= 0\n ret.push(item)\n\n ret\n\nonDidChangeCurrentKeyboardLayout = (callback) ->\n emitter.on 'did-change-current-keyboard-layout', callback\n\nobserveCurrentKeyboardLayout = (callback) ->\n callback(getCurrentKeyboardLayout())\n onDidChangeCurrentKeyboardLayout(callback)\n\nmodule.exports = {getCurrentKeyboardLayout, getCurrentKeyboardLanguage, getInstalledKeyboardLanguages, onDidChangeCurrentKeyboardLayout, observeCurrentKeyboardLayout}\n","subject":"Comment why we have this method","message":"Comment why we have this method\n","lang":"CoffeeScript","license":"mit","repos":"atom\/keyboard-layout,atom\/keyboard-layout,atom\/keyboard-layout"} {"commit":"507e56025f3830fcfe0a9abf70a33f996efb9bc7","old_file":"client\/landing\/app\/Applications\/Chat.kdapplication\/Controllers\/conversationlistcontroller.coffee","new_file":"client\/landing\/app\/Applications\/Chat.kdapplication\/Controllers\/conversationlistcontroller.coffee","old_contents":"class ChatConversationListController extends CommonChatController\n\n constructor:->\n super\n @getListView().on 'moveToIndexRequested', @bound 'moveItemToIndex'\n\n # loadItems:(callback)->\n # super\n\n # @me.fetchFollowersWithRelationship {}, {}, (err, accounts)=>\n # @instantiateListItems accounts unless err\n","new_contents":"class ChatConversationListController extends CommonChatController\n\n constructor:->\n super\n @getListView().on 'moveToIndexRequested', @bound 'moveItemToIndex'\n\n addItem:(data)->\n # Make sure there is one conversation with same channel name\n {chatChannel} = data\n for chat in @itemsOrdered\n return if chat.conversation?.channel?.name is chatChannel?.name\n super data\n","subject":"Make sure there is one conversation with same channel name in the conversation list","message":"Make sure there is one conversation with same channel name in the conversation list\n","lang":"CoffeeScript","license":"agpl-3.0","repos":"gokmen\/koding,andrewjcasal\/koding,alex-ionochkin\/koding,sinan\/koding,drewsetski\/koding,acbodine\/koding,usirin\/koding,jack89129\/koding,mertaytore\/koding,mertaytore\/koding,mertaytore\/koding,kwagdy\/koding-1,drewsetski\/koding,alex-ionochkin\/koding,andrewjcasal\/koding,alex-ionochkin\/koding,andrewjcasal\/koding,drewsetski\/koding,kwagdy\/koding-1,drewsetski\/koding,koding\/koding,rjeczalik\/koding,acbodine\/koding,szkl\/koding,kwagdy\/koding-1,koding\/koding,andrewjcasal\/koding,usirin\/koding,cihangir\/koding,gokmen\/koding,alex-ionochkin\/koding,kwagdy\/koding-1,rjeczalik\/koding,alex-ionochkin\/koding,alex-ionochkin\/koding,usirin\/koding,andrewjcasal\/koding,usirin\/koding,alex-ionochkin\/koding,mertaytore\/koding,cihangir\/koding,cihangir\/koding,acbodine\/koding,jack89129\/koding,koding\/koding,rjeczalik\/koding,jack89129\/koding,gokmen\/koding,mertaytore\/koding,cihangir\/koding,rjeczalik\/koding,koding\/koding,acbodine\/koding,usirin\/koding,gokmen\/koding,kwagdy\/koding-1,kwagdy\/koding-1,drewsetski\/koding,usirin\/koding,mertaytore\/koding,andrewjcasal\/koding,sinan\/koding,acbodine\/koding,jack89129\/koding,jack89129\/koding,acbodine\/koding,jack89129\/koding,szkl\/koding,gokmen\/koding,mertaytore\/koding,rjeczalik\/koding,cihangir\/koding,szkl\/koding,acbodine\/koding,szkl\/koding,andrewjcasal\/koding,drewsetski\/koding,usirin\/koding,kwagdy\/koding-1,andrewjcasal\/koding,jack89129\/koding,koding\/koding,rjeczalik\/koding,szkl\/koding,cihangir\/koding,gokmen\/koding,cihangir\/koding,szkl\/koding,rjeczalik\/koding,drewsetski\/koding,gokmen\/koding,koding\/koding,koding\/koding,rjeczalik\/koding,drewsetski\/koding,sinan\/koding,sinan\/koding,koding\/koding,sinan\/koding,sinan\/koding,sinan\/koding,jack89129\/koding,alex-ionochkin\/koding,kwagdy\/koding-1,cihangir\/koding,usirin\/koding,szkl\/koding,gokmen\/koding,acbodine\/koding,sinan\/koding,szkl\/koding,mertaytore\/koding"} {"commit":"683eee1ffd48af59b13274c7415bc26d6718f1ce","old_file":"src\/scripts\/corgime.coffee","new_file":"src\/scripts\/corgime.coffee","old_contents":"# Description:\n# Corgime\n#\n# Dependencies:\n# None\n#\n# Configuration:\n# None\n#\n# Commands:\n# hubot corgi me - Receive a corgi\n# hubot corgi bomb N - get N corgis\n#\n# Author:\n# alexgodin\n\nmodule.exports = (robot) ->\n\n robot.respond \/corgi me\/i, (msg) ->\n msg.http(\"http:\/\/corginator.herokuapp.com\/random\")\n .get() (err, res, body) ->\n msg.send JSON.parse(body).corgi\n\n robot.respond \/corgi bomb( (\\d+))?\/i, (msg) ->\n count = msg.match[2] || 5\n msg.http(\"http:\/\/corginator.heroku.com\/bomb?count=\" + count)\n .get() (err, res, body) ->\n msg.send corgi for corgi in JSON.parse(body).corgis\n","new_contents":"# Description:\n# Corgime\n#\n# Dependencies:\n# None\n#\n# Configuration:\n# None\n#\n# Commands:\n# hubot corgi me - Receive a corgi\n# hubot corgi bomb N - get N corgis\n#\n# Author:\n# alexgodin\n\nmodule.exports = (robot) ->\n\n robot.respond \/corgi me\/i, (msg) ->\n msg.http(\"http:\/\/corginator.herokuapp.com\/random\")\n .get() (err, res, body) ->\n msg.send JSON.parse(body).corgi\n\n robot.respond \/corgi bomb( (\\d+))?\/i, (msg) ->\n count = msg.match[2] || 5\n msg.http(\"http:\/\/corginator.herokuapp.com\/bomb?count=\" + count)\n .get() (err, res, body) ->\n msg.send corgi for corgi in JSON.parse(body).corgis\n","subject":"Fix corgi bomb backend url","message":"Fix corgi bomb backend url\n\nLet corgis fly in.","lang":"CoffeeScript","license":"mit","repos":"yigitbey\/hubot-scripts,dbkaplun\/hubot-scripts,phillipalexander\/hubot-scripts,n0mer\/hubot-scripts,Ev1l\/hubot-scripts,opentable\/hubot-scripts,iilab\/hubot-scripts,zecahnin\/hubot-scripts,MaxMEllon\/hubot-scripts,sklise\/hubot-scripts,wsoula\/hubot-scripts,alexhouse\/hubot-scripts,jacobtomlinson\/hubot-scripts,ambikads\/hubot-scripts,ericjsilva\/hubot-scripts,GrimDerp\/hubot-scripts,contolini\/hubot-scripts,github\/hubot-scripts,marksie531\/hubot-scripts,arcaartem\/hubot-scripts,jankowiakmaria\/hubot-scripts,jan0sch\/hubot-scripts,modulexcite\/hubot-scripts,terryjbates\/hubot-scripts,chauffer\/hubot-scripts,azimman\/hubot-scripts,justinwoo\/hubot-scripts,magicstone1412\/hubot-scripts,cycomachead\/hubot-scripts,davidsulpy\/hubot-scripts"} {"commit":"6e73b436f7831999bc6c2f100153a68aa91d4705","old_file":"core\/app\/backbone\/factlink\/tooltip_marionette.coffee","new_file":"core\/app\/backbone\/factlink\/tooltip_marionette.coffee","old_contents":"Backbone.Factlink ||= {}\n\ndo ->\n #options:\n # parentView: marionette view\n # tooltipViewFactory: -> view\n # selector: selector identifying what can be hovered over.\n # $offsetParent: a dom node within which to position the\n # tooltip with respect to the target (hovered) node. By\n # default, uses parentView.$el.\n\n Backbone.Factlink.Tooltip = (options) ->\n positionedRegion = null\n\n\n maker = ($el, $target) ->\n throw \"Cannot open duplicate tooltip\" if positionedRegion?\n regionOptions = _.extend {}, options,\n contentView: options.tooltipViewFactory()\n\n positionedRegion =\n new Backbone.Factlink.PositionedRegion regionOptions\n positionedRegion.bindToElement $target,\n options.$offsetParent || $el\n positionedRegion.show new PopoverView regionOptions\n positionedRegion.updatePosition()\n positionedRegion.$el\n\n remover = ->\n positionedRegion.resetFade()\n positionedRegion = null\n\n\n closeHandler = Backbone.Factlink.TooltipJQ\n $el: options.parentView.$el\n selector: options.selector\n makeTooltip: maker\n removeTooltip: remover\n\n options.parentView.on 'close', closeHandler.close\n\n\n\n\n","new_contents":"Backbone.Factlink ||= {}\n\n#options:\n# parentView: marionette view\n# tooltipViewFactory: -> view\n# selector: selector identifying what can be hovered over.\n# $offsetParent: a dom node within which to position the\n# tooltip with respect to the target (hovered) node. By\n# default, uses parentView.$el.\n\nBackbone.Factlink.Tooltip = (options) ->\n positionedRegion =\n new Backbone.Factlink.PositionedRegion options\n\n maker = ($el, $target) ->\n popoverOptions = _.extend {}, options,\n contentView: options.tooltipViewFactory()\n\n positionedRegion.bindToElement $target,\n options.$offsetParent || $el\n positionedRegion.show new PopoverView popoverOptions\n positionedRegion.updatePosition()\n positionedRegion.$el\n\n remover = ->\n positionedRegion.resetFade()\n\n\n closeHandler = Backbone.Factlink.TooltipJQ\n $el: options.parentView.$el\n selector: options.selector\n makeTooltip: maker\n removeTooltip: remover\n\n options.parentView.on 'close', closeHandler.close\n\n\n\n\n","subject":"Remove unnecessary do nesting; there are no private variables in this scope.","message":"Remove unnecessary do nesting; there are no private variables in this scope.\n","lang":"CoffeeScript","license":"mit","repos":"Factlink\/factlink-core,Factlink\/factlink-core,daukantas\/factlink-core,Factlink\/factlink-core,Factlink\/factlink-core,daukantas\/factlink-core,daukantas\/factlink-core,daukantas\/factlink-core"} {"commit":"5d60b9ba4e8f0048b8f22098fd186e7979136529","old_file":"spec\/body-spec.coffee","new_file":"spec\/body-spec.coffee","old_contents":"describe 'Body', ->\n Body = require '..\/lib\/javascripts\/body'\n view = null\n\n initView = ({ collection } = {}) ->\n collection ?= new Backbone.Collection [\n { foo: 'foo', bar: 'bar' }\n ]\n\n view = new Body { collection }\n\n showView = ->\n initView(arguments...).render()\n\n afterEach ->\n view?.destroy()\n view = null\n\n it 'has a className', ->\n expect(showView().$el).toHaveClass 'body'\n\n it 'has many body rows', ->\n expect(showView().$el.children).not.toBeEmpty()\n","new_contents":"describe 'Body', ->\n Body = require '..\/lib\/javascripts\/body'\n view = null\n\n initView = ({ collection } = {}) ->\n collection ?= new Backbone.Collection [\n { foo: 'foo', bar: 'bar' }\n ]\n\n view = new Body { collection }\n\n showView = ->\n initView(arguments...).render()\n\n afterEach ->\n view?.destroy()\n view = null\n\n it 'has a className', ->\n expect(showView().$el).toHaveClass 'body'\n\n it 'has many body rows', ->\n expect(showView().$el).not.toBeEmpty()\n","subject":"Fix bad spec: children is a function and it should actually assert the collection view not to be empty","message":"Fix bad spec: children is a function and it should actually assert the collection view not to be empty\n","lang":"CoffeeScript","license":"mit","repos":"juanca\/marionette-tree,juanca\/marionette-tree"} {"commit":"8430e991d6913651a025c01474fcb09def14a9ae","old_file":"app\/assets\/javascripts\/application.js.coffee","new_file":"app\/assets\/javascripts\/application.js.coffee","old_contents":"# This is a manifest file that'll be compiled into including all the files listed below.\n# Add new JavaScript\/Coffee code in separate files in this directory and they'll automatically\n# be included in the compiled file accessible from http:\/\/example.com\/assets\/application.js\n# It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the\n# the compiled file.\n#\n#= require jquery\n#= require jquery_ujs\n#= require foundation\/foundation\n#= require foundation\/foundation.alerts\n#= require foundation\/foundation.clearing\n#= require foundation\/foundation.cookie\n#= require foundation\/foundation.dropdown\n#= require foundation\/foundation.forms\n#= require foundation\/foundation.joyride\n#= require foundation\/foundation.magellan\n#= require foundation\/foundation.orbit\n#= require foundation\/foundation.reveal\n#= require foundation\/foundation.section\n#= require foundation\/foundation.tooltips\n#= require foundation\/foundation.topbar\n#= require foundation\/foundation.interchange\n#= require foundation\/foundation.placeholder\n#= require foundation\/foundation.abide\n#= require_tree .\n\n$ ->\n $(document).foundation()\n $(\".notice\").not(\".alert\").delay(3000).slideUp \"slow\"\n","new_contents":"# This is a manifest file that'll be compiled into including all the files listed below.\n# Add new JavaScript\/Coffee code in separate files in this directory and they'll automatically\n# be included in the compiled file accessible from http:\/\/example.com\/assets\/application.js\n# It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the\n# the compiled file.\n#\n#= require jquery\n#= require jquery_ujs\n#= require foundation\/foundation\n#= require foundation\/foundation.alerts\n#= require foundation\/foundation.clearing\n#= require foundation\/foundation.cookie\n#= require foundation\/foundation.dropdown\n#= require foundation\/foundation.forms\n#= require foundation\/foundation.joyride\n#= require foundation\/foundation.magellan\n#= require foundation\/foundation.orbit\n#= require foundation\/foundation.reveal\n#= require foundation\/foundation.section\n#= require foundation\/foundation.tooltips\n#= require foundation\/foundation.topbar\n#= require foundation\/foundation.interchange\n#= require foundation\/foundation.placeholder\n#= require foundation\/foundation.abide\n#= require_tree .\n\n$ ->\n $(document).foundation()\n","subject":"Remove slide animation for alerts","message":"Remove slide animation for alerts\n","lang":"CoffeeScript","license":"apache-2.0","repos":"martinisoft\/funnies,martinisoft\/funnies"} {"commit":"c7373ebbe2d08ab5c5699d88e51becbbc343c73f","old_file":"src\/librato.coffee","new_file":"src\/librato.coffee","old_contents":"Client = require 'librato'\n\nmodule.exports = new Client \\\n process.env.LIBRATO_USER, \\\n process.env.LIBRATO_TOKEN, \\\n prefix: process.env.LIBRATO_PREFIX, source: process.env.DOTCLOUD_SERVICE_ID\n\n","new_contents":"Client = require 'librato'\n\nmodule.exports = new Client \\\n process.env.LIBRATO_USER, \\\n process.env.LIBRATO_TOKEN, \\\n prefix: process.env.LIBRATO_PREFIX, source: process.env.DOTCLOUD_SERVICE_ID or 'test'\n\n","subject":"Add default Librato source as \"test\"","message":"Add default Librato source as \"test\"\n","lang":"CoffeeScript","license":"mit","repos":"Turistforeningen\/Jotunheimr"} {"commit":"32753fc4ab5c5ea45f8760be53815ec2b4977bd3","old_file":"stress_test.coffee","new_file":"stress_test.coffee","old_contents":"# vim: ts=2:sw=2:sta\nio = require('socket.io-client')\n\nurl = process.env.TEST_TARGET || 'https:\/\/snap-backend-dev.herokuapp.com' #'http:\/\/localhost:8080'\n\nusers = process.env.USERS || 50\n\nrandWord = (len) ->\n Math.random().toString(36).substr(2, len)\n\nstartPlayer = (name) ->\n socket = io(url, {multiplex: false})\n\n socket.on 'connect', ()->\n setTimeout () ->\n socket.emit 'new player', name\n\n console.log \"connected a test player #{name}\"\n\n setInterval () ->\n w = randWord(2)\n socket.emit 'new word', w\n console.log \"#{name} wrote: #{w}\"\n , 1000\n , Math.random()*2000\n\nfor a in [0..users]\n startPlayer(process.env.TEST_NAME || \"player #{a}\")\n # console.log randWord(2)\n","new_contents":"# vim: ts=2:sw=2:sta\nio = require('socket.io-client')\n\nurl = process.env.TEST_TARGET || 'https:\/\/snap-backend-dev.herokuapp.com' #'http:\/\/localhost:8080'\n\nusers = process.env.USERS || 50\n\nWORD_CHARS = \"abcdefghijklmnopqrstuvwxyz\"\n\nrandWord = (len) ->\n word = \"\"\n for c in [1..len]\n index = Math.floor(Math.random() * WORD_CHARS.length)\n word += WORD_CHARS.charAt(index)\n return word\n\nstartPlayer = (name) ->\n socket = io(url, {multiplex: false})\n\n socket.on 'connect', ()->\n setTimeout () ->\n socket.emit 'new player', name\n\n console.log \"connected a test player #{name}\"\n\n setInterval () ->\n w = randWord(2)\n socket.emit 'new word', w\n console.log \"#{name} wrote: #{w}\"\n , 1000\n , Math.random()*users*100\n\nfor a in [1..users]\n startPlayer(process.env.TEST_NAME || \"player #{a}\")\n # console.log randWord(2)\n","subject":"Fix up the stress tester","message":"Fix up the stress tester\n\n- bring players out at 10 players\/s\n- bring back 2-letter words (no numbers)\n","lang":"CoffeeScript","license":"mit","repos":"CMS611-snap\/snap-backend,CMS611-snap\/snap-backend,CMS611-snap\/snap-backend"} {"commit":"96d8721c9e378f0e0d22c8a1de1d97ab88d58276","old_file":"src\/message.coffee","new_file":"src\/message.coffee","old_contents":"module.exports =\nclass Message\n constructor: (@type, @message, @options={}) ->\n\n getType: -> @type\n\n getMessage: -> @message\n\n isClosable: ->\n !!@options.closable\n\n getIcon: ->\n return @options.icon if @options.icon?\n switch @type\n when 'fatal' then 'flame'\n when 'error' then 'bug'\n when 'warning' then 'alert'\n when 'info' then 'info'\n when 'success' then 'check'\n\n getIssueUrl: ->\n \"https:\/\/github.com\/atom\/atom\/issues\/new?title=#{encodeURI(@getIssueTitle())}&body=#{encodeURI(@getIssueBody())}\"\n\n getIssueTitle: ->\n @message\n\n getIssueBody: ->\n # TODO: crib version information from bug-report: https:\/\/github.com\/lee-dohm\/bug-report\/blob\/master\/lib\/bug-report.coffee#L69\n \"\"\"\n There was an unhandled error\n\n Stack Trace\n ```\n At #{@options.errorDetail}\n\n #{@options.stack}\n ```\n \"\"\"\n","new_contents":"\n# Experimental: This will likely change, do not use.\nmodule.exports =\nclass Message\n constructor: (@type, @message, @options={}) ->\n\n getOptions: -> @options\n\n getType: -> @type\n\n getMessage: -> @message\n\n getDetail: -> @optons.detail\n\n isClosable: ->\n !!@options.closable\n\n getIcon: ->\n return @options.icon if @options.icon?\n switch @type\n when 'fatal' then 'flame'\n when 'error' then 'bug'\n when 'warning' then 'alert'\n when 'info' then 'info'\n when 'success' then 'check'\n\n getIssueUrl: ->\n \"https:\/\/github.com\/atom\/atom\/issues\/new?title=#{encodeURI(@getIssueTitle())}&body=#{encodeURI(@getIssueBody())}\"\n\n getIssueTitle: ->\n @message\n\n getIssueBody: ->\n # TODO: crib version information from bug-report: https:\/\/github.com\/lee-dohm\/bug-report\/blob\/master\/lib\/bug-report.coffee#L69\n \"\"\"\n There was an unhandled error\n\n Stack Trace\n ```\n At #{@options.detail}\n\n #{@options.stack}\n ```\n \"\"\"\n","subject":"Add some things to Message","message":"Add some things to Message\n","lang":"CoffeeScript","license":"mit","repos":"bsmr-x-script\/atom,acontreras89\/atom,yomybaby\/atom,dannyflax\/atom,qskycolor\/atom,jordanbtucker\/atom,SlimeQ\/atom,omarhuanca\/atom,basarat\/atom,tony612\/atom,Jandersolutions\/atom,KENJU\/atom,mrodalgaard\/atom,synaptek\/atom,targeter21\/atom,rsvip\/aTom,pengshp\/atom,bcoe\/atom,nvoron23\/atom,sillvan\/atom,mertkahyaoglu\/atom,rmartin\/atom,RuiDGoncalves\/atom,fscherwi\/atom,darwin\/atom,constanzaurzua\/atom,florianb\/atom,charleswhchan\/atom,FoldingText\/atom,isghe\/atom,G-Baby\/atom,woss\/atom,kdheepak89\/atom,phord\/atom,hellendag\/atom,rlugojr\/atom,Shekharrajak\/atom,Jandersoft\/atom,yamhon\/atom,0x73\/atom,ralphtheninja\/atom,jordanbtucker\/atom,fscherwi\/atom,tanin47\/atom,kc8wxm\/atom,isghe\/atom,palita01\/atom,paulcbetts\/atom,sxgao3001\/atom,kjav\/atom,chengky\/atom,ali\/atom,alexandergmann\/atom,vinodpanicker\/atom,tony612\/atom,kandros\/atom,matthewclendening\/atom,rsvip\/aTom,seedtigo\/atom,yomybaby\/atom,prembasumatary\/atom,nrodriguez13\/atom,Andrey-Pavlov\/atom,bsmr-x-script\/atom,liuxiong332\/atom,SlimeQ\/atom,Arcanemagus\/atom,elkingtonmcb\/atom,nvoron23\/atom,boomwaiza\/atom,cyzn\/atom,DiogoXRP\/atom,jjz\/atom,hakatashi\/atom,john-kelly\/atom,isghe\/atom,kandros\/atom,harshdattani\/atom,ppamorim\/atom,lovesnow\/atom,Dennis1978\/atom,toqz\/atom,qskycolor\/atom,anuwat121\/atom,andrewleverette\/atom,mostafaeweda\/atom,rjattrill\/atom,rlugojr\/atom,omarhuanca\/atom,Austen-G\/BlockBuilder,Sangaroonaom\/atom,fredericksilva\/atom,isghe\/atom,crazyquark\/atom,Klozz\/atom,hharchani\/atom,Hasimir\/atom,gabrielPeart\/atom,mnquintana\/atom,pengshp\/atom,NunoEdgarGub1\/atom,xream\/atom,acontreras89\/atom,lovesnow\/atom,Jdesk\/atom,hagb4rd\/atom,pombredanne\/atom,folpindo\/atom,prembasumatary\/atom,batjko\/atom,john-kelly\/atom,sekcheong\/atom,RobinTec\/atom,acontreras89\/atom,lisonma\/atom,rjattrill\/atom,wiggzz\/atom,tmunro\/atom,qiujuer\/atom,bolinfest\/atom,t9md\/atom,basarat\/atom,wiggzz\/atom,jacekkopecky\/atom,sxgao3001\/atom,helber\/atom,batjko\/atom,FIT-CSE2410-A-Bombs\/atom,champagnez\/atom,sillvan\/atom,scippio\/atom,ykeisuke\/atom,qiujuer\/atom,vcarrera\/atom,ObviouslyGreen\/atom,Abdillah\/atom,dsandstrom\/atom,pkdevbox\/atom,Jandersolutions\/atom,vhutheesing\/atom,jtrose2\/atom,kc8wxm\/atom,jacekkopecky\/atom,h0dgep0dge\/atom,ReddTea\/atom,abcP9110\/atom,johnrizzo1\/atom,kevinrenaers\/atom,alfredxing\/atom,AlexxNica\/atom,Klozz\/atom,GHackAnonymous\/atom,lovesnow\/atom,ezeoleaf\/atom,jeremyramin\/atom,rmartin\/atom,Galactix\/atom,svanharmelen\/atom,me-benni\/atom,liuxiong332\/atom,devoncarew\/atom,deoxilix\/atom,NunoEdgarGub1\/atom,liuderchi\/atom,Austen-G\/BlockBuilder,liuxiong332\/atom,chfritz\/atom,stuartquin\/atom,charleswhchan\/atom,tanin47\/atom,brettle\/atom,russlescai\/atom,stinsonga\/atom,Arcanemagus\/atom,champagnez\/atom,jlord\/atom,FoldingText\/atom,rmartin\/atom,mostafaeweda\/atom,synaptek\/atom,acontreras89\/atom,dannyflax\/atom,fredericksilva\/atom,Rodjana\/atom,MjAbuz\/atom,me6iaton\/atom,folpindo\/atom,sebmck\/atom,helber\/atom,lovesnow\/atom,RuiDGoncalves\/atom,xream\/atom,FoldingText\/atom,Andrey-Pavlov\/atom,dijs\/atom,AlbertoBarrago\/atom,jjz\/atom,phord\/atom,medovob\/atom,kdheepak89\/atom,ReddTea\/atom,Jonekee\/atom,originye\/atom,johnhaley81\/atom,avdg\/atom,batjko\/atom,bencolon\/atom,ali\/atom,devmario\/atom,Andrey-Pavlov\/atom,tjkr\/atom,AlbertoBarrago\/atom,AdrianVovk\/substance-ide,toqz\/atom,bolinfest\/atom,kc8wxm\/atom,YunchengLiao\/atom,lpommers\/atom,dsandstrom\/atom,john-kelly\/atom,Huaraz2\/atom,Shekharrajak\/atom,harshdattani\/atom,tmunro\/atom,champagnez\/atom,burodepeper\/atom,bryonwinger\/atom,jtrose2\/atom,medovob\/atom,kandros\/atom,darwin\/atom,BogusCurry\/atom,RobinTec\/atom,beni55\/atom,targeter21\/atom,synaptek\/atom,AlisaKiatkongkumthon\/atom,devmario\/atom,Andrey-Pavlov\/atom,scv119\/atom,Shekharrajak\/atom,n-riesco\/atom,stinsonga\/atom,sotayamashita\/atom,hpham04\/atom,me6iaton\/atom,hharchani\/atom,dkfiresky\/atom,NunoEdgarGub1\/atom,yangchenghu\/atom,cyzn\/atom,oggy\/atom,hellendag\/atom,PKRoma\/atom,jlord\/atom,panuchart\/atom,originye\/atom,lovesnow\/atom,sxgao3001\/atom,PKRoma\/atom,KENJU\/atom,brettle\/atom,anuwat121\/atom,ivoadf\/atom,Abdillah\/atom,brumm\/atom,yangchenghu\/atom,gontadu\/atom,bcoe\/atom,AdrianVovk\/substance-ide,pombredanne\/atom,Dennis1978\/atom,vinodpanicker\/atom,deepfox\/atom,panuchart\/atom,florianb\/atom,Locke23rus\/atom,devmario\/atom,hpham04\/atom,Mokolea\/atom,sebmck\/atom,matthewclendening\/atom,gzzhanghao\/atom,yomybaby\/atom,kjav\/atom,vcarrera\/atom,atom\/atom,boomwaiza\/atom,ReddTea\/atom,Jdesk\/atom,gisenberg\/atom,Ju2ender\/atom,AlisaKiatkongkumthon\/atom,tisu2tisu\/atom,kaicataldo\/atom,jeremyramin\/atom,Galactix\/atom,rookie125\/atom,constanzaurzua\/atom,toqz\/atom,rxkit\/atom,yomybaby\/atom,RobinTec\/atom,ppamorim\/atom,bj7\/atom,vhutheesing\/atom,einarmagnus\/atom,crazyquark\/atom,ppamorim\/atom,hagb4rd\/atom,kittens\/atom,yamhon\/atom,devmario\/atom,ironbox360\/atom,vcarrera\/atom,nucked\/atom,vhutheesing\/atom,splodingsocks\/atom,amine7536\/atom,fedorov\/atom,devoncarew\/atom,oggy\/atom,ilovezy\/atom,Jonekee\/atom,omarhuanca\/atom,AlbertoBarrago\/atom,gisenberg\/atom,pombredanne\/atom,svanharmelen\/atom,decaffeinate-examples\/atom,mostafaeweda\/atom,hakatashi\/atom,rjattrill\/atom,fredericksilva\/atom,Jandersoft\/atom,synaptek\/atom,tony612\/atom,fredericksilva\/atom,bolinfest\/atom,GHackAnonymous\/atom,woss\/atom,svanharmelen\/atom,amine7536\/atom,hharchani\/atom,rsvip\/aTom,mertkahyaoglu\/atom,Rodjana\/atom,scv119\/atom,batjko\/atom,amine7536\/atom,sebmck\/atom,deepfox\/atom,kittens\/atom,dannyflax\/atom,sekcheong\/atom,transcranial\/atom,jlord\/atom,scippio\/atom,sxgao3001\/atom,n-riesco\/atom,florianb\/atom,jtrose2\/atom,kaicataldo\/atom,n-riesco\/atom,folpindo\/atom,Galactix\/atom,kittens\/atom,sillvan\/atom,ezeoleaf\/atom,targeter21\/atom,ardeshirj\/atom,gzzhanghao\/atom,sekcheong\/atom,johnrizzo1\/atom,Neron-X5\/atom,toqz\/atom,bj7\/atom,mostafaeweda\/atom,paulcbetts\/atom,Locke23rus\/atom,deoxilix\/atom,jeremyramin\/atom,MjAbuz\/atom,fang-yufeng\/atom,g2p\/atom,russlescai\/atom,kdheepak89\/atom,jlord\/atom,Ju2ender\/atom,deoxilix\/atom,matthewclendening\/atom,rsvip\/aTom,chfritz\/atom,codex8\/atom,brumm\/atom,Dennis1978\/atom,AlexxNica\/atom,YunchengLiao\/atom,Abdillah\/atom,rookie125\/atom,ezeoleaf\/atom,Neron-X5\/atom,Mokolea\/atom,G-Baby\/atom,ali\/atom,rookie125\/atom,Galactix\/atom,tjkr\/atom,crazyquark\/atom,tisu2tisu\/atom,chengky\/atom,jjz\/atom,gabrielPeart\/atom,vinodpanicker\/atom,ObviouslyGreen\/atom,brumm\/atom,rjattrill\/atom,avdg\/atom,001szymon\/atom,constanzaurzua\/atom,Neron-X5\/atom,vinodpanicker\/atom,hagb4rd\/atom,BogusCurry\/atom,ali\/atom,beni55\/atom,me6iaton\/atom,niklabh\/atom,devoncarew\/atom,batjko\/atom,amine7536\/atom,charleswhchan\/atom,Ju2ender\/atom,bcoe\/atom,ashneo76\/atom,GHackAnonymous\/atom,fedorov\/atom,GHackAnonymous\/atom,kc8wxm\/atom,splodingsocks\/atom,nucked\/atom,mdumrauf\/atom,me6iaton\/atom,vjeux\/atom,andrewleverette\/atom,0x73\/atom,Jandersoft\/atom,lpommers\/atom,CraZySacX\/atom,kjav\/atom,ivoadf\/atom,MjAbuz\/atom,fang-yufeng\/atom,SlimeQ\/atom,xream\/atom,omarhuanca\/atom,hpham04\/atom,nvoron23\/atom,ReddTea\/atom,basarat\/atom,toqz\/atom,bcoe\/atom,fedorov\/atom,kittens\/atom,kdheepak89\/atom,brettle\/atom,davideg\/atom,basarat\/atom,anuwat121\/atom,h0dgep0dge\/atom,Austen-G\/BlockBuilder,ralphtheninja\/atom,ironbox360\/atom,hakatashi\/atom,MjAbuz\/atom,amine7536\/atom,yamhon\/atom,crazyquark\/atom,t9md\/atom,ReddTea\/atom,transcranial\/atom,ralphtheninja\/atom,qskycolor\/atom,Jandersolutions\/atom,charleswhchan\/atom,Ju2ender\/atom,FIT-CSE2410-A-Bombs\/atom,hakatashi\/atom,hellendag\/atom,ashneo76\/atom,matthewclendening\/atom,Shekharrajak\/atom,0x73\/atom,g2p\/atom,charleswhchan\/atom,liuxiong332\/atom,Locke23rus\/atom,Austen-G\/BlockBuilder,GHackAnonymous\/atom,YunchengLiao\/atom,vjeux\/atom,qiujuer\/atom,codex8\/atom,Jdesk\/atom,prembasumatary\/atom,Ju2ender\/atom,KENJU\/atom,jacekkopecky\/atom,liuderchi\/atom,tanin47\/atom,boomwaiza\/atom,vinodpanicker\/atom,bryonwinger\/atom,ivoadf\/atom,stuartquin\/atom,dijs\/atom,Huaraz2\/atom,einarmagnus\/atom,codex8\/atom,Andrey-Pavlov\/atom,sekcheong\/atom,chengky\/atom,ilovezy\/atom,001szymon\/atom,efatsi\/atom,liuderchi\/atom,seedtigo\/atom,sillvan\/atom,Ingramz\/atom,yomybaby\/atom,devmario\/atom,deepfox\/atom,panuchart\/atom,Rychard\/atom,sxgao3001\/atom,johnhaley81\/atom,dkfiresky\/atom,yalexx\/atom,nucked\/atom,abcP9110\/atom,gisenberg\/atom,kevinrenaers\/atom,transcranial\/atom,bryonwinger\/atom,dkfiresky\/atom,mrodalgaard\/atom,efatsi\/atom,davideg\/atom,daxlab\/atom,wiggzz\/atom,Shekharrajak\/atom,beni55\/atom,bencolon\/atom,einarmagnus\/atom,Hasimir\/atom,florianb\/atom,dsandstrom\/atom,mnquintana\/atom,basarat\/atom,mostafaeweda\/atom,woss\/atom,rxkit\/atom,Austen-G\/BlockBuilder,Neron-X5\/atom,alexandergmann\/atom,Klozz\/atom,jtrose2\/atom,devoncarew\/atom,Jandersolutions\/atom,Galactix\/atom,palita01\/atom,RobinTec\/atom,sillvan\/atom,omarhuanca\/atom,Neron-X5\/atom,Jandersolutions\/atom,Jonekee\/atom,darwin\/atom,avdg\/atom,jtrose2\/atom,hharchani\/atom,kjav\/atom,dannyflax\/atom,bj7\/atom,FoldingText\/atom,t9md\/atom,n-riesco\/atom,h0dgep0dge\/atom,liuderchi\/atom,sebmck\/atom,ObviouslyGreen\/atom,vjeux\/atom,decaffeinate-examples\/atom,CraZySacX\/atom,dsandstrom\/atom,cyzn\/atom,Rychard\/atom,ilovezy\/atom,splodingsocks\/atom,jacekkopecky\/atom,mdumrauf\/atom,alexandergmann\/atom,Rodjana\/atom,jordanbtucker\/atom,Sangaroonaom\/atom,davideg\/atom,BogusCurry\/atom,burodepeper\/atom,hharchani\/atom,vjeux\/atom,fang-yufeng\/atom,bencolon\/atom,ardeshirj\/atom,daxlab\/atom,rxkit\/atom,NunoEdgarGub1\/atom,Ingramz\/atom,FIT-CSE2410-A-Bombs\/atom,oggy\/atom,fredericksilva\/atom,daxlab\/atom,bsmr-x-script\/atom,hpham04\/atom,g2p\/atom,oggy\/atom,DiogoXRP\/atom,Austen-G\/BlockBuilder,john-kelly\/atom,targeter21\/atom,phord\/atom,einarmagnus\/atom,tony612\/atom,Hasimir\/atom,andrewleverette\/atom,pkdevbox\/atom,chengky\/atom,efatsi\/atom,alfredxing\/atom,dannyflax\/atom,deepfox\/atom,palita01\/atom,lpommers\/atom,pombredanne\/atom,tjkr\/atom,ppamorim\/atom,001szymon\/atom,dsandstrom\/atom,russlescai\/atom,kdheepak89\/atom,paulcbetts\/atom,RobinTec\/atom,ardeshirj\/atom,mertkahyaoglu\/atom,davideg\/atom,tmunro\/atom,G-Baby\/atom,basarat\/atom,n-riesco\/atom,jjz\/atom,johnhaley81\/atom,nvoron23\/atom,prembasumatary\/atom,bryonwinger\/atom,qiujuer\/atom,dannyflax\/atom,pombredanne\/atom,ppamorim\/atom,chengky\/atom,sebmck\/atom,dkfiresky\/atom,constanzaurzua\/atom,stuartquin\/atom,helber\/atom,tisu2tisu\/atom,ironbox360\/atom,splodingsocks\/atom,paulcbetts\/atom,crazyquark\/atom,Sangaroonaom\/atom,FoldingText\/atom,mnquintana\/atom,ali\/atom,john-kelly\/atom,Mokolea\/atom,mnquintana\/atom,woss\/atom,gisenberg\/atom,me-benni\/atom,devoncarew\/atom,qskycolor\/atom,russlescai\/atom,YunchengLiao\/atom,Jdesk\/atom,jlord\/atom,niklabh\/atom,gabrielPeart\/atom,RuiDGoncalves\/atom,gisenberg\/atom,matthewclendening\/atom,hagb4rd\/atom,nvoron23\/atom,ilovezy\/atom,burodepeper\/atom,gontadu\/atom,Rychard\/atom,elkingtonmcb\/atom,synaptek\/atom,scippio\/atom,originye\/atom,Abdillah\/atom,vcarrera\/atom,kaicataldo\/atom,mertkahyaoglu\/atom,acontreras89\/atom,medovob\/atom,pengshp\/atom,jacekkopecky\/atom,chfritz\/atom,mnquintana\/atom,lisonma\/atom,jacekkopecky\/atom,deepfox\/atom,fedorov\/atom,codex8\/atom,rlugojr\/atom,russlescai\/atom,harshdattani\/atom,davideg\/atom,ashneo76\/atom,pkdevbox\/atom,abcP9110\/atom,decaffeinate-examples\/atom,alfredxing\/atom,liuxiong332\/atom,atom\/atom,DiogoXRP\/atom,me-benni\/atom,Jandersoft\/atom,vcarrera\/atom,yangchenghu\/atom,yalexx\/atom,SlimeQ\/atom,hagb4rd\/atom,scv119\/atom,lisonma\/atom,lisonma\/atom,woss\/atom,PKRoma\/atom,rmartin\/atom,niklabh\/atom,prembasumatary\/atom,einarmagnus\/atom,hpham04\/atom,atom\/atom,ezeoleaf\/atom,mdumrauf\/atom,SlimeQ\/atom,Jandersoft\/atom,fedorov\/atom,0x73\/atom,vjeux\/atom,isghe\/atom,lisonma\/atom,yalexx\/atom,KENJU\/atom,codex8\/atom,fang-yufeng\/atom,decaffeinate-examples\/atom,ykeisuke\/atom,abcP9110\/atom,kjav\/atom,stinsonga\/atom,targeter21\/atom,Hasimir\/atom,Ingramz\/atom,bcoe\/atom,Jdesk\/atom,constanzaurzua\/atom,oggy\/atom,sekcheong\/atom,ykeisuke\/atom,YunchengLiao\/atom,johnrizzo1\/atom,seedtigo\/atom,dkfiresky\/atom,nrodriguez13\/atom,nrodriguez13\/atom,scv119\/atom,qiujuer\/atom,Huaraz2\/atom,MjAbuz\/atom,h0dgep0dge\/atom,FoldingText\/atom,rsvip\/aTom,Abdillah\/atom,sotayamashita\/atom,me6iaton\/atom,Arcanemagus\/atom,KENJU\/atom,kevinrenaers\/atom,Hasimir\/atom,NunoEdgarGub1\/atom,gzzhanghao\/atom,rmartin\/atom,ilovezy\/atom,yalexx\/atom,AdrianVovk\/substance-ide,kittens\/atom,jjz\/atom,AlexxNica\/atom,CraZySacX\/atom,gontadu\/atom,tony612\/atom,sotayamashita\/atom,fang-yufeng\/atom,stinsonga\/atom,qskycolor\/atom,kc8wxm\/atom,fscherwi\/atom,mertkahyaoglu\/atom,dijs\/atom,mrodalgaard\/atom,AlisaKiatkongkumthon\/atom,abcP9110\/atom,florianb\/atom,elkingtonmcb\/atom,yalexx\/atom"} {"commit":"0f5ab3ff78a8d7ae47254343ad996b53e2142959","old_file":"app\/assets\/javascripts\/components\/shortcut.coffee","new_file":"app\/assets\/javascripts\/components\/shortcut.coffee","old_contents":"# *************************************\n#\n# Shortcut\n# -> Trigger clicking an element after keyup\n#\n# *************************************\n#\n# Dependencies\n# - Orientation.keyCodes\n#\n# *************************************\n#\n# @param $element { jQuery object }\n# @param dataAttribute { string }\n# @param keyCodes { object }\n#\n# *************************************\n\n@Orientation.shortcut = ( options ) ->\n settings = $.extend\n $element : $( '[data-shortcut]' )\n dataAttribute : 'shortcut'\n keyCodes : Orientation.keyCodes\n , options\n\n settings.$element.each ->\n key = settings.keyCodes[ $(@).data( settings.dataAttribute ) ]\n\n $( document ).on 'keyup', ( event ) =>\n $element = $(@)\n tag = event.target.tagName.toLowerCase()\n\n unless tag is 'input' or tag is 'textarea'\n if event.which is key\n $element.trigger( 'focus' ).trigger( 'click' )\n\n if $element.prop( 'tagName' ).toLowerCase() is 'a'\n window.location = $element.attr( 'href' )\n\n# -------------------------------------\n# Usage\n# -------------------------------------\n#\n# Orientation.shortcut()\n#\n","new_contents":"# *************************************\n#\n# Shortcut\n# -> Trigger clicking an element after keyup\n#\n# *************************************\n#\n# Dependencies\n# - Orientation.keyCodes\n#\n# *************************************\n#\n# @param $element { jQuery object }\n# @param dataAttribute { string }\n# @param keyCodes { object }\n#\n# *************************************\n\n@Orientation.shortcut = ( options ) ->\n settings = $.extend\n $element : $( '[data-shortcut]' )\n dataAttribute : 'shortcut'\n keyCodes : Orientation.keyCodes\n , options\n\n settings.$element.each ->\n element = $(@)\n key = String( element.data( settings.dataAttribute ) )\n keyCode = settings.keyCodes[ key.toLowerCase() ]\n isInteger = not isNaN( parseInt( key, 10 ) )\n isUpperCase = key is key.toUpperCase()\n\n $( document ).on 'keyup', ( event ) =>\n element = $(@)\n tag = event.target.tagName.toLowerCase()\n\n unless tag is 'input' or tag is 'textarea'\n if event.which is keyCode\n\n if ( isUpperCase and event.shiftKey )\\\n or ( not isUpperCase and not event.shiftKey )\\\n or isInteger\n element.trigger( 'focus' ).trigger( 'click' )\n\n if element.prop( 'tagName' ).toLowerCase() is 'a'\n window.location = element.attr( 'href' )\n\n# -------------------------------------\n# Usage\n# -------------------------------------\n#\n# Orientation.shortcut()\n#\n","subject":"Add shift-modified keys to Shortcut script","message":"Add shift-modified keys to Shortcut script\n","lang":"CoffeeScript","license":"mit","repos":"cmckni3\/orientation,splicers\/orientation,cmckni3\/orientation,orientation\/orientation,cmckni3\/orientation,orientation\/orientation,codeschool\/orientation,liufffan\/orientation,hashrocket\/orientation,IZEA\/orientation,smashingboxes\/orientation,orientation\/orientation,liufffan\/orientation,orientation\/orientation,jefmathiot\/orientation,ferdinandrosario\/orientation,smashingboxes\/orientation,splicers\/orientation,LogicalBricks\/orientation,codio\/orientation,robomc\/orientation,robomc\/orientation,Scripted\/orientation,hashrocket\/orientation,Scripted\/orientation,ferdinandrosario\/orientation,jefmathiot\/orientation,twinn\/orientation,IZEA\/orientation,LogicalBricks\/orientation,friism\/orientation,codio\/orientation,splicers\/orientation,codeschool\/orientation,friism\/orientation,codeschool\/orientation,Scripted\/orientation,twinn\/orientation"} {"commit":"363e714601632c67acd350994c6e5894f1b0f01d","old_file":"app\/assets\/javascripts\/notebook\/magic\/tabs.coffee","new_file":"app\/assets\/javascripts\/notebook\/magic\/tabs.coffee","old_contents":"define([\n 'observable'\n 'knockout'\n 'd3'\n 'dimple'\n], (Observable, ko, d3, dimple) ->\n (dataO, container, options) ->\n ulId = @genId\n $('#ul'+ulId+' a').click( (e) ->\n e.preventDefault()\n e.stopImmediatePropagation()\n\n $('#tab'+ulId+' div.active').removeClass('active')\n $('#ul'+ulId+' li.active').removeClass('active')\n id = $(@).attr('href')\n $(id).addClass('active')\n $(@).parent().addClass('active')\n )\n\n dataO.subscribe( (newData) =>\n #notify tabs\n )\n)","new_contents":"define([\n 'jquery'\n 'observable'\n 'knockout'\n 'd3'\n 'dimple'\n], ($, Observable, ko, d3, dimple) ->\n (dataO, container, options) ->\n ulId = @genId\n $('#ul'+ulId+' a').click( (e) ->\n e.preventDefault()\n e.stopImmediatePropagation()\n\n $('#tab'+ulId+' div.active').removeClass('active')\n $('#ul'+ulId+' li.active').removeClass('active')\n id = $(@).attr('href')\n $(id).addClass('active')\n $(@).parent().addClass('active')\n )\n\n # select the first tab\n $('#ul'+ulId+' li:first a').click()\n\n dataO.subscribe( (newData) =>\n #notify tabs\n )\n)","subject":"Select the first tab automatically","message":"Select the first tab automatically\n","lang":"CoffeeScript","license":"apache-2.0","repos":"radek1st\/spark-notebook,minyk\/spark-notebook,maasg\/spark-notebook,spark-notebook\/spark-notebook,antonkulaga\/spark-notebook,meh-ninja\/spark-notebook,meh-ninja\/spark-notebook,0asa\/spark-notebook,0asa\/spark-notebook,deanwampler\/spark-notebook,radek1st\/spark-notebook,minyk\/spark-notebook,deanwampler\/spark-notebook,andypetrella\/spark-notebook,meh-ninja\/spark-notebook,antonkulaga\/spark-notebook,antonkulaga\/spark-notebook,maasg\/spark-notebook,andypetrella\/spark-notebook,andypetrella\/spark-notebook,andypetrella\/spark-notebook,0asa\/spark-notebook,deanwampler\/spark-notebook,spark-notebook\/spark-notebook,radek1st\/spark-notebook,radek1st\/spark-notebook,0asa\/spark-notebook,minyk\/spark-notebook,spark-notebook\/spark-notebook,meh-ninja\/spark-notebook,antonkulaga\/spark-notebook,maasg\/spark-notebook,maasg\/spark-notebook,minyk\/spark-notebook,spark-notebook\/spark-notebook,deanwampler\/spark-notebook"} {"commit":"d07cc5d6ac09bb2fb677bbcbcb044f0fb9718950","old_file":"app\/assets\/javascripts\/asset_gallery\/agbase.js.coffee","new_file":"app\/assets\/javascripts\/asset_gallery\/agbase.js.coffee","old_contents":"###\nWelcome to AssetGallery -- http:\/\/github.com\/ewr\/AssetGallery\n###\n\n# stub console.log() for IE\nif !window.console\n class window.console\n @log: ->\n\nAssetGallery ?= {}\n\n\n","new_contents":"###\nWelcome to AssetGallery -- http:\/\/github.com\/ewr\/AssetGallery\n###\n\n# stub console.log() for IE\nif !window.console\n class window.console\n @log: ->\n\nwindow.AssetGallery ?= {}\n\n\n","subject":"Update AssetGallery definition to be compatible with CS 1.3.3","message":"Update AssetGallery definition to be compatible with CS 1.3.3\n","lang":"CoffeeScript","license":"mit","repos":"ewr\/AssetGallery,ewr\/AssetGallery,ewr\/AssetGallery"} {"commit":"e200bbe06b408e1ca3773ddeef81bb50e29cd432","old_file":".atom\/packages.cson","new_file":".atom\/packages.cson","old_contents":"packages: [\n \"autocomplete-python\"\n \"fold-functions\"\n \"language-ini\"\n \"linter\"\n \"linter-pep8\"\n \"linter-python-pep8\"\n \"markdown-preview-plus\"\n \"package-sync\"\n \"python-indent\"\n]\n","new_contents":"packages: [\n \"auto-detect-indentation\"\n \"autocomplete-python\"\n \"fold-functions\"\n \"language-ini\"\n \"linter\"\n \"linter-pep8\"\n \"linter-python-pep8\"\n \"markdown-preview-plus\"\n \"package-sync\"\n \"python-indent\"\n]\n","subject":"Add indentation auto detection to Atom","message":"Add indentation auto detection to Atom\n","lang":"CoffeeScript","license":"mit","repos":"janwh\/dotfiles"} {"commit":"ed11be52a3e18ee345e80513d5a8d8de66d952b2","old_file":".config\/config.cson","new_file":".config\/config.cson","old_contents":"\"*\":\n editor:\n tabLength: 4\n fontFamily: \"Menlo\"\n softTabs: false\n autoIndentOnPaste: false\n invisibles: {}\n lineHeight: 1.3\n fontSize: 11\n core:\n themes: [\n \"atom-light-ui\"\n \"phoenix-syntax\"\n ]\n disabledPackages: [\n \"snippets\"\n \"SFTP-deployment\"\n \"spell-check\"\n \"autocomplete-css\"\n \"autocomplete-plus\"\n \"compare-files\"\n \"merge-conflicts\"\n \"atom-compare-files\"\n \"background-tips\"\n \"welcome\"\n ]\n \"exception-reporting\":\n userId: \"4b2dfe3a-7eef-a871-4d35-230cb11366f8\"\n welcome:\n showOnStartup: false\n \"tree-view\":\n hideIgnoredNames: true\n whitespace:\n removeTrailingWhitespace: false\n \"asciidoc-preview\": {}\n \"autoclose-html\": {}\n \"SFTP-deployment\": {}\n \"remote-sync\": {}\n \"remote-edit\": {}\n \"file-icons\":\n coloured: false\n \"recent-files\":\n updated: false\n \"spell-check\": {}\n \"autocomplete-plus\": {}\n \"atom-beautify\":\n _analyticsUserId: \"84a7da30-e058-42d8-9fd2-cc0519eb2781\"\n \"status-bar\": {}\n hex: {}\n docblockr: {}\n \"toggle-quotes\": {}\n","new_contents":"\"*\":\n editor:\n tabLength: 4\n fontFamily: \"Menlo\"\n softTabs: false\n autoIndentOnPaste: false\n invisibles: {}\n lineHeight: 1.3\n fontSize: 11\n core:\n themes: [\n \"atom-light-ui\"\n \"phoenix-syntax\"\n ]\n disabledPackages: [\n \"snippets\"\n \"SFTP-deployment\"\n \"spell-check\"\n \"autocomplete-css\"\n \"autocomplete-plus\"\n \"compare-files\"\n \"merge-conflicts\"\n \"atom-compare-files\"\n \"background-tips\"\n \"welcome\"\n ]\n \"exception-reporting\":\n userId: \"4b2dfe3a-7eef-a871-4d35-230cb11366f8\"\n welcome:\n showOnStartup: false\n \"tree-view\":\n hideIgnoredNames: true\n whitespace:\n removeTrailingWhitespace: false\n \"asciidoc-preview\": {}\n \"autoclose-html\": {}\n \"SFTP-deployment\": {}\n \"remote-sync\": {}\n \"remote-edit\": {}\n \"file-icons\":\n coloured: false\n \"recent-files\":\n updated: false\n \"spell-check\": {}\n \"autocomplete-plus\": {}\n \"atom-beautify\":\n _analyticsUserId: \"84a7da30-e058-42d8-9fd2-cc0519eb2781\"\n \"status-bar\": {}\n hex: {}\n docblockr: {}\n \"toggle-quotes\": {}\n \"find-and-replace\":\n showSearchWrapIcon: false\n","subject":"Add setting for proposed \"Show Wrap Icon\" option","message":"Add setting for proposed \"Show Wrap Icon\" option\n\nFingers crossed this gets merged into the package's upstream.\n\nSee also: atom\/find-and-replace#618\n","lang":"CoffeeScript","license":"isc","repos":"Alhadis\/Atom-PhoenixTheme"} {"commit":"a740f049c1bd25a3b6b5004ceb5a73b923c94bbe","old_file":"src\/scripts\/workbench\/views\/sensor\/map_view.js.coffee","new_file":"src\/scripts\/workbench\/views\/sensor\/map_view.js.coffee","old_contents":"class Workbench.Views.SensorMapView extends Backbone.Marionette.ItemView\n template: false\n\n initialize: ->\n @zoom = 13\n\n onDestroy: ->\n @map.remove() if @map\n\n onShow: ->\n if @el.id is \"\"\n console.warn \"No Map Element\"\n else\n @location = [@model.get(\"latitude\"), @model.get(\"longitude\")]\n @map = L.map(@el.id).setView(@location, @zoom)\n L.tileLayer(Workbench.tile_url, {\n attribution: Workbench.tile_attribution\n }).addTo(@map)\n\n L.marker(@location).addTo(@map)\n","new_contents":"class Workbench.Views.SensorMapView extends Backbone.Marionette.ItemView\n template: false\n\n initialize: ->\n @zoom = 13\n\n onDestroy: ->\n @map.remove() if @map\n\n onShow: ->\n if @el.id is \"\"\n console.warn \"No Map Element\"\n else\n @location = [@model.get(\"latitude\"), @model.get(\"longitude\")]\n @map = L.map(@el.id, {\n continuousWorld: true\n center: Workbench.provider.center\n minZoom: Workbench.provider.zoomRange.min\n maxZoom: Workbench.provider.zoomRange.max\n crs: Workbench.provider.CRS\n })\n\n L.tileLayer(Workbench.provider.url, {\n attribution: Workbench.provider.attribution\n }).addTo(@map)\n\n @map.setView(@location, @zoom)\n\n L.marker(@location).addTo(@map)\n","subject":"Use AWM tiles for small sensor map","message":"Use AWM tiles for small sensor map\n","lang":"CoffeeScript","license":"mit","repos":"GeoSensorWebLab\/asw-workbench,GeoSensorWebLab\/Arctic-Scholar-Portal,GeoSensorWebLab\/Arctic-Scholar-Portal,GeoSensorWebLab\/asw-workbench,GeoSensorWebLab\/asw-workbench"} {"commit":"be75e1f10893b2b88a463918ff51e2cc4adf5a3d","old_file":"app\/assets\/javascripts\/utils.js.coffee","new_file":"app\/assets\/javascripts\/utils.js.coffee","old_contents":"window.Tahi ||= {}\nTahi.utils =\n toCamel: (string) ->\n string.replace \/(\\-[a-z])\/g, ($1) ->\n $1.toUpperCase().replace \"-\", \"\"\n\n windowHistory: ->\n window.history\n\n bindColumnResize: ->\n $(window).off('resize.columns').on 'resize.columns', =>\n @resizeColumnHeaders()\n\n resizeColumnHeaders: ->\n $headers = $('.columns .column-header')\n return unless $headers.length\n\n $headers.css('height', '')\n heights = $headers.find('h2').map ->\n $(this).outerHeight()\n\n max = null\n try \n max = Math.max.apply(Math, heights)\n catch error\n console.log \"Math error, setting height to 20\"\n console.log error\n max = 20\n\n $headers.css('height', max)\n $('.column-content').css('top', max)\n\n togglePropertyAfterDelay: (obj, prop, startVal, endVal, ms) ->\n obj.set(prop, startVal)\n setTimeout( ->\n Ember.run.schedule(\"actions\", obj, 'set', prop, endVal)\n ms)\n\n debug: (description, obj) ->\n if ETahi.environment == 'development'\n console.groupCollapsed(description)\n console.log(obj)\n console.groupEnd()\n","new_contents":"window.Tahi ||= {}\nTahi.utils =\n toCamel: (string) ->\n string.replace \/(\\-[a-z])\/g, ($1) ->\n $1.toUpperCase().replace \"-\", \"\"\n\n windowHistory: ->\n window.history\n\n bindColumnResize: ->\n $(window).off('resize.columns').on 'resize.columns', =>\n @resizeColumnHeaders()\n\n resizeColumnHeaders: ->\n $headers = $('.columns .column-header')\n return unless $headers.length\n\n $headers.css('height', '')\n heights = $headers.find('h2').map ->\n $(this).outerHeight()\n\n max = null\n try \n max = Math.max.apply(Math, heights)\n catch error\n console.log \"Math error, setting height to 20\"\n console.log error\n max = 20\n\n $headers.css('height', max)\n $('.column-content').css('top', max)\n\n togglePropertyAfterDelay: (obj, prop, startVal, endVal, ms) ->\n obj.set(prop, startVal)\n setTimeout( ->\n Ember.run.schedule(\"actions\", obj, 'set', prop, endVal)\n ms)\n\n debug: (description, obj) ->\n if ETahi.environment == 'development'\n console.groupCollapsed(description)\n console.log(Em.copy(obj, true))\n console.groupEnd()\n","subject":"Support logging correctly when msg is mutated","message":"Support logging correctly when msg is mutated","lang":"CoffeeScript","license":"mit","repos":"johan--\/tahi,johan--\/tahi,johan--\/tahi,johan--\/tahi"} {"commit":"c2c07bba0c8ab8cb5271a9c80b43d62be073e0f4","old_file":"config\/plugins\/coffeelint.coffee","new_file":"config\/plugins\/coffeelint.coffee","old_contents":"module.exports = (lineman) ->\n config:\n loadNpmTasks: lineman.config.application.loadNpmTasks.concat('grunt-coffeelint')\n\n prependTasks:\n common: lineman.config.application.prependTasks.common.concat('coffeelint')\n\n coffeelint:\n app: [\n lineman.config.files.coffee.app\n ]\n","new_contents":"module.exports = (lineman) ->\n config:\n loadNpmTasks: lineman.config.application.loadNpmTasks.concat('grunt-coffeelint')\n\n prependTasks:\n common: lineman.config.application.prependTasks.common.concat('coffeelint')\n\n coffeelint:\n app: [\"<%= files.coffee.app %>\", \"<%= files.coffee.spec %>\"]\n\n watch:\n coffeelint:\n files: [\"<%= files.coffee.app %>\", \"<%= files.coffee.spec %>\"]\n tasks: [\"coffeelint\"]\n","subject":"Add watch support + use grunt variable expansion","message":"Add watch support + use grunt variable expansion\n\n* `lineman run` will now catch linting problems as you work \r\n* Spec files will now trigger lint failures\r\n* Switched to the familiar (at least relative to the rest of lineman), string-variable expansion version of specifying glob references. This is nice because it expands at `grunt.initConfig`-time, which is assured to be after *each-and-every* plugin has loaded and modified the configuration struct. The previous approach is at risk of missing a modification to the globs based on load order of the plugins.","lang":"CoffeeScript","license":"bsd-3-clause","repos":"aranasoft\/lineman-coffeelint"} {"commit":"c77feac9c0a7ef93f914c03c06f7fe913293765a","old_file":"client\/components\/LangCorrector.coffee","new_file":"client\/components\/LangCorrector.coffee","old_contents":"React = require('react')\n\nimport { withRouter, Redirect } from 'react-router'\n\nimport stripLabel from '..\/lib\/stripLabel'\nimport withLang from '..\/lib\/withLang'\n\ncorrectUrl = (url, lang) ->\n if not url.startsWith(\"\/material\/\")\n return url\n url = stripLabel(url)\n if lang == \"ru\"\n return url.replace(\"A\", \"А\").replace(\"B\", \"Б\").replace(\"C\", \"В\").replace(\"D\", \"Г\")\n else\n return url.replace(\"А\", \"A\").replace(\"Б\", \"B\").replace(\"В\", \"C\").replace(\"Г\", \"D\") + \"!en\"\n\nexport default LangCorrector = withLang withRouter (props) ->\n url = props.location.pathname\n newUrl = correctUrl(url, props.lang)\n if url != newUrl\n \n else\n props.children","new_contents":"React = require('react')\n\nimport { withRouter, Redirect } from 'react-router'\n\nimport stripLabel from '..\/lib\/stripLabel'\nimport withLang from '..\/lib\/withLang'\n\ncorrectUrl = (url, lang) ->\n if not url.startsWith(\"\/material\/\")\n return url\n url = stripLabel(url)\n if lang == \"ru\"\n return url #.replace(\"A\", \"А\").replace(\"B\", \"Б\").replace(\"C\", \"В\").replace(\"D\", \"Г\")\n else\n return url + \"!en\" #.replace(\"А\", \"A\").replace(\"Б\", \"B\").replace(\"В\", \"C\").replace(\"Г\", \"D\") + \"!en\"\n\nexport default LangCorrector = withLang withRouter (props) ->\n url = props.location.pathname\n newUrl = correctUrl(url, props.lang)\n if url != newUrl\n \n else\n props.children\n","subject":"Fix redirects for cf problems","message":"Fix redirects for cf problems","lang":"CoffeeScript","license":"agpl-3.0","repos":"petr-kalinin\/algoprog,petr-kalinin\/algoprog,petr-kalinin\/algoprog,petr-kalinin\/algoprog"} {"commit":"302c0ab3ddbce7e1d953a322f4e5f3837490749e","old_file":"menus\/latex-friend.cson","new_file":"menus\/latex-friend.cson","old_contents":"'context-menu':\n 'atom-text-editor': [\n {\n 'label': 'Sync PDF'\n 'command': 'latex-friend:syncpdf'\n }\n {\n 'label': 'Show structure'\n 'command': 'latex-friend:showNavigation'\n }\n {\n 'label': 'Show structure pane'\n 'command': 'latex-friend:showNavigationPane'\n }\n {\n 'label': 'Show TODOs'\n 'command': 'latex-friend:showTodos'\n }\n {\n 'label': 'Insert reference'\n 'command': 'latex-friend:insertReference'\n }\n {\n 'label': 'Matrix builder'\n 'command': 'latex-friend:matrixBuilder'\n }\n ]\n'menu': [\n {\n 'label': 'Packages'\n 'submenu': [\n 'label': 'latex-friend'\n 'submenu': [\n {\n 'label': 'Sync PDF'\n 'command': 'latex-friend:syncpdf'\n }\n {\n 'label' : 'Show structure'\n 'command' : 'latex-friend:showNavigation'\n }\n {\n 'label' : 'Show structure pane'\n 'command' : 'latex-friend:showNavigationPane'\n }\n {\n 'label' : 'Show TODOs'\n 'command' : 'latex-friend:showTodos'\n }\n {\n 'label' : 'Insert reference'\n 'command' : 'latex-friend:insertReference'\n }\n {\n 'label' : 'Matrix builder'\n 'command' : 'latex-friend:matrixBuilder'\n }\n\n ]\n ]\n }\n]\n","new_contents":"'context-menu':\n 'atom-text-editor[data-grammar*=\"text tex\"]': [\n {\n 'label': 'Sync PDF'\n 'command': 'latex-friend:syncpdf'\n }\n {\n 'label': 'Show structure'\n 'command': 'latex-friend:showNavigation'\n }\n {\n 'label': 'Show structure pane'\n 'command': 'latex-friend:showNavigationPane'\n }\n {\n 'label': 'Show TODOs'\n 'command': 'latex-friend:showTodos'\n }\n {\n 'label': 'Insert reference'\n 'command': 'latex-friend:insertReference'\n }\n {\n 'label': 'Matrix builder'\n 'command': 'latex-friend:matrixBuilder'\n }\n ]\n'menu': [\n {\n 'label': 'Packages'\n 'submenu': [\n 'label': 'latex-friend'\n 'submenu': [\n {\n 'label': 'Sync PDF'\n 'command': 'latex-friend:syncpdf'\n }\n {\n 'label' : 'Show structure'\n 'command' : 'latex-friend:showNavigation'\n }\n {\n 'label' : 'Show structure pane'\n 'command' : 'latex-friend:showNavigationPane'\n }\n {\n 'label' : 'Show TODOs'\n 'command' : 'latex-friend:showTodos'\n }\n {\n 'label' : 'Insert reference'\n 'command' : 'latex-friend:insertReference'\n }\n {\n 'label' : 'Matrix builder'\n 'command' : 'latex-friend:matrixBuilder'\n }\n\n ]\n ]\n }\n]\n","subject":"Hide menu items in non-latex environment.","message":"Hide menu items in non-latex environment.\n\nHide latex-related menu items in non-latex environment, as the menu items are not working in other source files except for tex files.","lang":"CoffeeScript","license":"mit","repos":"ruivieira\/latex-friend"} {"commit":"e227d54e31e98192b940d15723f83fe5ee0bad3f","old_file":"menus\/symbols-view.cson","new_file":"menus\/symbols-view.cson","old_contents":"'menu': [\n {\n 'label': 'Packages'\n 'submenu': [\n 'label': 'Symbols'\n 'submenu': [\n { 'label': 'File Symbols', 'command': 'symbols-view:toggle-file-symbols' }\n { 'label': 'Project Symbols', 'command': 'symbols-view:toggle-project-symbols' }\n ]\n ]\n }\n]\n\n'context-menu':\n '.overlayer':\n 'Go to Declaration': 'symbols-view:go-to-declaration'\n","new_contents":"'menu': [\n {\n 'label': 'Packages'\n 'submenu': [\n 'label': 'Symbols'\n 'submenu': [\n { 'label': 'File Symbols', 'command': 'symbols-view:toggle-file-symbols' }\n { 'label': 'Project Symbols', 'command': 'symbols-view:toggle-project-symbols' }\n ]\n ]\n }\n]\n\n'context-menu':\n '.overlayer': [\n { 'label': 'Go to Declaration', 'command': 'symbols-view:go-to-declaration' }\n ]\n","subject":"Use next context menu format","message":"Use next context menu format\n","lang":"CoffeeScript","license":"mit","repos":"changjej\/symbols-view,spencerlyon2\/symbols-view,harai\/atom-gnu-global,spencerlyon2\/symbols-view,rodumani\/symbols-view,atom\/symbols-view,rodumani\/symbols-view,changjej\/symbols-view,kainwinterheart\/symbols-view,harai\/atom-gnu-global"} {"commit":"b3cbb015a5c28589b03cf44adb7079645fbda2da","old_file":"Gulpfile.coffee","new_file":"Gulpfile.coffee","old_contents":"require 'coffee-script\/register'\ngulp = require 'gulp'\ncoffee = require 'gulp-coffee'\nmocha = require 'gulp-mocha'\nshell = require 'gulp-shell'\n\ngulp.task 'coffee', ->\n gulp.src(['retro.coffee', 'libretro_h.coffee'])\n .pipe(coffee())\n .pipe(gulp.dest '.')\ngulp.task 'mocha', ['gyp', 'coffee'], ->\n gulp.src(['test.coffee'], read: false)\n .pipe mocha\n reporter: 'spec',\n globals:\n should: require 'should'\ngulp.task 'gyp', shell.task [\n '.\/node_modules\/.bin\/node-pre-gyp build'\n]\ngulp.task 'install', shell.task [\n '.\/node_modules\/.bin\/node-pre-gyp install --fallback-to-build'\n]\n\ngulp.task 'build', ['gyp', 'coffee']\ngulp.task 'test', ['mocha']\ngulp.task 'prepublish', ['build']\ngulp.task 'default', ['build', 'test']\n","new_contents":"require 'coffee-script\/register'\ngulp = require 'gulp'\ncoffee = require 'gulp-coffee'\nmocha = require 'gulp-mocha'\nshell = require 'gulp-shell'\n\ngulp.task 'coffee', ->\n gulp.src(['retro.coffee', 'libretro_h.coffee'])\n .pipe(coffee())\n .pipe(gulp.dest '.')\ngulp.task 'mocha', ['gyp', 'coffee'], ->\n gulp.src(['test.coffee'], read: false)\n .pipe mocha\n reporter: 'spec',\n globals:\n should: require 'should'\ngulp.task 'gyp', shell.task [\n 'node-pre-gyp build'\n]\ngulp.task 'install', shell.task [\n 'node-pre-gyp install --fallback-to-build'\n]\n\ngulp.task 'build', ['gyp', 'coffee']\ngulp.task 'test', ['mocha']\ngulp.task 'prepublish', ['build']\ngulp.task 'default', ['build', 'test']\n","subject":"Make build script work on Win32.","message":"Make build script work on Win32.\n","lang":"CoffeeScript","license":"mit","repos":"matthewbauer\/node-retro,matthewbauer\/node-retro,matthewbauer\/node-retro,matthewbauer\/node-retro"} {"commit":"7f1b41e12253512c2365dd3495c27870ac07f70a","old_file":"src\/assets\/javascripts\/backdrop.coffee","new_file":"src\/assets\/javascripts\/backdrop.coffee","old_contents":"imagesLoaded = require 'imagesloaded'\n\nmodule.exports = class Backdrop\n constructor: ({ @$el, @$window, @$body }) ->\n # Wait for images to load before scaling\n @$el.imagesLoaded =>\n @scale()\n\n scale: ->\n [width, height] = dimensions = @dimensions()\n\n @$el\n .addClass('is-ready')\n .css\n transform: \"scale(#{@factor(dimensions)})\"\n marginTop: -(height \/ 2)\n marginLeft: -(width \/ 2)\n\n dimensions: ->\n if @$el.is ':visible'\n [@$el.outerWidth(), @$el.outerHeight()]\n else\n $clone = @$el.clone()\n $clone.css 'visibility', 'hidden'\n @$body.append $clone\n dimensions = [$clone.outerWidth(), $clone.outerHeight()]\n $clone.remove()\n dimensions\n\n factor: ([width, height]) ->\n ratio = width \/ height\n viewportRatio = @$window.width() \/ @$window.height()\n direction = if viewportRatio > ratio then 'width' else 'height'\n factor = @$window[direction]() \/ @$el[direction]()\n Math.ceil(factor * 100) \/ 100\n","new_contents":"imagesLoaded = require 'imagesloaded'\n\nmodule.exports = class Backdrop\n constructor: ({ @$el, @$window, @$body }) ->\n # Wait for images to load before scaling\n @$el.imagesLoaded => @scale()\n\n scale: ->\n { width, height } = dimensions = @dimensions()\n\n @$el\n .addClass('is-ready')\n .css\n transform: \"scale(#{@factor(dimensions)})\"\n marginTop: -(height \/ 2)\n marginLeft: -(width \/ 2)\n\n dimensions: ->\n if @$el.is ':visible'\n width: @$el.outerWidth(), height: @$el.outerHeight()\n else\n $clone = @$el.clone()\n $clone.css 'visibility', 'hidden'\n @$body.append $clone\n dimensions = width: $clone.outerWidth(), height: $clone.outerHeight()\n $clone.remove()\n dimensions\n\n factor: (dimensions) ->\n { width, height } = dimensions\n ratio = width \/ height\n viewportRatio = @$window.width() \/ @$window.height()\n direction = if viewportRatio > ratio then 'width' else 'height'\n factor = @$window[direction]() \/ dimensions[direction]\n Math.ceil(factor * 100) \/ 100\n","subject":"Fix bug with off screen images","message":"Fix bug with off screen images\n","lang":"CoffeeScript","license":"mit","repos":"artsy\/2014.artsy.net,ladanazita\/2014.artsy.net,ladanazita\/2014.artsy.net,artsy\/2014.artsy.net,ladanazita\/2014.artsy.net,artsy\/2014.artsy.net"} {"commit":"40948c2641dfeb6b8d37893b198bc8f7ecdec577","old_file":"webpack.config.coffee","new_file":"webpack.config.coffee","old_contents":"'use strict'\n\npkg = require '.\/package.json'\nnode_modules = __dirname + '\/node_modules'\nExtractTextPlugin = require('extract-text-webpack-plugin')\nenvironment = process.env.NODE_ENV\n\nmodule.exports =\n cache : true\n resolve : extensions: ['', '.cjsx', '.coffee', '.js', '.json', '.styl']\n context : __dirname\n\n entry:\n commons : ['.\/components\/commons.styl']\n test : ['webpack\/hot\/dev-server', '.\/spec\/index.cjsx']\n # test : ['webpack\/hot\/dev-server', '.\/spec\/index.cjsx']\n\n output:\n path : if environment is 'production' then '.\/dist' else '.\/build'\n filename : pkg.name + '.[name].js'\n publicPath : '\/build\/'\n\n devServer:\n # contentBase : '.\/build'\n host : 'localhost'\n port : 8080\n # colors : true\n # progress : true\n # noInfo : false\n # hot : true\n inline : true\n\n module:\n noParse : [node_modules + '\/react\/dist\/*.js']\n\n loaders: [\n test : \/\\.cjsx$\/, loader: 'coffee-jsx-loader'\n ,\n test : \/\\.coffee$\/, loader: 'coffee-jsx-loader'\n ,\n test : \/\\.styl$\/, loader: ExtractTextPlugin.extract('style-loader', 'css-loader!stylus-loader!')\n ]\n\n plugins: [\n new ExtractTextPlugin pkg.name + '.[name].css', allChunks: false\n ]\n","new_contents":"'use strict'\n\npkg = require '.\/package.json'\nnode_modules = __dirname + '\/node_modules'\nExtractTextPlugin = require('extract-text-webpack-plugin')\nenvironment = process.env.NODE_ENV\n\nmodule.exports =\n cache : true\n resolve : extensions: ['', '.cjsx', '.coffee', '.js', '.json', '.styl']\n context : __dirname\n\n entry:\n commons : ['.\/components\/commons.styl']\n test : ['webpack\/hot\/dev-server', '.\/spec\/index.cjsx']\n # test : ['webpack\/hot\/dev-server', '.\/spec\/index.cjsx']\n\n output:\n path : if environment is 'production' then '.\/dist' else '.\/build'\n filename : pkg.name + '.[name].js'\n publicPath : '\/build\/'\n\n devServer:\n # contentBase : '.\/build'\n host : '0.0.0.0'\n port : 8080\n # colors : true\n # progress : true\n # noInfo : false\n # hot : true\n inline : true\n\n module:\n noParse : [node_modules + '\/react\/dist\/*.js']\n\n loaders: [\n test : \/\\.cjsx$\/, loader: 'coffee-jsx-loader'\n ,\n test : \/\\.coffee$\/, loader: 'coffee-jsx-loader'\n ,\n test : \/\\.styl$\/, loader: ExtractTextPlugin.extract('style-loader', 'css-loader!stylus-loader!')\n ]\n\n plugins: [\n new ExtractTextPlugin pkg.name + '.[name].css', allChunks: false\n ]\n","subject":"Configure webpack dev server to accept connections from mobile","message":"Configure webpack dev server to accept connections from mobile\n","lang":"CoffeeScript","license":"mit","repos":"KerenChandran\/react-toolbox,react-toolbox\/react-toolbox,showings\/react-toolbox,KerenChandran\/react-toolbox,showings\/react-toolbox,DigitalRiver\/react-atlas,rubenmoya\/react-toolbox,soyjavi\/react-toolbox,jasonleibowitz\/react-toolbox,rubenmoya\/react-toolbox,react-toolbox\/react-toolbox,jasonleibowitz\/react-toolbox,Magneticmagnum\/react-atlas,react-toolbox\/react-toolbox,soyjavi\/react-toolbox,rubenmoya\/react-toolbox"} {"commit":"64f87a5961f177d51b3a68198a4a0b85376d1298","old_file":"app\/assets\/javascripts\/jazz.js.coffee","new_file":"app\/assets\/javascripts\/jazz.js.coffee","old_contents":"# http:\/\/stackoverflow.com\/questions\/4214731\/coffeescript-global-variables\nroot = exports ? this\nroot.decorate_minus_button = (e) ->\n e.click ->\n target_name = $(this).data('for')\n target = $('input#'+target_name)\n min = if target.attr('min') then target.attr('min') else 0\n if target.val()\n val = Math.max(min, parseInt(target.val(), 10) - 1)\n target.val(val)\n\nroot.decorate_plus_button = (e) ->\n e.click ->\n target_name = $(this).data('for')\n target = $('input#'+target_name)\n max = if target.attr('max') then target.attr('max') else 99\n if target.val()\n val = Math.min(max, parseInt(target.val(), 10) + 1)\n target.val(val)\n\n$ ->\n decorate_minus_button($('form a.jazz.btn.minus'))\n decorate_plus_button($('form a.jazz.btn.plus'))\n \n # Make table rows with data-target attributes clickable\n $('tr[data-target]').click ->\n window.location = $(this).data('target')\n # Prevent clicking on links from trigger the above\n $('tr[data-target] a').click (e) ->\n e.stopPropagation();\n","new_contents":"# http:\/\/stackoverflow.com\/questions\/4214731\/coffeescript-global-variables\nroot = exports ? this\nroot.decorate_minus_button = (e) ->\n e.click ->\n target_name = $(this).data('for')\n target = $('input#'+target_name)\n min = if target.attr('min') then target.attr('min') else 0\n if target.val()\n val = Math.max(min, parseInt(target.val(), 10) - 1)\n target.val(val)\n\nroot.decorate_plus_button = (e) ->\n e.click ->\n target_name = $(this).data('for')\n target = $('input#'+target_name)\n max = if target.attr('max') then target.attr('max') else 99\n if target.val()\n val = Math.min(max, parseInt(target.val(), 10) + 1)\n target.val(val)\n\n$ ->\n decorate_minus_button($('form a.jazz.btn.minus'))\n decorate_plus_button($('form a.jazz.btn.plus'))\n \n # Make table rows with data-target attributes clickable\n $('tr[data-target]').click (e) ->\n if 'TD' == e.originalEvent.srcElement.tagName\n window.location = $(this).data('target')\n","subject":"Allow links to still 'work' within tr[data-target]","message":"Allow links to still 'work' within tr[data-target]\n","lang":"CoffeeScript","license":"mit","repos":"aisrael\/jazz,aisrael\/jazz"} {"commit":"118e62143c41288209872a0980905764b7fe393f","old_file":"scripts\/views\/workspace\/content\/search-results-item.coffee","new_file":"scripts\/views\/workspace\/content\/search-results-item.coffee","old_contents":"define [\n 'jquery'\n 'underscore'\n 'backbone'\n 'marionette'\n 'cs!collections\/media-types'\n 'cs!helpers\/enable-dnd'\n 'hbs!templates\/workspace\/content\/search-results-item'\n], ($, _, Backbone, Marionette, mediaTypes, enableContentDragging, searchResultsItemTemplate) ->\n\n # Search Result Views (workspace)\n # -------\n #\n # A list of search results (stubs of models only containing an icon, url, title)\n # need a generic view for an item.\n #\n # Since we don't really distinguish between a search result view and a workspace\/collection\/etc\n # just consider them the same.\n return Marionette.ItemView.extend\n tagName: 'tr'\n\n initialize: () ->\n @template = (data) =>\n data.id = @model.id\n return searchResultsItemTemplate(data)\n\n @listenTo @model, 'change', => @render()\n\n onRender: () ->\n # Render the modified time in a relative format and update it periodically\n $times = @$el.find('time[datetime]')\n #updateTimes $times\n\n # Add DnD options to content\n enableContentDragging(@model, @$el.children('*[data-media-type]'))\n","new_contents":"define [\n 'jquery'\n 'underscore'\n 'backbone'\n 'marionette'\n 'cs!collections\/media-types'\n 'cs!helpers\/enable-dnd'\n 'hbs!templates\/workspace\/content\/search-results-item'\n], ($, _, Backbone, Marionette, mediaTypes, enableContentDragging, searchResultsItemTemplate) ->\n\n # Search Result Views (workspace)\n # -------\n #\n # A list of search results (stubs of models only containing an icon, url, title)\n # need a generic view for an item.\n #\n # Since we don't really distinguish between a search result view and a workspace\/collection\/etc\n # just consider them the same.\n return Marionette.ItemView.extend\n tagName: 'tr'\n\n initialize: () ->\n @template = (data) =>\n data.id = @model.id or @model.cid\n return searchResultsItemTemplate(data)\n\n @listenTo @model, 'change', => @render()\n\n onRender: () ->\n # Render the modified time in a relative format and update it periodically\n $times = @$el.find('time[datetime]')\n #updateTimes $times\n\n # Add DnD options to content\n enableContentDragging(@model, @$el.children('*[data-media-type]'))\n","subject":"Fix broken editor link for new media","message":"Fix broken editor link for new media\n","lang":"CoffeeScript","license":"agpl-3.0","repos":"oerpub\/bookish,oerpub\/github-bookeditor,oerpub\/bookish,oerpub\/github-bookeditor,oerpub\/github-bookeditor"} {"commit":"f86dd2b9562456ef5e43d2450c32b25c60ba18e1","old_file":"gulpfile.coffee","new_file":"gulpfile.coffee","old_contents":"gulp = require 'gulp'\nwebserver = require 'gulp-webserver'\ncoffee = require 'gulp-coffee'\nconcat = require 'gulp-concat'\nfilter = require 'gulp-filter'\nuglify = require 'gulp-uglify'\nmain_bf = require 'main-bower-files'\n\ngulp.task 'webserver', ->\n gulp.src '.\/'\n .pipe webserver\n livereload: true\n directoryListing: true\n open: true\n\ngulp.task 'compile', ->\n gulp.src 'src\/**\/*.coffee'\n .pipe coffee bare: true\n .pipe concat 'tankbetajs.js'\n .pipe gulp.dest 'app'\n\ngulp.task 'libs', ->\n gulp.src main_bf()\n .pipe filter '*.js'\n .pipe concat 'libs.min.js'\n .pipe uglify()\n .pipe gulp.dest 'app'\n\ngulp.task 'default', ->\n gulp.run 'webserver', 'compile'\n gulp.watch 'src\/**\/*.coffee*', ->\n gulp.run 'compile'\n","new_contents":"gulp = require 'gulp'\nwebserver = require 'gulp-webserver'\ncoffee = require 'gulp-coffee'\nconcat = require 'gulp-concat'\nfilter = require 'gulp-filter'\nuglify = require 'gulp-uglify'\nmain_bf = require 'main-bower-files'\n\ngulp.task 'webserver', ->\n gulp.src '.\/'\n .pipe webserver\n livereload: true\n directoryListing: true\n open: true\n\ngulp.task 'compile', ->\n gulp.src 'src\/**\/*.coffee'\n .pipe coffee bare: true\n .pipe concat 'tankbetajs.js'\n .pipe gulp.dest 'app'\n\ngulp.task 'libs', ->\n gulp.src main_bf()\n .pipe filter '*.js'\n .pipe concat 'libs.min.js'\n .pipe uglify()\n .pipe gulp.dest 'app'\n\ngulp.task 'watch', ->\n gulp.watch 'src\/**\/*.coffee*', ->\n gulp.run 'compile'\n\ngulp.task 'default', ->\n gulp.run 'webserver', 'compile', 'watch'\n","subject":"Move gulp watch to top level task","message":"Move gulp watch to top level task\n","lang":"CoffeeScript","license":"mit","repos":"sortelli\/tankbeta,sortelli\/tankbeta,sortelli\/tankbeta,sortelli\/tankbeta"} {"commit":"d78ed248fbc6926145cc4d47888edbf3d0ba521c","old_file":"server\/entry.coffee","new_file":"server\/entry.coffee","old_contents":"Meteor.startup ->\n Accounts.urls.resetPassword = (token) ->\n Meteor.absoluteUrl('reset-password\/' + token)\n\n AccountsEntry =\n settings: {}\n\n config: (appConfig) ->\n @settings = _.extend(@settings, appConfig)\n\n @AccountsEntry = AccountsEntry\n\n Meteor.methods\n entryValidateSignupCode: (signupCode) ->\n check signupCode, Match.OneOf(String, null, undefined)\n not AccountsEntry.settings.signupCode or signupCode is AccountsEntry.settings.signupCode\n\n accountsCreateUser: (username, email, password) ->\n if username\n Accounts.createUser\n username: username,\n email: email,\n password: password,\n profile: AccountsEntry.settings.defaultProfile || {}\n else\n Accounts.createUser\n email: email\n password: password\n profile: AccountsEntry.settings.defaultProfile || {}\n","new_contents":"Meteor.startup ->\n Accounts.urls.resetPassword = (token) ->\n Meteor.absoluteUrl('reset-password\/' + token)\n\n AccountsEntry =\n settings: {}\n\n config: (appConfig) ->\n @settings = _.extend(@settings, appConfig)\n\n @AccountsEntry = AccountsEntry\n\n Meteor.methods\n entryValidateSignupCode: (signupCode) ->\n check signupCode, Match.OneOf(String, null, undefined)\n not AccountsEntry.settings.signupCode or signupCode is AccountsEntry.settings.signupCode\n\n accountsCreateUser: (username, email, password, profile) ->\n if username\n Accounts.createUser\n username: username,\n email: email,\n password: password,\n profile: AccountsEntry.settings.defaultProfile || {}\n else\n Accounts.createUser\n email: email\n password: password\n profile: AccountsEntry.settings.defaultProfile || {}\n","subject":"Add profile to server account create user","message":"Add profile to server account create user\n","lang":"CoffeeScript","license":"mit","repos":"vhmh2005\/accounts-entry,jpatzer\/accounts-entry,andykingking\/accounts-entry,andykingking\/accounts-entry,dovrosenberg\/accounts-entry,meteorblackbelt\/accounts-entry,RiffynInc\/meteor-accounts-entry,benmgreene\/accounts-entry,jg3526\/accounts-entry,mauriciovieira\/accounts-entry,dovrosenberg\/accounts-entry,maxkferg\/accounts-entry,jpatzer\/accounts-entry,RiffynInc\/meteor-accounts-entry,Vilango\/accounts-entry,txs\/meteor-wecare-accounts-entry-flow-blaze-global,mike623\/accounts-entry,jg3526\/accounts-entry,Differential\/accounts-entry,mauriciovieira\/accounts-entry,selaias\/accounts-entry,Vilango\/accounts-entry,maxkferg\/accounts-entry,AppWorkshop\/accounts-entry,AppWorkshop\/accounts-entry,ChipCastleDotCom\/accounts-entry,Differential\/accounts-entry,valedaemon\/accounts-entry,Noamyoungerm\/accounts-entry,mike623\/accounts-entry,txs\/meteor-wecare-accounts-entry-flow-blaze,txs\/meteor-wecare-accounts-entry-flow-blaze-global,lnader\/meteor-accounts-entry,lnader\/meteor-accounts-entry,meteorblackbelt\/accounts-entry,valedaemon\/accounts-entry,ChipCastleDotCom\/accounts-entry,vhmh2005\/accounts-entry,Noamyoungerm\/accounts-entry,txs\/meteor-wecare-accounts-entry-flow-blaze,benmgreene\/accounts-entry,selaias\/accounts-entry"} {"commit":"9091b79ee41675a2ca99c38ab76d95e113ce6d77","old_file":"brunch-config.coffee","new_file":"brunch-config.coffee","old_contents":"exports.config =\n # See http:\/\/brunch.readthedocs.org\/en\/latest\/config.html for documentation.\n paths:\n public: 'public'\n files:\n javascripts:\n joinTo:\n 'js\/app.js': \/^app\/\n\n stylesheets:\n joinTo:\n 'ss\/app.css': \/^app\\\/styles\/\n\n plugins:\n sass:\n debug: 'comments'\n \n sourceMaps: false\n\n","new_contents":"exports.config =\n # See http:\/\/brunch.readthedocs.org\/en\/latest\/config.html for documentation.\n paths:\n public: 'public'\n files:\n javascripts:\n joinTo:\n 'js\/app.js': \/^app\/\n\n stylesheets:\n joinTo:\n 'ss\/app.css': \/^app\\\/styles\/\n\n","subject":"Add sourcemaps back for devtools use","message":"Add sourcemaps back for devtools use\n","lang":"CoffeeScript","license":"mit","repos":"mgarbacz\/existential.io"} {"commit":"977d39fcaaec8efea60f78d21a66c3f0824bee4f","old_file":"KVEnumeration.coffee","new_file":"KVEnumeration.coffee","old_contents":"extend = (object, properties) ->\n for key, val of properties\n object[key] = val\n object\n\nenumNames=[]\n\n#C like enum\nclass KVEnumeration\n #Registered enums\n #Static function that creates an enum object value. Uniqueness guarantied by object reference.\n #This objects's unique own field is the KVEnumeration name. It's read only.\n #string value shall be uppercase\n @value:(key,value,enumName=\"KVEnumeration\",valueProto)->\n prototype=extend\n _value:-> @[key]\n _key:->key\n _type:->enumName\n , valueProto\n properties={}\n properties[key]=\n value:value\n enumerable:true\n Object.create prototype, properties\n\n constructor:(enumName,enumValues,valueProto={}) ->\n #Check for uniqueness\n if enumName in enumNames then throw \"#{enumName} already exists!\"\n else enumNames.push enumName\n #Lambda to write enum values\n writeProperty = (property,key) => @[key]=KVEnumeration.value(key,property,enumName,valueProto)\n writeProperty val,key for key,val of enumValues\n #Define non-enumerable property\n Object.defineProperty @, 'concise', {\n #Returns a concise string representing the KVEnumeration\n value:-> \"#{enumName}:[#{\" \"+val+\" \" for val in enumValues}]\"\n }\n Object.defineProperty @, 'from', {\n #Returns the enum instance that matches value\n value: (lookupVal) -> (@[key] for key,val of enumValues when val is lookupVal)[0]\n }\n #Guaranties properties to be 'final', non writable\n Object.freeze(this)\n\n\n","new_contents":"extend = (object, properties) ->\n for key, val of properties\n object[key] = val\n object\n\nenumNames=[]\n\n#C like enum\nclass Enumeration\n #Registered enums\n #Static function that creates an enum object value. Uniqueness guarantied by object reference.\n #This objects's unique own field is the Enumeration name. It's read only.\n #string value shall be uppercase\n @value:(key,value,enumName=\"Enumeration\",valueProto)->\n prototype=extend\n _value:-> @[key]\n _key:->key\n _type:->enumName\n , valueProto\n properties={}\n properties[key]=\n value:value\n enumerable:true\n Object.create prototype, properties\n\n constructor:(enumName,enumValues,valueProto={}) ->\n #Check for uniqueness\n if enumName in enumNames then throw \"#{enumName} already exists!\"\n else enumNames.push enumName\n #Lambda to write enum values\n writeProperty = (property,key) => @[key]=Enumeration.value(key,property,enumName,valueProto)\n writeProperty val,key for key,val of enumValues\n #Define non-enumerable property\n Object.defineProperty @, 'pretty', {\n #Returns a concise, pretty string representing the Enumeration\n value:-> \"#{enumName}:{#{\"#{key}:#{val} \" for key,val of enumValues}}\"\n }\n Object.defineProperty @, 'from', {\n #Returns the enum instance that matches value\n value: (lookupVal) -> (@[key] for key,val of enumValues when val is lookupVal)[0]\n }\n #Guaranties properties to be 'final', non writable\n Object.freeze(this)\n\n\n","subject":"Update to Enumeration + pretty function updated","message":"Update to Enumeration + pretty function updated","lang":"CoffeeScript","license":"mit","repos":"sveinburne\/enumerationjs,sveinburne\/enumerationjs"} {"commit":"6670d0714c6bcb587cfc0b92ff0eba8fbcf8929f","old_file":"home\/.atom\/config.cson","new_file":"home\/.atom\/config.cson","old_contents":"\"*\":\n \"exception-reporting\":\n userId: \"1e725750-c66d-33e4-9fce-f627ac32bde5\"\n \"release-notes\":\n viewedVersion: \"0.94.0\"\n welcome:\n showOnStartup: false\n metrics:\n userId: \"c2f08243ecb4a9bc44bd9e46d4f067086d9357e3\"\n editor:\n fontSize: 11\n showInvisibles: true\n showIndentGuide: true\n invisibles:\n {}\n core:\n disabledPackages: [\n \"metrics\"\n \"select-rectangle\"\n \"vim-mode\"\n ]\n themes: [\n \"atom-dark-ui-slim\"\n \"seti-syntax\"\n ]\n linter:\n showErrorInline: true\n \"go-plus\":\n goPath: \"~\/.go\"\n \"tree-view\":\n {}\n \"autocomplete-plus\":\n {}\n","new_contents":"\"*\":\n \"exception-reporting\":\n userId: \"1e725750-c66d-33e4-9fce-f627ac32bde5\"\n \"release-notes\":\n viewedVersion: \"0.94.0\"\n welcome:\n showOnStartup: false\n metrics:\n userId: \"c2f08243ecb4a9bc44bd9e46d4f067086d9357e3\"\n editor:\n fontSize: 11\n showInvisibles: true\n showIndentGuide: true\n invisibles:\n {}\n core:\n disabledPackages: [\n \"metrics\"\n \"select-rectangle\"\n \"vim-mode\"\n ]\n themes: [\n \"atom-dark-ui-slim\"\n \"seti-syntax\"\n ]\n linter:\n showErrorInline: true\n \"go-plus\":\n goPath: \"~\/.go\"\n \"tree-view\":\n {}\n \"autocomplete-plus\":\n {}\n \"file-types\":\n \"^.gvimrc.after\": \"viml\"\n \"^.profile$\": \"shell\"\n \"^.shared_env.*\": \"shell\"\n \"^.spacemacs$\": \"lisp\"\n \"^.vimrc.before$\": \"viml\"\n \"^.vimrc.after$\": \"viml\"\n \"^.zshenv.local.*$\": \"shell\"\n \"^.zshrc.local.*$\": \"shell\"\n","subject":"Set various dotfile file types using the file-types package in atom.","message":"Set various dotfile file types using the file-types package in atom.\n","lang":"CoffeeScript","license":"mit","repos":"alphabetum\/dotfiles,alphabetum\/dotfiles,alphabetum\/dotfiles,alphabetum\/dotfiles"} {"commit":"060f46be0bb339537ac1be8a4e4e542702baa9ff","old_file":"app\/assets\/javascripts\/startups.js.coffee","new_file":"app\/assets\/javascripts\/startups.js.coffee","old_contents":"initialize = () ->\n $markets = $(\"#startup_market_list\")\n\n $markets.tokenInput \"http:\/\/api.angel.co\/1\/search?type=MarketTag\",\n crossDomain: true,\n queryParam: \"query\",\n prePopulate: $markets.data('pre'),\n theme: \"facebook\",\n tokenLimit: 3,\n tokenValue: \"name\"\n\n$ ->\n $body = $('body')\n routes = ['startups-new', 'startups-edit']\n\n if _.some(routes, (route) -> $body.hasClass route)\n initialize()","new_contents":"$ ->\n $body = $('body')\n bodyClass = $body.attr 'class'\n routes = ['startups-new', 'startups-edit']\n\n if bodyClass in ['startups-new', 'startups-edit']\n $markets = $(\"#startup_market_list\")\n\n $markets.tokenInput \"http:\/\/api.angel.co\/1\/search?type=MarketTag\",\n crossDomain: true,\n queryParam: \"query\",\n prePopulate: $markets.data('pre'),\n theme: \"facebook\",\n tokenLimit: 3,\n tokenValue: \"name\"\n else if bodyClass is 'startups-index'\n $(\".startupcard\").equalHeights()","subject":"Add equalHeights to Startup cards","message":"Add equalHeights to Startup cards","lang":"CoffeeScript","license":"mit","repos":"SoPR\/sopr-platform,SoPR\/sopr-platform"} {"commit":"3f0e94296245c64ad338623a16f30f717ec04212","old_file":"lib\/image-editor-status-view.coffee","new_file":"lib\/image-editor-status-view.coffee","old_contents":"{$, View} = require 'atom-space-pen-views'\n{CompositeDisposable} = require 'atom'\nImageEditor = require '.\/image-editor'\n\nmodule.exports =\nclass ImageEditorStatusView extends View\n @content: ->\n @div class: 'status-image inline-block', =>\n @span class: 'image-size', outlet: 'imageSizeStatus'\n\n initialize: (@statusBar) ->\n @disposables = new CompositeDisposable\n @attach()\n\n @disposables.add atom.workspace.onDidChangeActivePaneItem => @updateImageSize()\n\n attach: ->\n @statusBar.appendLeft this\n\n attached: ->\n @updateImageSize()\n\n getImageSize: ({originalHeight, originalWidth}) ->\n @imageSizeStatus.text(\"#{originalWidth}x#{originalHeight}\").show()\n\n updateImageSize: ->\n @imageLoadDisposable?.dispose()\n\n editor = atom.workspace.getActivePaneItem()\n if editor instanceof ImageEditor\n @editorView = $(atom.views.getView(editor)).view()\n @getImageSize(@editorView) if @editorView.loaded\n @imageLoadDisposable = @editorView.onDidLoad =>\n if editor is atom.workspace.getActivePaneItem()\n @getImageSize(@editorView)\n else\n @imageSizeStatus.hide()\n","new_contents":"{$, View} = require 'atom-space-pen-views'\n{CompositeDisposable} = require 'atom'\nImageEditor = require '.\/image-editor'\n\nmodule.exports =\nclass ImageEditorStatusView extends View\n @content: ->\n @div class: 'status-image inline-block', =>\n @span class: 'image-size', outlet: 'imageSizeStatus'\n\n initialize: (@statusBar) ->\n @disposables = new CompositeDisposable\n @attach()\n\n @disposables.add atom.workspace.onDidChangeActivePaneItem => @updateImageSize()\n\n attach: ->\n @statusBar.addLeftTile(item: this)\n\n attached: ->\n @updateImageSize()\n\n getImageSize: ({originalHeight, originalWidth}) ->\n @imageSizeStatus.text(\"#{originalWidth}x#{originalHeight}\").show()\n\n updateImageSize: ->\n @imageLoadDisposable?.dispose()\n\n editor = atom.workspace.getActivePaneItem()\n if editor instanceof ImageEditor\n @editorView = $(atom.views.getView(editor)).view()\n @getImageSize(@editorView) if @editorView.loaded\n @imageLoadDisposable = @editorView.onDidLoad =>\n if editor is atom.workspace.getActivePaneItem()\n @getImageSize(@editorView)\n else\n @imageSizeStatus.hide()\n","subject":"Use new status bar tile API","message":"Use new status bar tile API\n","lang":"CoffeeScript","license":"mit","repos":"atom\/image-view"} {"commit":"a1171a497e6dbadfa9c626947c077c6c75352217","old_file":"client\/router.coffee","new_file":"client\/router.coffee","old_contents":"parse_pararms = (querystring) ->\n params = {}\n querystring = querystring.split('&')\n for qs in querystring\n continue if not qs\n pair = qs.split('=')\n params[decodeURIComponent pair[0]] = decodeURIComponent pair[1]\n params\n\nMeteor.Router.add\n '\/': ->\n Session.set('params', parse_pararms @querystring)\n return 'all'\n '\/new': 'new_event'\n '\/login': 'login'\n '\/event\/:title_id': (title_id) ->\n event_id = Events.findOne(title_id: encodeURIComponent(title_id))\n # Backwards compatible: if title_id != exist, assume the url is an event_id\n if not event_id\n event_id = title_id\n Session.set(\"event_id\", event_id)\n return 'event_info'\n '\/user\/:user_id': (user_id) ->\n Session.set(\"user_id\", user_id)\n return 'show_user'\n '\/settings': () -> if Meteor.user() then 'edit_user' else 'login'\n '\/search': (q) ->\n Session.set('params', parse_pararms @querystring)\n return 'search'\n","new_contents":"parse_pararms = (querystring) ->\n params = {}\n querystring = querystring.split('&')\n for qs in querystring\n continue if not qs\n pair = qs.split('=')\n params[decodeURIComponent pair[0]] = decodeURIComponent pair[1]\n params\n\nMeteor.Router.add\n '\/': ->\n Session.set('params', parse_pararms @querystring)\n return 'all'\n '\/new': 'new_event'\n '\/login': 'login'\n '\/event\/:title_id': (title_id) ->\n event_id = Events.findOne(title_id: encodeURIComponent(title_id))\n # Backwards compatible: if title_id does not exist, assume the url is an event_id\n if not event_id\n event_id = title_id\n Session.set(\"event_id\", event_id)\n return 'event_info'\n '\/user\/:user_id': (user_id) ->\n Session.set(\"user_id\", user_id)\n return 'show_user'\n '\/settings': () -> if Meteor.user() then 'edit_user' else 'login'\n '\/search': (q) ->\n Session.set('params', parse_pararms @querystring)\n return 'search'\n","subject":"Clarify wording in comment about routing deprecated event URLs","message":"Clarify wording in comment about routing deprecated event URLs\n","lang":"CoffeeScript","license":"mit","repos":"pennlabs\/eventsatpenn-meteor"} {"commit":"14dca91f3fba869d0783384272b8dfb702476f64","old_file":"protractor.conf.coffee","new_file":"protractor.conf.coffee","old_contents":"config =\n \n seleniumAddress: 'http:\/\/localhost:4444\/wd\/hub'\n \n specs: [\n 'docs\/app\/src\/**\/.coffee'\n ]\n\nmodule.exports = config","new_contents":"config =\n\n seleniumAddress: 'http:\/\/localhost:4444\/wd\/hub'\n\n specs: [\n 'docs\/app\/src\/**\/*.coffee'\n ]\n\nmodule.exports = config","subject":"Fix ptrotractor missing coffee files","message":"Fix ptrotractor missing coffee files\n","lang":"CoffeeScript","license":"mit","repos":"efacilitation\/eventric"} {"commit":"7de9da49ac5353fca4b830d4c83504c524966771","old_file":"components\/inquiry_questionnaire\/views\/inquiry.coffee","new_file":"components\/inquiry_questionnaire\/views\/inquiry.coffee","old_contents":"_ = require 'underscore'\nStepView = require '.\/step.coffee'\nForm = require '..\/..\/form\/index.coffee'\nArtworkInquiry = require '..\/..\/..\/models\/artwork_inquiry.coffee'\ndefaultMessage = require '..\/..\/contact\/default_message.coffee'\ntemplate = -> require('..\/templates\/inquiry.jade') arguments...\n\nmodule.exports = class Inquiry extends StepView\n template: (data) ->\n template _.extend data,\n message: @inquiry.get('message')\n\n __events__:\n 'click button': 'serialize'\n\n serialize: (e) ->\n @inquiry.set\n contact_gallery: true\n anonymous_session_id: @user.related().collectorProfile.get('anonymous_session_id')\n\n form = new Form model: @inquiry, $form: @$('form')\n form.submit e, {}, 'set'\n\n @next()\n","new_contents":"_ = require 'underscore'\nStepView = require '.\/step.coffee'\nForm = require '..\/..\/form\/index.coffee'\nArtworkInquiry = require '..\/..\/..\/models\/artwork_inquiry.coffee'\ndefaultMessage = require '..\/..\/contact\/default_message.coffee'\ntemplate = -> require('..\/templates\/inquiry.jade') arguments...\n\nmodule.exports = class Inquiry extends StepView\n template: (data) ->\n template _.extend data,\n message: @inquiry.get('message')\n\n __events__:\n 'click button': 'serialize'\n\n serialize: (e) ->\n form = new Form model: @inquiry, $form: @$('form')\n return unless form.start()\n e.preventDefault()\n\n @inquiry.set _.extend { contact_gallery: true }, form.data()\n @next()\n","subject":"Handle form validation properly when setting","message":"Handle form validation properly when setting\n","lang":"CoffeeScript","license":"mit","repos":"eessex\/force,cavvia\/force-1,dblock\/force,erikdstock\/force,cavvia\/force-1,joeyAghion\/force,eessex\/force,izakp\/force,artsy\/force-public,eessex\/force,dblock\/force,oxaudo\/force,anandaroop\/force,TribeMedia\/force-public,damassi\/force,damassi\/force,yuki24\/force,mzikherman\/force,oxaudo\/force,cavvia\/force-1,anandaroop\/force,joeyAghion\/force,kanaabe\/force,yuki24\/force,cavvia\/force-1,joeyAghion\/force,artsy\/force,kanaabe\/force,mzikherman\/force,xtina-starr\/force,yuki24\/force,damassi\/force,izakp\/force,xtina-starr\/force,kanaabe\/force,dblock\/force,artsy\/force,izakp\/force,anandaroop\/force,mzikherman\/force,damassi\/force,joeyAghion\/force,artsy\/force,kanaabe\/force,kanaabe\/force,oxaudo\/force,artsy\/force,erikdstock\/force,mzikherman\/force,eessex\/force,oxaudo\/force,xtina-starr\/force,xtina-starr\/force,izakp\/force,erikdstock\/force,erikdstock\/force,anandaroop\/force,yuki24\/force,TribeMedia\/force-public,artsy\/force-public"} {"commit":"d6351d1c7b2128241ed0e48c3c8b0aa835e646b3","old_file":"lib\/utils\/web-entry.cjsx","new_file":"lib\/utils\/web-entry.cjsx","old_contents":"React = require 'react'\nRouter = require 'react-router'\nfind = require 'lodash\/collection\/find'\nfilter = require 'lodash\/collection\/filter'\ncreateRoutes = require 'create-routes'\napp = require 'app'\n\n# TODO add extra file watcher here to reload config when file add\/removed\n# TODO check if this is called when a new file is added. Narrow down problems\nloadConfig = (cb) ->\n stuff = require 'config'\n if module.hot\n module.hot.accept stuff.id, ->\n cb()\n\n cb()\n\nloadConfig ->\n app.loadContext (pagesReq) ->\n {pages, config, relativePath} = require 'config'\n\n routes = createRoutes(pages, pagesReq)\n\n # Remove templates files.\n pages = filter(pages, (page) -> page.path?)\n\n if router\n router.replaceRoutes [app]\n else\n router = Router.run [routes], Router.HistoryLocation, (Handler, state) ->\n page = find pages, (page) -> page.path is state.pathname\n React.render(\n ,\n document?.getElementById(\"react-mount\")\n )\n","new_contents":"React = require 'react'\nRouter = require 'react-router'\nfind = require 'lodash\/collection\/find'\nfilter = require 'lodash\/collection\/filter'\ncreateRoutes = require 'create-routes'\napp = require 'app'\n\n# TODO add extra file watcher here to reload config when file add\/removed\n# TODO check if this is called when a new file is added. Narrow down problems\nloadConfig = (cb) ->\n stuff = require 'config'\n if module.hot\n module.hot.accept stuff.id, ->\n cb()\n\n cb()\n\nloadConfig ->\n app.loadContext (pagesReq) ->\n {pages, config, relativePath} = require 'config'\n\n routes = createRoutes(pages, pagesReq)\n\n # Remove templates files.\n pages = filter(pages, (page) -> page.path?)\n\n # Route already exists meaning we're hot-reloading.\n if router\n router.replaceRoutes [app]\n else\n router = Router.run [routes], Router.HistoryLocation, (Handler, state) ->\n page = find pages, (page) -> page.path is state.pathname\n\n # Let app know the route is changing.\n if app.onRouteChange then app.onRouteChange(state, page, pages, config)\n\n React.render(\n ,\n document?.getElementById(\"react-mount\")\n )\n","subject":"Add hook so sites can respond to route changes","message":"Add hook so sites can respond to route changes\n","lang":"CoffeeScript","license":"mit","repos":"gatsbyjs\/gatsby,mingaldrichgan\/gatsby,mickeyreiss\/gatsby,gesposito\/gatsby,chiedo\/gatsby,chiedo\/gatsby,gatsbyjs\/gatsby,danielfarrell\/gatsby,ChristopherBiscardi\/gatsby,fk\/gatsby,gatsbyjs\/gatsby,Khaledgarbaya\/gatsby,gatsbyjs\/gatsby,0x80\/gatsby,fabrictech\/gatsby,mingaldrichgan\/gatsby,okcoker\/gatsby,Khaledgarbaya\/gatsby,rothfels\/gatsby,shaunstanislaus\/gatsby,HaQadosch\/gatsby,fabrictech\/gatsby,mickeyreiss\/gatsby,aliswodeck\/gatsby,mingaldrichgan\/gatsby,chiedo\/gatsby,ChristopherBiscardi\/gatsby,gesposito\/gatsby,bzero\/gatsby,Khaledgarbaya\/gatsby,kidaa\/gatsby,gatsbyjs\/gatsby,fk\/gatsby,okcoker\/gatsby,0x80\/gatsby,MoOx\/gatsby,domenicosolazzo\/gatsby,gatsbyjs\/gatsby,ChristopherBiscardi\/gatsby,MariusCC\/gatsby,danielfarrell\/gatsby,brianjking\/gatsby,ChristopherBiscardi\/gatsby,danielfarrell\/gatsby,fabrictech\/gatsby,mickeyreiss\/gatsby,lanastasov\/gatsby,rothfels\/gatsby,0x80\/gatsby,Syncano\/gatsby,okcoker\/gatsby,fson\/gatsby,fk\/gatsby,alihalabyah\/gatsby,eriknyk\/gatsby"} {"commit":"f84402c4cfe44ed0ca32cd80053a0beafb293731","old_file":"src\/app\/text-mate-scope-selector.coffee","new_file":"src\/app\/text-mate-scope-selector.coffee","old_contents":"PEG = require 'pegjs'\nfsUtils = require 'fs-utils'\n\nmodule.exports =\nclass TextMateScopeSelector\n @parser: null\n\n @createParser: ->\n unless TextMateScopeSelector.parser?\n patternPath = require.resolve('text-mate-scope-selector-pattern.pegjs')\n TextMateScopeSelector.parser = PEG.buildParser(fsUtils.read(patternPath))\n TextMateScopeSelector.parser\n\n constructor: (@selector) ->\n @matcher = TextMateScopeSelector.createParser().parse(@selector)\n\n matches: (scopes) ->\n @matcher.matches(scopes)\n","new_contents":"PEG = require 'pegjs'\nfsUtils = require 'fs-utils'\n\nmodule.exports =\nclass TextMateScopeSelector\n @parser: null\n\n @createParser: ->\n unless TextMateScopeSelector.parser?\n patternPath = require.resolve('text-mate-scope-selector-pattern.pegjs')\n TextMateScopeSelector.parser = PEG.buildParser(fsUtils.read(patternPath))\n TextMateScopeSelector.parser\n\n source: null\n matcher: null\n\n constructor: (@source) ->\n @matcher = TextMateScopeSelector.createParser().parse(@source)\n\n matches: (scopes) ->\n @matcher.matches(scopes)\n","subject":"Rename selector ivar to source","message":"Rename selector ivar to source\n","lang":"CoffeeScript","license":"mit","repos":"SlimeQ\/atom,abcP9110\/atom,charleswhchan\/atom,0x73\/atom,pengshp\/atom,AlisaKiatkongkumthon\/atom,rlugojr\/atom,n-riesco\/atom,Arcanemagus\/atom,devoncarew\/atom,tjkr\/atom,matthewclendening\/atom,KENJU\/atom,abcP9110\/atom,constanzaurzua\/atom,Jdesk\/atom,jacekkopecky\/atom,alfredxing\/atom,hpham04\/atom,devoncarew\/atom,chfritz\/atom,stuartquin\/atom,liuxiong332\/atom,john-kelly\/atom,crazyquark\/atom,kdheepak89\/atom,sekcheong\/atom,bencolon\/atom,sotayamashita\/atom,jacekkopecky\/atom,kdheepak89\/atom,yomybaby\/atom,gisenberg\/atom,efatsi\/atom,G-Baby\/atom,folpindo\/atom,Abdillah\/atom,Abdillah\/atom,codex8\/atom,kittens\/atom,einarmagnus\/atom,hpham04\/atom,andrewleverette\/atom,kandros\/atom,PKRoma\/atom,qiujuer\/atom,ali\/atom,Ju2ender\/atom,pkdevbox\/atom,jacekkopecky\/atom,palita01\/atom,SlimeQ\/atom,SlimeQ\/atom,daxlab\/atom,vcarrera\/atom,rookie125\/atom,atom\/atom,scv119\/atom,charleswhchan\/atom,harshdattani\/atom,burodepeper\/atom,RobinTec\/atom,kjav\/atom,constanzaurzua\/atom,transcranial\/atom,batjko\/atom,Jdesk\/atom,splodingsocks\/atom,gisenberg\/atom,ironbox360\/atom,n-riesco\/atom,Andrey-Pavlov\/atom,yalexx\/atom,isghe\/atom,burodepeper\/atom,rsvip\/aTom,woss\/atom,Mokolea\/atom,bcoe\/atom,ardeshirj\/atom,vhutheesing\/atom,liuxiong332\/atom,mostafaeweda\/atom,Hasimir\/atom,me-benni\/atom,MjAbuz\/atom,fang-yufeng\/atom,PKRoma\/atom,Hasimir\/atom,champagnez\/atom,johnrizzo1\/atom,Austen-G\/BlockBuilder,avdg\/atom,toqz\/atom,yamhon\/atom,kandros\/atom,ykeisuke\/atom,basarat\/atom,h0dgep0dge\/atom,jeremyramin\/atom,bryonwinger\/atom,dsandstrom\/atom,bradgearon\/atom,AlexxNica\/atom,sekcheong\/atom,ashneo76\/atom,sotayamashita\/atom,dannyflax\/atom,Ju2ender\/atom,acontreras89\/atom,jlord\/atom,Galactix\/atom,alfredxing\/atom,Jandersolutions\/atom,sxgao3001\/atom,abe33\/atom,ironbox360\/atom,vhutheesing\/atom,MjAbuz\/atom,codex8\/atom,erikhakansson\/atom,MjAbuz\/atom,davideg\/atom,yangchenghu\/atom,originye\/atom,alfredxing\/atom,omarhuanca\/atom,batjko\/atom,gisenberg\/atom,Austen-G\/BlockBuilder,panuchart\/atom,stinsonga\/atom,jordanbtucker\/atom,AlbertoBarrago\/atom,johnrizzo1\/atom,kc8wxm\/atom,pombredanne\/atom,john-kelly\/atom,einarmagnus\/atom,FIT-CSE2410-A-Bombs\/atom,elkingtonmcb\/atom,rjattrill\/atom,john-kelly\/atom,splodingsocks\/atom,ezeoleaf\/atom,chengky\/atom,acontreras89\/atom,anuwat121\/atom,abcP9110\/atom,t9md\/atom,wiggzz\/atom,AlbertoBarrago\/atom,ironbox360\/atom,NunoEdgarGub1\/atom,execjosh\/atom,AlisaKiatkongkumthon\/atom,devmario\/atom,Dennis1978\/atom,fscherwi\/atom,sebmck\/atom,RobinTec\/atom,panuchart\/atom,GHackAnonymous\/atom,ppamorim\/atom,avdg\/atom,nvoron23\/atom,prembasumatary\/atom,rlugojr\/atom,liuderchi\/atom,deepfox\/atom,0x73\/atom,Neron-X5\/atom,tony612\/atom,vjeux\/atom,constanzaurzua\/atom,kjav\/atom,pombredanne\/atom,oggy\/atom,sekcheong\/atom,vinodpanicker\/atom,woss\/atom,Jandersolutions\/atom,bryonwinger\/atom,hharchani\/atom,Jandersoft\/atom,bsmr-x-script\/atom,folpindo\/atom,nrodriguez13\/atom,me-benni\/atom,tjkr\/atom,elkingtonmcb\/atom,abcP9110\/atom,sillvan\/atom,me-benni\/atom,brettle\/atom,amine7536\/atom,lovesnow\/atom,Neron-X5\/atom,bsmr-x-script\/atom,hagb4rd\/atom,devoncarew\/atom,originye\/atom,beni55\/atom,Jonekee\/atom,paulcbetts\/atom,lpommers\/atom,jlord\/atom,seedtigo\/atom,jlord\/atom,dijs\/atom,mostafaeweda\/atom,darwin\/atom,targeter21\/atom,elkingtonmcb\/atom,vinodpanicker\/atom,qskycolor\/atom,qiujuer\/atom,chfritz\/atom,Dennis1978\/atom,charleswhchan\/atom,sillvan\/atom,devoncarew\/atom,kevinrenaers\/atom,scippio\/atom,codex8\/atom,Rodjana\/atom,splodingsocks\/atom,sillvan\/atom,Rychard\/atom,sekcheong\/atom,stuartquin\/atom,yamhon\/atom,g2p\/atom,deoxilix\/atom,nvoron23\/atom,johnhaley81\/atom,ilovezy\/atom,tisu2tisu\/atom,execjosh\/atom,Jandersolutions\/atom,omarhuanca\/atom,Shekharrajak\/atom,prembasumatary\/atom,nucked\/atom,fedorov\/atom,CraZySacX\/atom,SlimeQ\/atom,yalexx\/atom,deepfox\/atom,targeter21\/atom,mostafaeweda\/atom,synaptek\/atom,AlexxNica\/atom,jacekkopecky\/atom,folpindo\/atom,dannyflax\/atom,Jandersoft\/atom,Huaraz2\/atom,decaffeinate-examples\/atom,rsvip\/aTom,001szymon\/atom,niklabh\/atom,Jonekee\/atom,decaffeinate-examples\/atom,CraZySacX\/atom,vcarrera\/atom,Jandersolutions\/atom,dijs\/atom,jlord\/atom,davideg\/atom,prembasumatary\/atom,0x73\/atom,gisenberg\/atom,tanin47\/atom,hellendag\/atom,jeremyramin\/atom,toqz\/atom,basarat\/atom,hagb4rd\/atom,palita01\/atom,ivoadf\/atom,vjeux\/atom,rmartin\/atom,tony612\/atom,brumm\/atom,ReddTea\/atom,rjattrill\/atom,fredericksilva\/atom,kdheepak89\/atom,prembasumatary\/atom,yangchenghu\/atom,YunchengLiao\/atom,nvoron23\/atom,hharchani\/atom,liuderchi\/atom,dkfiresky\/atom,FoldingText\/atom,jjz\/atom,devmario\/atom,boomwaiza\/atom,RuiDGoncalves\/atom,sebmck\/atom,Austen-G\/BlockBuilder,n-riesco\/atom,Arcanemagus\/atom,tjkr\/atom,Jonekee\/atom,githubteacher\/atom,RuiDGoncalves\/atom,Arcanemagus\/atom,Dennis1978\/atom,Rodjana\/atom,Ju2ender\/atom,yomybaby\/atom,h0dgep0dge\/atom,Klozz\/atom,sekcheong\/atom,bolinfest\/atom,sxgao3001\/atom,devmario\/atom,harshdattani\/atom,stuartquin\/atom,Klozz\/atom,chengky\/atom,jjz\/atom,mrodalgaard\/atom,anuwat121\/atom,kevinrenaers\/atom,beni55\/atom,Hasimir\/atom,einarmagnus\/atom,tmunro\/atom,medovob\/atom,NunoEdgarGub1\/atom,isghe\/atom,DiogoXRP\/atom,pombredanne\/atom,brumm\/atom,liuderchi\/atom,rsvip\/aTom,fscherwi\/atom,davideg\/atom,gontadu\/atom,g2p\/atom,ObviouslyGreen\/atom,hellendag\/atom,beni55\/atom,codex8\/atom,cyzn\/atom,tony612\/atom,jtrose2\/atom,bcoe\/atom,transcranial\/atom,FoldingText\/atom,niklabh\/atom,fang-yufeng\/atom,vcarrera\/atom,dsandstrom\/atom,vjeux\/atom,h0dgep0dge\/atom,liuxiong332\/atom,gabrielPeart\/atom,bradgearon\/atom,erikhakansson\/atom,RobinTec\/atom,kittens\/atom,ykeisuke\/atom,MjAbuz\/atom,wiggzz\/atom,AdrianVovk\/substance-ide,svanharmelen\/atom,woss\/atom,sebmck\/atom,decaffeinate-examples\/atom,lpommers\/atom,einarmagnus\/atom,Locke23rus\/atom,mnquintana\/atom,Shekharrajak\/atom,gzzhanghao\/atom,ReddTea\/atom,wiggzz\/atom,jtrose2\/atom,chengky\/atom,GHackAnonymous\/atom,RobinTec\/atom,Jdesk\/atom,fedorov\/atom,hharchani\/atom,ivoadf\/atom,Andrey-Pavlov\/atom,kdheepak89\/atom,fedorov\/atom,kaicataldo\/atom,FoldingText\/atom,fedorov\/atom,mrodalgaard\/atom,avdg\/atom,mdumrauf\/atom,Hasimir\/atom,jacekkopecky\/atom,toqz\/atom,gzzhanghao\/atom,Rychard\/atom,sebmck\/atom,kjav\/atom,scv119\/atom,ralphtheninja\/atom,mostafaeweda\/atom,anuwat121\/atom,githubteacher\/atom,yomybaby\/atom,Jdesk\/atom,pombredanne\/atom,ali\/atom,nrodriguez13\/atom,Shekharrajak\/atom,Jandersoft\/atom,xream\/atom,oggy\/atom,einarmagnus\/atom,andrewleverette\/atom,me6iaton\/atom,hakatashi\/atom,crazyquark\/atom,transcranial\/atom,dannyflax\/atom,Klozz\/atom,mertkahyaoglu\/atom,vcarrera\/atom,ykeisuke\/atom,efatsi\/atom,n-riesco\/atom,kevinrenaers\/atom,hharchani\/atom,G-Baby\/atom,xream\/atom,Ju2ender\/atom,kc8wxm\/atom,RobinTec\/atom,medovob\/atom,constanzaurzua\/atom,dkfiresky\/atom,russlescai\/atom,chfritz\/atom,ashneo76\/atom,ivoadf\/atom,brettle\/atom,svanharmelen\/atom,ralphtheninja\/atom,MjAbuz\/atom,Mokolea\/atom,helber\/atom,gzzhanghao\/atom,tisu2tisu\/atom,bcoe\/atom,CraZySacX\/atom,harshdattani\/atom,me6iaton\/atom,Jandersoft\/atom,amine7536\/atom,andrewleverette\/atom,dkfiresky\/atom,ilovezy\/atom,Locke23rus\/atom,yangchenghu\/atom,rmartin\/atom,basarat\/atom,palita01\/atom,pkdevbox\/atom,G-Baby\/atom,ali\/atom,johnhaley81\/atom,hakatashi\/atom,tony612\/atom,sebmck\/atom,me6iaton\/atom,001szymon\/atom,kjav\/atom,qskycolor\/atom,charleswhchan\/atom,nvoron23\/atom,erikhakansson\/atom,brumm\/atom,amine7536\/atom,ReddTea\/atom,stinsonga\/atom,ReddTea\/atom,fang-yufeng\/atom,florianb\/atom,abe33\/atom,ObviouslyGreen\/atom,GHackAnonymous\/atom,phord\/atom,FoldingText\/atom,synaptek\/atom,florianb\/atom,efatsi\/atom,nucked\/atom,BogusCurry\/atom,BogusCurry\/atom,rlugojr\/atom,Shekharrajak\/atom,jjz\/atom,yomybaby\/atom,bradgearon\/atom,scv119\/atom,xream\/atom,atom\/atom,lisonma\/atom,mdumrauf\/atom,Hasimir\/atom,burodepeper\/atom,bj7\/atom,yalexx\/atom,Locke23rus\/atom,hharchani\/atom,nvoron23\/atom,prembasumatary\/atom,FoldingText\/atom,bcoe\/atom,FIT-CSE2410-A-Bombs\/atom,kandros\/atom,isghe\/atom,mnquintana\/atom,lovesnow\/atom,florianb\/atom,pengshp\/atom,kittens\/atom,jtrose2\/atom,rmartin\/atom,Sangaroonaom\/atom,rmartin\/atom,jjz\/atom,ppamorim\/atom,mertkahyaoglu\/atom,matthewclendening\/atom,phord\/atom,lisonma\/atom,nrodriguez13\/atom,rxkit\/atom,sxgao3001\/atom,scippio\/atom,YunchengLiao\/atom,me6iaton\/atom,AlexxNica\/atom,helber\/atom,ali\/atom,abcP9110\/atom,paulcbetts\/atom,Galactix\/atom,qiujuer\/atom,lovesnow\/atom,oggy\/atom,davideg\/atom,pkdevbox\/atom,Ingramz\/atom,Neron-X5\/atom,toqz\/atom,AdrianVovk\/substance-ide,dijs\/atom,yalexx\/atom,gontadu\/atom,liuxiong332\/atom,seedtigo\/atom,ObviouslyGreen\/atom,PKRoma\/atom,russlescai\/atom,omarhuanca\/atom,fredericksilva\/atom,paulcbetts\/atom,dkfiresky\/atom,alexandergmann\/atom,chengky\/atom,hpham04\/atom,Sangaroonaom\/atom,davideg\/atom,lisonma\/atom,Ingramz\/atom,isghe\/atom,johnhaley81\/atom,rsvip\/aTom,NunoEdgarGub1\/atom,mostafaeweda\/atom,darwin\/atom,NunoEdgarGub1\/atom,ezeoleaf\/atom,deoxilix\/atom,matthewclendening\/atom,champagnez\/atom,darwin\/atom,ardeshirj\/atom,jeremyramin\/atom,hakatashi\/atom,pombredanne\/atom,vinodpanicker\/atom,Sangaroonaom\/atom,Austen-G\/BlockBuilder,svanharmelen\/atom,mdumrauf\/atom,liuderchi\/atom,Huaraz2\/atom,ilovezy\/atom,bryonwinger\/atom,ppamorim\/atom,sotayamashita\/atom,dannyflax\/atom,GHackAnonymous\/atom,johnrizzo1\/atom,KENJU\/atom,vinodpanicker\/atom,john-kelly\/atom,boomwaiza\/atom,pengshp\/atom,rmartin\/atom,isghe\/atom,devmario\/atom,BogusCurry\/atom,sxgao3001\/atom,qiujuer\/atom,jtrose2\/atom,fredericksilva\/atom,jtrose2\/atom,qskycolor\/atom,basarat\/atom,h0dgep0dge\/atom,Austen-G\/BlockBuilder,scv119\/atom,vinodpanicker\/atom,Neron-X5\/atom,yomybaby\/atom,Neron-X5\/atom,tmunro\/atom,panuchart\/atom,kc8wxm\/atom,bcoe\/atom,acontreras89\/atom,cyzn\/atom,YunchengLiao\/atom,batjko\/atom,mnquintana\/atom,kaicataldo\/atom,russlescai\/atom,cyzn\/atom,chengky\/atom,brettle\/atom,ilovezy\/atom,oggy\/atom,ashneo76\/atom,dsandstrom\/atom,ppamorim\/atom,KENJU\/atom,YunchengLiao\/atom,lisonma\/atom,gabrielPeart\/atom,Abdillah\/atom,YunchengLiao\/atom,bsmr-x-script\/atom,decaffeinate-examples\/atom,mertkahyaoglu\/atom,alexandergmann\/atom,stinsonga\/atom,ardeshirj\/atom,dannyflax\/atom,jacekkopecky\/atom,rsvip\/aTom,Ingramz\/atom,Abdillah\/atom,rjattrill\/atom,boomwaiza\/atom,yalexx\/atom,targeter21\/atom,qskycolor\/atom,helber\/atom,vjeux\/atom,synaptek\/atom,mertkahyaoglu\/atom,Andrey-Pavlov\/atom,DiogoXRP\/atom,lovesnow\/atom,mnquintana\/atom,gisenberg\/atom,acontreras89\/atom,bencolon\/atom,Ju2ender\/atom,alexandergmann\/atom,ilovezy\/atom,Shekharrajak\/atom,florianb\/atom,Huaraz2\/atom,russlescai\/atom,fang-yufeng\/atom,ReddTea\/atom,vcarrera\/atom,sillvan\/atom,liuxiong332\/atom,constanzaurzua\/atom,vjeux\/atom,daxlab\/atom,SlimeQ\/atom,AlbertoBarrago\/atom,woss\/atom,synaptek\/atom,ralphtheninja\/atom,gabrielPeart\/atom,hellendag\/atom,lpommers\/atom,seedtigo\/atom,ppamorim\/atom,t9md\/atom,g2p\/atom,kdheepak89\/atom,tanin47\/atom,fedorov\/atom,fredericksilva\/atom,t9md\/atom,oggy\/atom,mrodalgaard\/atom,woss\/atom,Andrey-Pavlov\/atom,rxkit\/atom,crazyquark\/atom,champagnez\/atom,kittens\/atom,tmunro\/atom,amine7536\/atom,me6iaton\/atom,gontadu\/atom,hpham04\/atom,medovob\/atom,crazyquark\/atom,Galactix\/atom,mnquintana\/atom,Andrey-Pavlov\/atom,deepfox\/atom,targeter21\/atom,codex8\/atom,omarhuanca\/atom,ezeoleaf\/atom,qiujuer\/atom,FIT-CSE2410-A-Bombs\/atom,matthewclendening\/atom,daxlab\/atom,tisu2tisu\/atom,jjz\/atom,kc8wxm\/atom,githubteacher\/atom,Jandersoft\/atom,KENJU\/atom,dkfiresky\/atom,acontreras89\/atom,bencolon\/atom,fredericksilva\/atom,basarat\/atom,hagb4rd\/atom,RuiDGoncalves\/atom,bj7\/atom,hagb4rd\/atom,charleswhchan\/atom,Abdillah\/atom,0x73\/atom,FoldingText\/atom,tanin47\/atom,deepfox\/atom,Mokolea\/atom,GHackAnonymous\/atom,stinsonga\/atom,abe33\/atom,paulcbetts\/atom,fang-yufeng\/atom,dannyflax\/atom,bryonwinger\/atom,omarhuanca\/atom,jordanbtucker\/atom,ezeoleaf\/atom,toqz\/atom,devmario\/atom,execjosh\/atom,fscherwi\/atom,jordanbtucker\/atom,atom\/atom,rookie125\/atom,Rodjana\/atom,n-riesco\/atom,tony612\/atom,phord\/atom,john-kelly\/atom,rookie125\/atom,nucked\/atom,splodingsocks\/atom,deepfox\/atom,qskycolor\/atom,rjattrill\/atom,kc8wxm\/atom,jlord\/atom,devoncarew\/atom,bolinfest\/atom,Jandersolutions\/atom,kittens\/atom,matthewclendening\/atom,hakatashi\/atom,Austen-G\/BlockBuilder,deoxilix\/atom,KENJU\/atom,crazyquark\/atom,ali\/atom,kjav\/atom,bolinfest\/atom,bj7\/atom,targeter21\/atom,basarat\/atom,synaptek\/atom,originye\/atom,Rychard\/atom,russlescai\/atom,rxkit\/atom,florianb\/atom,DiogoXRP\/atom,hpham04\/atom,001szymon\/atom,vhutheesing\/atom,dsandstrom\/atom,sillvan\/atom,yamhon\/atom,sxgao3001\/atom,Jdesk\/atom,scippio\/atom,hagb4rd\/atom,amine7536\/atom,lisonma\/atom,niklabh\/atom,batjko\/atom,AlisaKiatkongkumthon\/atom,AdrianVovk\/substance-ide,NunoEdgarGub1\/atom,Galactix\/atom,lovesnow\/atom,Galactix\/atom,batjko\/atom,kaicataldo\/atom,dsandstrom\/atom,mertkahyaoglu\/atom"} {"commit":"715594ad6086df24c0be034741489f9cbc524cc4","old_file":"app\/assets\/javascripts\/common.js.coffee","new_file":"app\/assets\/javascripts\/common.js.coffee","old_contents":"initYandexShare = (element) -> setTimeout (() -> Ya.share2(element)), 0\n\n$ ->\n simplemdeId = document.querySelectorAll('.edit_event')[0].id\n\n if simplemdeId?\n new SimpleMDE\n element: document.getElementById(\"event_description\")\n indentWithTabs: false\n promptURLs: true\n spellChecker: false\n autosave:\n enabled: true\n uniqueId: simplemdeId\n\n\n $('.admin-info i.fa').tooltip()\n $('li.participant a').tooltip()\n\n if $('#uuid').length > 0\n uid = document.getElementById('uuid').dataset.userId\n ga('set', '&uid', uid)\n\n $('input#event_started_at').datetimepicker\n language: 'ru'\n minuteStepping: 15\n showToday: true\n sideBySide: true\n icons:\n time: \"fa fa-clock-o\"\n date: \"fa fa-calendar\"\n up: \"fa fa-arrow-up\"\n down: \"fa fa-arrow-down\"\n\n Turbolinks.enableProgressBar()\n\n shares = document.querySelectorAll('.ya-share2')\n sharesInitialized = document.querySelectorAll('.ya-share2_inited')\n\n if shares.length > 0 and sharesInitialized.length is 0\n Array.from(shares).forEach (element) -> initYandexShare(element)\n\n","new_contents":"initYandexShare = (element) -> setTimeout (() -> Ya.share2(element)), 0\n\n$ ->\n simplemdeId = document.querySelectorAll('.edit_event')[0]?.id\n simplemdeId ||= document.getElementById('new_event')?.id\n\n if simplemdeId?\n new SimpleMDE\n element: document.getElementById(\"event_description\")\n indentWithTabs: false\n promptURLs: true\n spellChecker: false\n autosave:\n enabled: true\n deplay: 3\n uniqueId: simplemdeId\n\n\n $('.admin-info i.fa').tooltip()\n $('li.participant a').tooltip()\n\n if $('#uuid').length > 0\n uid = document.getElementById('uuid').dataset.userId\n ga('set', '&uid', uid)\n\n $('input#event_started_at').datetimepicker\n language: 'ru'\n minuteStepping: 15\n showToday: true\n sideBySide: true\n icons:\n time: \"fa fa-clock-o\"\n date: \"fa fa-calendar\"\n up: \"fa fa-arrow-up\"\n down: \"fa fa-arrow-down\"\n\n Turbolinks.enableProgressBar()\n\n shares = document.querySelectorAll('.ya-share2')\n sharesInitialized = document.querySelectorAll('.ya-share2_inited')\n\n if shares.length > 0 and sharesInitialized.length is 0\n Array.from(shares).forEach (element) -> initYandexShare(element)\n\n","subject":"Fix md editor on event creation","message":"Fix md editor on event creation\n","lang":"CoffeeScript","license":"mit","repos":"NNRUG\/it52-rails,NNRUG\/it52-rails,NNRUG\/it52-rails,NNRUG\/it52-rails,NNRUG\/it52-rails"} {"commit":"de41e7a3da92d6f3ef9ad608732ef96c9019724a","old_file":"app\/assets\/javascripts\/commits.js.coffee","new_file":"app\/assets\/javascripts\/commits.js.coffee","old_contents":"class CommitsList\n @data =\n ref: null\n limit: 0\n offset: 0\n @disable = false\n\n @showProgress: ->\n $('.loading').show()\n\n @hideProgress: ->\n $('.loading').hide()\n\n @init: (ref, limit) ->\n $(\".day-commits-table li.commit\").live 'click', (event) ->\n if event.target.nodeName != \"A\"\n location.href = $(this).attr(\"url\")\n e.stopPropagation()\n return false\n\n @data.ref = ref\n @data.limit = limit\n @data.offset = limit\n\n this.initLoadMore()\n this.showProgress()\n\n @getOld: ->\n this.showProgress()\n $.ajax\n type: \"GET\"\n url: location.href\n data: @data\n complete: this.hideProgress\n success: (data) ->\n CommitsList.append(data.count, data.html)\n dataType: \"json\"\n\n @append: (count, html) ->\n $(\"#commits-list\").append(html)\n if count > 0\n @data.offset += count\n else\n @disable = true\n\n @initLoadMore: ->\n $(document).unbind('scroll')\n $(document).endlessScroll\n bottomPixels: 400\n fireDelay: 1000\n fireOnce: true\n ceaseFire: =>\n @disable\n callback: =>\n this.getOld()\n\nthis.CommitsList = CommitsList\n","new_contents":"class CommitsList\n @data =\n ref: null\n limit: 0\n offset: 0\n @disable = false\n\n @showProgress: ->\n $('.loading').show()\n\n @hideProgress: ->\n $('.loading').hide()\n\n @init: (ref, limit) ->\n $(\"body\").on \"click\", \".day-commits-table li.commit\", (event) ->\n if event.target.nodeName != \"A\"\n location.href = $(this).attr(\"url\")\n e.stopPropagation()\n return false\n\n @data.ref = ref\n @data.limit = limit\n @data.offset = limit\n\n this.initLoadMore()\n this.showProgress()\n\n @getOld: ->\n this.showProgress()\n $.ajax\n type: \"GET\"\n url: location.href\n data: @data\n complete: this.hideProgress\n success: (data) ->\n CommitsList.append(data.count, data.html)\n dataType: \"json\"\n\n @append: (count, html) ->\n $(\"#commits-list\").append(html)\n if count > 0\n @data.offset += count\n else\n @disable = true\n\n @initLoadMore: ->\n $(document).unbind('scroll')\n $(document).endlessScroll\n bottomPixels: 400\n fireDelay: 1000\n fireOnce: true\n ceaseFire: =>\n @disable\n callback: =>\n this.getOld()\n\nthis.CommitsList = CommitsList\n","subject":"Replace jquery deprecated .live with .on","message":"Replace jquery deprecated .live with .on\n","lang":"CoffeeScript","license":"mit","repos":"ksoichiro\/gitlabhq,ksoichiro\/gitlabhq,kotaro-dev\/gitlab-6-9,ksoichiro\/gitlabhq,kotaro-dev\/gitlab-6-9,kotaro-dev\/gitlab-6-9,ksoichiro\/gitlabhq"} {"commit":"aca0ba79acc90c3a212e3dc4d7c86c3ad1f43e63","old_file":"app\/assets\/utensils\/detect\/detect.coffee","new_file":"app\/assets\/utensils\/detect\/detect.coffee","old_contents":"#= require utensils\/utensils\n\nclass utensils.Detect\n\n # Describes browser detection for transition end events\n # utensils.Detect.transition.end\n # utensils.Detect.hasTransition\n @transition = (=>\n transitionEnd = (->\n el = document.createElement(\"tranny\")\n transEndEventNames =\n WebkitTransition: \"webkitTransitionEnd\"\n MozTransition: \"transitionend\"\n OTransition: \"oTransitionEnd\"\n msTransition: \"MSTransitionEnd\"\n transition: \"transitionend\"\n name = undefined\n for name of transEndEventNames\n return transEndEventNames[name] if el.style[name] isnt `undefined`\n )()\n @hasTransition = if transitionEnd then true else false\n return {end: transitionEnd ?= false}\n )()\n\n","new_contents":"#= require utensils\/utensils\n\nclass utensils.Detect\n\n # Describes browser detection for transition end events\n # utensils.Detect.transition.end\n # utensils.Detect.hasTransition\n @transition = (=>\n transitionEnd = (->\n el = document.createElement(\"tranny\")\n transEndEventNames =\n WebkitTransition: \"webkitTransitionEnd\"\n MozTransition: \"transitionend\"\n transition: \"transitionend\"\n name = undefined\n for name of transEndEventNames\n return transEndEventNames[name] if el.style[name] isnt `undefined`\n )()\n @hasTransition = if transitionEnd then true else false\n return {end: transitionEnd ?= false}\n )()\n\n","subject":"Remove transition end for MS and Opera","message":"Remove transition end for MS and Opera\n\nMS has moved to the standard and Opera is moving to blink","lang":"CoffeeScript","license":"mit","repos":"modeset\/utensils,modeset\/utensils,modeset\/utensils"} {"commit":"f3a20bdc85358944a6c03e4701659f55d039c4b6","old_file":"coffee\/cilantro\/ui\/concept\/search.coffee","new_file":"coffee\/cilantro\/ui\/concept\/search.coffee","old_contents":"define [\n '..\/core'\n '..\/search'\n], (c, search)->\n\n # Takes a collection of concepts to filter\/get the concept model instances\n # for rendering\n class ConceptSearch extends search.Search\n className: 'concept-search search'\n\n events:\n 'input typeahead:selected': 'focusConcept'\n\n options: ->\n url = c.data.concepts.url()\n\n return {\n name: 'Concepts'\n valueKey: 'name'\n limit: 10\n remote:\n url: \"#{ url }?query=%QUERY&brief=1\"\n filter: (resp) =>\n datums = []\n c._.each resp, (datum) =>\n if @collection.get(datum.id)\n datums.push(datum)\n return datums\n }\n\n focusConcept: (event, datum) ->\n c.publish c.CONCEPT_FOCUS, datum.id\n\n\n { ConceptSearch }\n","new_contents":"define [\n '..\/core'\n '..\/search'\n], (c, search)->\n\n # Takes a collection of concepts to filter\/get the concept model instances\n # for rendering\n class ConceptSearch extends search.Search\n className: 'concept-search search'\n\n events:\n 'typeahead:selected input': 'focusConcept'\n 'typeahead:autocompleted input': 'focusConcept'\n\n options: ->\n url = c.data.concepts.url()\n\n return {\n name: 'Concepts'\n valueKey: 'name'\n limit: 10\n remote:\n url: \"#{ url }?query=%QUERY&brief=1\"\n filter: (resp) =>\n datums = []\n c._.each resp, (datum) =>\n if @collection.get(datum.id)\n datums.push(datum)\n return datums\n }\n\n focusConcept: (event, datum) ->\n c.publish c.CONCEPT_FOCUS, datum.id\n\n\n { ConceptSearch }\n","subject":"Fix reversed events hash for ConceptSearch, add autocomplete handler","message":"Fix reversed events hash for ConceptSearch, add autocomplete handler\n","lang":"CoffeeScript","license":"bsd-2-clause","repos":"chop-dbhi\/cilantro,chop-dbhi\/cilantro,chop-dbhi\/cilantro"} {"commit":"b6e92f815ee73283590865c06f41ae840169b1a2","old_file":"spec\/header-cells\/string-cell-spec.coffee","new_file":"spec\/header-cells\/string-cell-spec.coffee","old_contents":"describe 'HeaderCells StringCell', ->\n HeaderCell = require '..\/..\/lib\/javascripts\/header-cells\/string-cell'\n\n initView = ({ model } = {}) ->\n model ?= new Backbone.Model label: 'header cell label'\n new HeaderCell { model }\n\n showView = ->\n initView(arguments...).render()\n\n it 'renders the label', ->\n expect(showView().$el).toHaveText 'header cell label'\n\n it 'has a className', ->\n expect(showView().$el).toHaveClass 'string-cell'\n","new_contents":"describe 'HeaderCells StringCell', ->\n HeaderCell = require '..\/..\/lib\/javascripts\/header-cells\/string-cell'\n\n initView = ({ model } = {}) ->\n model ?= new Backbone.Model label: 'header cell label'\n new HeaderCell { model }\n\n showView = ->\n initView(arguments...).render()\n\n it 'renders the label', ->\n expect(showView().$el).toHaveText 'header cell label'\n\n it 'has a className', ->\n expect(showView().$el).toHaveClass 'header-cells-string-cell'\n","subject":"Fix header cells string cell className spec","message":"Fix header cells string cell className spec\n","lang":"CoffeeScript","license":"mit","repos":"juanca\/marionette-tree,juanca\/marionette-tree"} {"commit":"6e83c10e0ef2732e48cf6cf895a7fee308212e59","old_file":"src\/coffee\/cilantro\/models\/query.coffee","new_file":"src\/coffee\/cilantro\/models\/query.coffee","old_contents":"define [\n '..\/core'\n '.\/base'\n], (c, base) ->\n\n class QueryModel extends base.Model\n parse: (attrs) ->\n if attrs? and not attrs.shared_users?\n attrs.shared_users = []\n\n return attrs\n\n class QueryCollection extends base.Collection\n model: QueryModel\n\n url: ->\n c.session.url('queries')\n\n initialize: ->\n super\n c.subscribe c.SESSION_OPENED, => @fetch(reset: true)\n c.subscribe c.SESSION_CLOSE, => @reset()\n\n\n class SharedQueryCollection extends QueryCollection\n url: ->\n c.session.url('shared_queries')\n\n initialize: ->\n super\n\n @on 'reset', ->\n c.promiser.resolve('shared_queries')\n\n\n { QueryModel, QueryCollection, SharedQueryCollection }\n","new_contents":"define [\n '..\/core'\n '.\/base'\n], (c, base) ->\n\n class QueryModel extends base.Model\n parse: (attrs) ->\n super\n\n if attrs? and not attrs.shared_users?\n attrs.shared_users = []\n\n return attrs\n\n class QueryCollection extends base.Collection\n model: QueryModel\n\n url: ->\n c.session.url('queries')\n\n initialize: ->\n super\n c.subscribe c.SESSION_OPENED, => @fetch(reset: true)\n c.subscribe c.SESSION_CLOSE, => @reset()\n\n\n class SharedQueryCollection extends QueryCollection\n url: ->\n c.session.url('shared_queries')\n\n initialize: ->\n super\n\n @on 'reset', ->\n c.promiser.resolve('shared_queries')\n\n\n { QueryModel, QueryCollection, SharedQueryCollection }\n","subject":"Add call to super in QueryModel parse() method","message":"Add call to super in QueryModel parse() method\n","lang":"CoffeeScript","license":"bsd-2-clause","repos":"chop-dbhi\/cilantro,chop-dbhi\/cilantro,chop-dbhi\/cilantro"} {"commit":"e25aece700363a318c903a37bdc43001bdd02d17","old_file":"src\/app\/repository-status-handler.coffee","new_file":"src\/app\/repository-status-handler.coffee","old_contents":"Git = require 'git-utils'\nfsUtils = require 'fs-utils'\npath = require 'path'\n\nmodule.exports =\n loadStatuses: (repoPath) ->\n repo = Git.open(repoPath)\n if repo?\n workingDirectoryPath = repo.getWorkingDirectory()\n statuses = {}\n for path, status of repo.getStatus()\n statuses[path.join(workingDirectoryPath, path)] = status\n upstream = repo.getAheadBehindCount()\n repo.release()\n else\n upstream = {}\n statuses = {}\n\n callTaskMethod('statusesLoaded', {statuses, upstream})\n","new_contents":"Git = require 'git-utils'\nfsUtils = require 'fs-utils'\npath = require 'path'\n\nmodule.exports =\n loadStatuses: (repoPath) ->\n repo = Git.open(repoPath)\n if repo?\n workingDirectoryPath = repo.getWorkingDirectory()\n statuses = {}\n for filePath, status of repo.getStatus()\n statuses[path.join(workingDirectoryPath, filePath)] = status\n upstream = repo.getAheadBehindCount()\n repo.release()\n else\n upstream = {}\n statuses = {}\n\n callTaskMethod('statusesLoaded', {statuses, upstream})\n","subject":"Use filePath instead of path as variable name","message":"Use filePath instead of path as variable name\n","lang":"CoffeeScript","license":"mit","repos":"yalexx\/atom,deoxilix\/atom,chfritz\/atom,ppamorim\/atom,Galactix\/atom,woss\/atom,lpommers\/atom,liuderchi\/atom,mdumrauf\/atom,seedtigo\/atom,kc8wxm\/atom,devmario\/atom,rlugojr\/atom,chengky\/atom,helber\/atom,seedtigo\/atom,DiogoXRP\/atom,Abdillah\/atom,acontreras89\/atom,Klozz\/atom,Austen-G\/BlockBuilder,vjeux\/atom,brumm\/atom,yalexx\/atom,RuiDGoncalves\/atom,transcranial\/atom,Neron-X5\/atom,nvoron23\/atom,einarmagnus\/atom,acontreras89\/atom,targeter21\/atom,bradgearon\/atom,ali\/atom,oggy\/atom,RobinTec\/atom,sxgao3001\/atom,dannyflax\/atom,deepfox\/atom,dsandstrom\/atom,gisenberg\/atom,andrewleverette\/atom,Shekharrajak\/atom,splodingsocks\/atom,devoncarew\/atom,nvoron23\/atom,yangchenghu\/atom,omarhuanca\/atom,n-riesco\/atom,qskycolor\/atom,sillvan\/atom,yomybaby\/atom,tmunro\/atom,bsmr-x-script\/atom,hagb4rd\/atom,mnquintana\/atom,toqz\/atom,daxlab\/atom,dkfiresky\/atom,russlescai\/atom,Jandersoft\/atom,bcoe\/atom,ironbox360\/atom,hagb4rd\/atom,originye\/atom,deoxilix\/atom,brumm\/atom,h0dgep0dge\/atom,RuiDGoncalves\/atom,ardeshirj\/atom,AdrianVovk\/substance-ide,fedorov\/atom,bradgearon\/atom,G-Baby\/atom,johnrizzo1\/atom,niklabh\/atom,batjko\/atom,einarmagnus\/atom,liuxiong332\/atom,kittens\/atom,hharchani\/atom,sebmck\/atom,h0dgep0dge\/atom,paulcbetts\/atom,0x73\/atom,Jdesk\/atom,Sangaroonaom\/atom,fedorov\/atom,sekcheong\/atom,Abdillah\/atom,scv119\/atom,basarat\/atom,vhutheesing\/atom,yangchenghu\/atom,targeter21\/atom,mnquintana\/atom,pombredanne\/atom,splodingsocks\/atom,codex8\/atom,harshdattani\/atom,jlord\/atom,hakatashi\/atom,gabrielPeart\/atom,davideg\/atom,wiggzz\/atom,SlimeQ\/atom,jlord\/atom,NunoEdgarGub1\/atom,kjav\/atom,Galactix\/atom,G-Baby\/atom,ivoadf\/atom,ykeisuke\/atom,sotayamashita\/atom,Ju2ender\/atom,BogusCurry\/atom,AlisaKiatkongkumthon\/atom,darwin\/atom,stuartquin\/atom,palita01\/atom,abcP9110\/atom,dkfiresky\/atom,abcP9110\/atom,gisenberg\/atom,mertkahyaoglu\/atom,execjosh\/atom,kdheepak89\/atom,Jdesk\/atom,matthewclendening\/atom,basarat\/atom,crazyquark\/atom,Shekharrajak\/atom,gisenberg\/atom,john-kelly\/atom,medovob\/atom,FIT-CSE2410-A-Bombs\/atom,ivoadf\/atom,GHackAnonymous\/atom,paulcbetts\/atom,me-benni\/atom,batjko\/atom,Neron-X5\/atom,Ingramz\/atom,oggy\/atom,ali\/atom,panuchart\/atom,devoncarew\/atom,ashneo76\/atom,oggy\/atom,sillvan\/atom,vcarrera\/atom,t9md\/atom,Rodjana\/atom,MjAbuz\/atom,gabrielPeart\/atom,mrodalgaard\/atom,andrewleverette\/atom,stinsonga\/atom,mrodalgaard\/atom,AdrianVovk\/substance-ide,paulcbetts\/atom,john-kelly\/atom,codex8\/atom,ironbox360\/atom,Ju2ender\/atom,jlord\/atom,h0dgep0dge\/atom,Rodjana\/atom,bcoe\/atom,ReddTea\/atom,yomybaby\/atom,charleswhchan\/atom,medovob\/atom,florianb\/atom,sebmck\/atom,florianb\/atom,Andrey-Pavlov\/atom,Klozz\/atom,synaptek\/atom,me6iaton\/atom,omarhuanca\/atom,Klozz\/atom,Dennis1978\/atom,fredericksilva\/atom,sotayamashita\/atom,ykeisuke\/atom,jordanbtucker\/atom,brettle\/atom,Shekharrajak\/atom,yomybaby\/atom,kdheepak89\/atom,ivoadf\/atom,basarat\/atom,bradgearon\/atom,g2p\/atom,vcarrera\/atom,sillvan\/atom,tisu2tisu\/atom,sxgao3001\/atom,scippio\/atom,seedtigo\/atom,lisonma\/atom,Ju2ender\/atom,bj7\/atom,yomybaby\/atom,einarmagnus\/atom,dsandstrom\/atom,rookie125\/atom,kdheepak89\/atom,liuxiong332\/atom,Huaraz2\/atom,Abdillah\/atom,ppamorim\/atom,Sangaroonaom\/atom,qskycolor\/atom,githubteacher\/atom,johnhaley81\/atom,AlisaKiatkongkumthon\/atom,isghe\/atom,matthewclendening\/atom,tanin47\/atom,fang-yufeng\/atom,n-riesco\/atom,xream\/atom,gabrielPeart\/atom,brettle\/atom,kdheepak89\/atom,kandros\/atom,beni55\/atom,YunchengLiao\/atom,t9md\/atom,mostafaeweda\/atom,kjav\/atom,0x73\/atom,Dennis1978\/atom,davideg\/atom,abe33\/atom,mnquintana\/atom,Hasimir\/atom,dannyflax\/atom,jacekkopecky\/atom,toqz\/atom,Sangaroonaom\/atom,lisonma\/atom,KENJU\/atom,basarat\/atom,abcP9110\/atom,fang-yufeng\/atom,folpindo\/atom,vinodpanicker\/atom,deepfox\/atom,pombredanne\/atom,crazyquark\/atom,decaffeinate-examples\/atom,mostafaeweda\/atom,woss\/atom,MjAbuz\/atom,Rychard\/atom,liuderchi\/atom,john-kelly\/atom,bolinfest\/atom,kaicataldo\/atom,rsvip\/aTom,jacekkopecky\/atom,Jdesk\/atom,davideg\/atom,BogusCurry\/atom,prembasumatary\/atom,dijs\/atom,Jandersoft\/atom,hagb4rd\/atom,SlimeQ\/atom,jtrose2\/atom,beni55\/atom,hharchani\/atom,jacekkopecky\/atom,jtrose2\/atom,sotayamashita\/atom,constanzaurzua\/atom,GHackAnonymous\/atom,jjz\/atom,ykeisuke\/atom,Neron-X5\/atom,yamhon\/atom,devoncarew\/atom,charleswhchan\/atom,bsmr-x-script\/atom,atom\/atom,mrodalgaard\/atom,vinodpanicker\/atom,sxgao3001\/atom,Huaraz2\/atom,transcranial\/atom,johnrizzo1\/atom,phord\/atom,DiogoXRP\/atom,ObviouslyGreen\/atom,Jandersolutions\/atom,pkdevbox\/atom,rlugojr\/atom,nvoron23\/atom,stinsonga\/atom,mnquintana\/atom,johnhaley81\/atom,ilovezy\/atom,scv119\/atom,folpindo\/atom,Ingramz\/atom,prembasumatary\/atom,me6iaton\/atom,sekcheong\/atom,ppamorim\/atom,rsvip\/aTom,svanharmelen\/atom,Andrey-Pavlov\/atom,fedorov\/atom,wiggzz\/atom,ezeoleaf\/atom,jordanbtucker\/atom,Andrey-Pavlov\/atom,n-riesco\/atom,vinodpanicker\/atom,omarhuanca\/atom,jordanbtucker\/atom,phord\/atom,anuwat121\/atom,qskycolor\/atom,nucked\/atom,AlexxNica\/atom,vcarrera\/atom,fang-yufeng\/atom,ezeoleaf\/atom,gzzhanghao\/atom,basarat\/atom,t9md\/atom,einarmagnus\/atom,yalexx\/atom,bcoe\/atom,alfredxing\/atom,mostafaeweda\/atom,palita01\/atom,dannyflax\/atom,liuderchi\/atom,cyzn\/atom,hpham04\/atom,Jandersolutions\/atom,tmunro\/atom,ObviouslyGreen\/atom,rjattrill\/atom,qiujuer\/atom,qskycolor\/atom,Galactix\/atom,CraZySacX\/atom,hharchani\/atom,Rychard\/atom,cyzn\/atom,Ju2ender\/atom,sxgao3001\/atom,transcranial\/atom,dsandstrom\/atom,BogusCurry\/atom,omarhuanca\/atom,harshdattani\/atom,russlescai\/atom,rxkit\/atom,mertkahyaoglu\/atom,kc8wxm\/atom,elkingtonmcb\/atom,kjav\/atom,abcP9110\/atom,amine7536\/atom,jeremyramin\/atom,kc8wxm\/atom,russlescai\/atom,0x73\/atom,synaptek\/atom,nucked\/atom,burodepeper\/atom,me-benni\/atom,brettle\/atom,bolinfest\/atom,florianb\/atom,me6iaton\/atom,scippio\/atom,amine7536\/atom,oggy\/atom,ilovezy\/atom,stuartquin\/atom,sebmck\/atom,me6iaton\/atom,ali\/atom,AlbertoBarrago\/atom,charleswhchan\/atom,kc8wxm\/atom,Jonekee\/atom,Huaraz2\/atom,anuwat121\/atom,SlimeQ\/atom,scv119\/atom,batjko\/atom,hpham04\/atom,deoxilix\/atom,tisu2tisu\/atom,yamhon\/atom,champagnez\/atom,alexandergmann\/atom,kdheepak89\/atom,FoldingText\/atom,yomybaby\/atom,acontreras89\/atom,tmunro\/atom,crazyquark\/atom,dkfiresky\/atom,alexandergmann\/atom,liuxiong332\/atom,kjav\/atom,chengky\/atom,Hasimir\/atom,vinodpanicker\/atom,rsvip\/aTom,nrodriguez13\/atom,florianb\/atom,vjeux\/atom,kaicataldo\/atom,einarmagnus\/atom,devoncarew\/atom,bcoe\/atom,chfritz\/atom,kandros\/atom,Arcanemagus\/atom,boomwaiza\/atom,jeremyramin\/atom,ReddTea\/atom,dannyflax\/atom,Austen-G\/BlockBuilder,AlbertoBarrago\/atom,hpham04\/atom,sebmck\/atom,splodingsocks\/atom,Arcanemagus\/atom,001szymon\/atom,hagb4rd\/atom,gontadu\/atom,chengky\/atom,palita01\/atom,splodingsocks\/atom,paulcbetts\/atom,devoncarew\/atom,ralphtheninja\/atom,Shekharrajak\/atom,Locke23rus\/atom,darwin\/atom,NunoEdgarGub1\/atom,sillvan\/atom,PKRoma\/atom,me6iaton\/atom,rjattrill\/atom,mnquintana\/atom,alexandergmann\/atom,hagb4rd\/atom,john-kelly\/atom,NunoEdgarGub1\/atom,Jandersolutions\/atom,Jdesk\/atom,batjko\/atom,stinsonga\/atom,jlord\/atom,FoldingText\/atom,hharchani\/atom,vjeux\/atom,tony612\/atom,lovesnow\/atom,brumm\/atom,bj7\/atom,prembasumatary\/atom,AlisaKiatkongkumthon\/atom,johnrizzo1\/atom,rjattrill\/atom,MjAbuz\/atom,Austen-G\/BlockBuilder,Andrey-Pavlov\/atom,qiujuer\/atom,pombredanne\/atom,folpindo\/atom,Jdesk\/atom,hharchani\/atom,ardeshirj\/atom,andrewleverette\/atom,isghe\/atom,bryonwinger\/atom,phord\/atom,oggy\/atom,Arcanemagus\/atom,sekcheong\/atom,johnhaley81\/atom,FoldingText\/atom,tjkr\/atom,CraZySacX\/atom,beni55\/atom,atom\/atom,deepfox\/atom,vhutheesing\/atom,avdg\/atom,rookie125\/atom,rmartin\/atom,fscherwi\/atom,yalexx\/atom,originye\/atom,Hasimir\/atom,githubteacher\/atom,florianb\/atom,ralphtheninja\/atom,liuderchi\/atom,h0dgep0dge\/atom,bsmr-x-script\/atom,qiujuer\/atom,ashneo76\/atom,rmartin\/atom,hakatashi\/atom,yangchenghu\/atom,jjz\/atom,avdg\/atom,RobinTec\/atom,chengky\/atom,pombredanne\/atom,panuchart\/atom,KENJU\/atom,pkdevbox\/atom,nrodriguez13\/atom,nucked\/atom,boomwaiza\/atom,Galactix\/atom,bencolon\/atom,PKRoma\/atom,decaffeinate-examples\/atom,pengshp\/atom,mdumrauf\/atom,AlexxNica\/atom,constanzaurzua\/atom,scippio\/atom,jtrose2\/atom,niklabh\/atom,ppamorim\/atom,kittens\/atom,Andrey-Pavlov\/atom,omarhuanca\/atom,pombredanne\/atom,AlexxNica\/atom,bryonwinger\/atom,cyzn\/atom,champagnez\/atom,darwin\/atom,niklabh\/atom,crazyquark\/atom,RobinTec\/atom,scv119\/atom,kevinrenaers\/atom,execjosh\/atom,gontadu\/atom,jacekkopecky\/atom,sebmck\/atom,SlimeQ\/atom,elkingtonmcb\/atom,rxkit\/atom,xream\/atom,Abdillah\/atom,gzzhanghao\/atom,constanzaurzua\/atom,tanin47\/atom,boomwaiza\/atom,targeter21\/atom,kittens\/atom,dsandstrom\/atom,originye\/atom,FIT-CSE2410-A-Bombs\/atom,PKRoma\/atom,jjz\/atom,Jonekee\/atom,daxlab\/atom,lisonma\/atom,pengshp\/atom,hellendag\/atom,bryonwinger\/atom,decaffeinate-examples\/atom,stuartquin\/atom,constanzaurzua\/atom,rxkit\/atom,svanharmelen\/atom,isghe\/atom,dijs\/atom,ardeshirj\/atom,davideg\/atom,nvoron23\/atom,erikhakansson\/atom,liuxiong332\/atom,n-riesco\/atom,chfritz\/atom,Jonekee\/atom,devmario\/atom,codex8\/atom,fscherwi\/atom,devmario\/atom,lpommers\/atom,toqz\/atom,CraZySacX\/atom,abe33\/atom,rjattrill\/atom,alfredxing\/atom,fredericksilva\/atom,alfredxing\/atom,YunchengLiao\/atom,rookie125\/atom,charleswhchan\/atom,vcarrera\/atom,atom\/atom,rmartin\/atom,vinodpanicker\/atom,jjz\/atom,FIT-CSE2410-A-Bombs\/atom,ironbox360\/atom,toqz\/atom,tony612\/atom,ali\/atom,ilovezy\/atom,deepfox\/atom,Neron-X5\/atom,me-benni\/atom,jacekkopecky\/atom,AdrianVovk\/substance-ide,fang-yufeng\/atom,Austen-G\/BlockBuilder,jjz\/atom,pengshp\/atom,helber\/atom,synaptek\/atom,FoldingText\/atom,batjko\/atom,acontreras89\/atom,Locke23rus\/atom,DiogoXRP\/atom,constanzaurzua\/atom,mostafaeweda\/atom,rmartin\/atom,Locke23rus\/atom,panuchart\/atom,matthewclendening\/atom,fedorov\/atom,medovob\/atom,amine7536\/atom,fang-yufeng\/atom,svanharmelen\/atom,kevinrenaers\/atom,avdg\/atom,ezeoleaf\/atom,prembasumatary\/atom,lovesnow\/atom,KENJU\/atom,stinsonga\/atom,isghe\/atom,efatsi\/atom,davideg\/atom,kittens\/atom,lovesnow\/atom,tanin47\/atom,gisenberg\/atom,hellendag\/atom,dijs\/atom,burodepeper\/atom,jtrose2\/atom,efatsi\/atom,fscherwi\/atom,devmario\/atom,mostafaeweda\/atom,Ingramz\/atom,tisu2tisu\/atom,lisonma\/atom,Jandersoft\/atom,kandros\/atom,RuiDGoncalves\/atom,hellendag\/atom,jeremyramin\/atom,Jandersolutions\/atom,hpham04\/atom,vjeux\/atom,ppamorim\/atom,harshdattani\/atom,githubteacher\/atom,ali\/atom,russlescai\/atom,pkdevbox\/atom,tony612\/atom,tjkr\/atom,jacekkopecky\/atom,bcoe\/atom,fredericksilva\/atom,Neron-X5\/atom,GHackAnonymous\/atom,tjkr\/atom,chengky\/atom,efatsi\/atom,ObviouslyGreen\/atom,tony612\/atom,Austen-G\/BlockBuilder,ReddTea\/atom,basarat\/atom,qskycolor\/atom,isghe\/atom,Abdillah\/atom,Dennis1978\/atom,lisonma\/atom,toqz\/atom,qiujuer\/atom,g2p\/atom,gontadu\/atom,Jandersoft\/atom,Mokolea\/atom,Hasimir\/atom,qiujuer\/atom,lpommers\/atom,dkfiresky\/atom,erikhakansson\/atom,kittens\/atom,woss\/atom,abe33\/atom,burodepeper\/atom,jlord\/atom,liuxiong332\/atom,woss\/atom,Rychard\/atom,RobinTec\/atom,KENJU\/atom,targeter21\/atom,synaptek\/atom,vcarrera\/atom,russlescai\/atom,lovesnow\/atom,hakatashi\/atom,Austen-G\/BlockBuilder,matthewclendening\/atom,Jandersoft\/atom,dannyflax\/atom,n-riesco\/atom,xream\/atom,bryonwinger\/atom,targeter21\/atom,bolinfest\/atom,fredericksilva\/atom,erikhakansson\/atom,ReddTea\/atom,ilovezy\/atom,kaicataldo\/atom,Shekharrajak\/atom,Mokolea\/atom,jtrose2\/atom,bj7\/atom,ReddTea\/atom,codex8\/atom,ilovezy\/atom,acontreras89\/atom,0x73\/atom,anuwat121\/atom,dsandstrom\/atom,hpham04\/atom,nvoron23\/atom,mdumrauf\/atom,ezeoleaf\/atom,dkfiresky\/atom,devmario\/atom,kjav\/atom,gzzhanghao\/atom,yamhon\/atom,elkingtonmcb\/atom,GHackAnonymous\/atom,hakatashi\/atom,MjAbuz\/atom,lovesnow\/atom,FoldingText\/atom,Hasimir\/atom,deepfox\/atom,SlimeQ\/atom,G-Baby\/atom,rmartin\/atom,MjAbuz\/atom,YunchengLiao\/atom,execjosh\/atom,sekcheong\/atom,kevinrenaers\/atom,sillvan\/atom,codex8\/atom,daxlab\/atom,champagnez\/atom,ralphtheninja\/atom,dannyflax\/atom,nrodriguez13\/atom,Mokolea\/atom,Rodjana\/atom,vjeux\/atom,amine7536\/atom,rsvip\/aTom,crazyquark\/atom,gisenberg\/atom,charleswhchan\/atom,mertkahyaoglu\/atom,Ju2ender\/atom,mertkahyaoglu\/atom,amine7536\/atom,rlugojr\/atom,AlbertoBarrago\/atom,vhutheesing\/atom,mertkahyaoglu\/atom,001szymon\/atom,fredericksilva\/atom,g2p\/atom,ashneo76\/atom,NunoEdgarGub1\/atom,synaptek\/atom,rsvip\/aTom,Jandersolutions\/atom,fedorov\/atom,kc8wxm\/atom,decaffeinate-examples\/atom,YunchengLiao\/atom,matthewclendening\/atom,sekcheong\/atom,RobinTec\/atom,Galactix\/atom,wiggzz\/atom,bencolon\/atom,prembasumatary\/atom,sxgao3001\/atom,FoldingText\/atom,yalexx\/atom,KENJU\/atom,tony612\/atom,NunoEdgarGub1\/atom,woss\/atom,abcP9110\/atom,001szymon\/atom,bencolon\/atom,YunchengLiao\/atom,john-kelly\/atom,helber\/atom,GHackAnonymous\/atom"} {"commit":"5d4cf8581b47963388c1b587c0ea2c3c98167f16","old_file":"src\/scripts\/models\/search-results.coffee","new_file":"src\/scripts\/models\/search-results.coffee","old_contents":"define (require) ->\n Backbone = require('backbone')\n settings = require('cs!settings')\n\n SEARCH_URI = \"#{location.protocol}\/\/#{settings.cnxarchive.host}:#{settings.cnxarchive.port}\/search\"\n\n return class SearchResults extends Backbone.Model\n url: () -> \"#{SEARCH_URI}#{@query}\"\n\n defaults:\n query:\n limits: []\n sort: []\n results:\n items: []\n total: 0\n\n initialize: (options = {}) ->\n @query = options.query or ''\n @fetch\n success: () => @set('loaded', true)\n\n parse: (response, options) ->\n response = super(arguments...)\n\n authors = new Backbone.Collection()\n _.each response.results.limits, (limit) ->\n if limit.author then authors.add(limit.author)\n\n _.each response.results.items, (item) ->\n _.each item.authors, (author, index) ->\n item.authors[index] = authors.get(author).toJSON()\n\n #response.queryFormatted = _.cloneDeep(response.query)\n response.queryFormatted = JSON.parse(JSON.stringify(response.query)) # HACK to deep clone\n _.each response.queryFormatted.limits, (limit) ->\n if limit.authorID\n author = authors.get(limit.authorID).toJSON()\n limit.authorID = \"#{author.fullname} (#{author.id})\"\n\n return response\n","new_contents":"define (require) ->\n Backbone = require('backbone')\n settings = require('cs!settings')\n\n SEARCH_URI = \"#{location.protocol}\/\/#{settings.cnxarchive.host}:#{settings.cnxarchive.port}\/search\"\n\n FILTER_NAMES = {\n \"authorID\": \"Author\"\n \"keyword\": \"Keyword\"\n \"type\": \"Type\"\n \"pubYear\": \"Publication Date\"\n \"subject\": \"Subject\"\n }\n\n return class SearchResults extends Backbone.Model\n url: () -> \"#{SEARCH_URI}#{@query}\"\n\n defaults:\n query:\n limits: []\n sort: []\n results:\n items: []\n total: 0\n\n initialize: (options = {}) ->\n @query = options.query or ''\n @fetch\n success: () => @set('loaded', true)\n\n parse: (response, options) ->\n response = super(arguments...)\n\n authors = new Backbone.Collection()\n _.each response.results.limits, (limit) ->\n limit.name = FILTER_NAMES[limit.tag]\n\n if limit.tag is 'authorID'\n authors.add(_.map limit.values, (value) -> value.meta)\n\n _.each response.results.items, (item) ->\n _.each item.authors, (author, index) ->\n item.authors[index] = authors.get(author).toJSON()\n\n #response.queryFormatted = _.cloneDeep(response.query)\n response.queryFormatted = JSON.parse(JSON.stringify(response.query)) # HACK to deep clone\n _.each response.queryFormatted.limits, (limit) ->\n if limit.authorID\n author = authors.get(limit.authorID).toJSON()\n limit.authorID = \"#{author.fullname} (#{author.id})\"\n\n return response\n","subject":"Update parser to handle new search api response","message":"Update parser to handle new search api response\n","lang":"CoffeeScript","license":"agpl-3.0","repos":"Connexions\/webview,dak\/webview,Connexions\/webview,katalysteducation\/webview,carolinelane10\/webview,dak\/webview,katalysteducation\/webview,dak\/webview,katalysteducation\/webview,Connexions\/webview,Connexions\/webview,katalysteducation\/webview"} {"commit":"450068dba26f05ac5445fd3d3621074f8972c2d1","old_file":"test\/support\/test_helpers.coffee","new_file":"test\/support\/test_helpers.coffee","old_contents":"Walrus = require '..\/..\/bin\/walrus'\n\nfs = require 'fs'\npath = require 'path'\nexec = require( 'child_process' ).exec\n\nTestHelpers =\n\n read : ( filename ) -> fs.readFileSync filename, 'utf8' if path.existsSync filename\n\n pass : ( specs, suffix='' ) ->\n\n for file in fs.readdirSync specs when path.extname( file ) is '.wal'\n\n do ( file ) =>\n\n base = path.basename file, '.wal'\n\n text = @read \"#{specs}\/#{base}.wal\"\n json = @read \"#{specs}\/#{base}.js\"\n html = @read \"#{specs}\/#{base}#{suffix}.html\"\n\n # if we can't find the suffixed version, try and find\n # one without the suffix and use that instead.\n html = @read \"#{specs}\/#{base}.html\" if not html\n\n # if _that_ one doesn't exist, throw a helpful error.\n throw \"Can't find example html at #{specs}\/#{base}#{suffix}.html or #{specs}\/#{base}.html\" if not html\n\n tmpl = Walrus.Parser.parse text\n\n it \"should pass the #{base}#{suffix} example\", ( done ) ->\n\n comp = tmpl.compile( eval( \"(#{json})\" ) )\n\n if comp is html\n done( )\n else\n\n cmd = \"\"\"\n printf \"#{comp}\" | diff --unified #{specs}\/#{base}#{suffix}.html -\n \"\"\"\n\n exec cmd, ( error, stdout, stderr ) ->\n\n done new Error \"Expected did not match actual:\\n\" + stdout\n\n\nmodule.exports = TestHelpers\n","new_contents":"Walrus = require '..\/..\/bin\/walrus'\n\nfs = require 'fs'\npath = require 'path'\nexec = require( 'child_process' ).exec\n\nTestHelpers =\n\n read : ( filename ) -> fs.readFileSync filename, 'utf8' if path.existsSync filename\n\n pass : ( specs, suffix='' ) ->\n\n for file in fs.readdirSync specs when path.extname( file ) is '.wal'\n\n do ( file ) =>\n\n base = path.basename file, '.wal'\n\n spec = \"#{specs}\/#{base}#{suffix}.html\"\n\n text = @read \"#{specs}\/#{base}.wal\"\n json = @read \"#{specs}\/#{base}.js\"\n html = @read spec\n\n # if we can't find the suffixed version, try and find\n # one without the suffix and use that instead.\n if not html\n spec = \"#{specs}\/#{base}.html\"\n html = @read spec\n\n # if _that_ one doesn't exist, throw a helpful error.\n throw \"Can't find example html at #{specs}\/#{base}#{suffix}.html or #{specs}\/#{base}.html\" if not html\n\n tmpl = Walrus.Parser.parse text\n\n it \"should pass the #{base}#{suffix} example\", ( done ) ->\n\n comp = tmpl.compile( eval( \"(#{json})\" ) )\n\n if comp is html\n done( )\n else\n\n cmd = \"\"\"\n printf \"#{comp}\" | diff --unified #{spec} -\n \"\"\"\n\n exec cmd, ( error, stdout, stderr ) ->\n\n done new Error \"Expected did not match actual:\\n\" + stdout\n\n\nmodule.exports = TestHelpers\n","subject":"Fix diffing when using fallback spec","message":"Fix diffing when using fallback spec\n","lang":"CoffeeScript","license":"mit","repos":"jeremyruppel\/walrus"} {"commit":"a5723e36b29f9db233a61c04e69f476957cce0e0","old_file":"src\/components\/icon.cjsx","new_file":"src\/components\/icon.cjsx","old_contents":"React = require 'react'\nBS = require 'react-bootstrap'\n\nmodule.exports = React.createClass\n displayName: 'Icon'\n propTypes:\n type: React.PropTypes.string\n className: React.PropTypes.string\n tooltip: React.PropTypes.string\n tooltipProps: React.PropTypes.object\n\n getDefaultProps: ->\n tooltipProps: { placement: 'bottom' }\n\n render: ->\n classes = ['tutor-icon', 'fa', \"fa-#{@props.type}\"]\n classes.push(@props.className) if @props.className\n icon = \n\n if @props.tooltip\n tooltip = {@props.tooltip}<\/BS.Tooltip>\n {icon}<\/BS.OverlayTrigger>\n else\n icon\n","new_contents":"React = require 'react'\nBS = require 'react-bootstrap'\nclassnames = require 'classnames'\nmodule.exports = React.createClass\n displayName: 'Icon'\n propTypes:\n type: React.PropTypes.string.isRequired\n spin: React.PropTypes.bool\n className: React.PropTypes.string\n tooltip: React.PropTypes.string\n tooltipProps: React.PropTypes.object\n\n getDefaultProps: ->\n tooltipProps: { placement: 'bottom' }\n\n render: ->\n classNames = classnames('tutor-icon', 'fa', \"fa-#{@props.type}\", @props.className, {\n 'fa-spin': @props.spin\n })\n\n icon = \n\n if @props.tooltip\n tooltip = {@props.tooltip}<\/BS.Tooltip>\n {icon}<\/BS.OverlayTrigger>\n else\n icon\n","subject":"Use classnames and add spin animation support","message":"Use classnames and add spin animation support\n","lang":"CoffeeScript","license":"agpl-3.0","repos":"openstax\/tutor-js,openstax\/tutor-js,openstax\/tutor-js,openstax\/tutor-js,openstax\/tutor-js"} {"commit":"e8d68d577804dcfd67a6707d18a031a2f2d113b7","old_file":"menus\/tree-view.cson","new_file":"menus\/tree-view.cson","old_contents":"'menu': [\n {\n 'label': 'View'\n 'submenu': [\n 'label': 'Toggle Tree View'\n 'command': 'tree-view:toggle'\n ]\n }\n {\n 'label': 'Packages'\n 'submenu': [\n 'label': 'Tree View'\n 'submenu': [\n { 'label': 'Focus', 'command': 'tree-view:toggle-focus' }\n { 'label': 'Toggle', 'command': 'tree-view:toggle' }\n { 'label': 'Reveal Active File', 'command': 'tree-view:reveal-active-file' }\n ]\n ]\n }\n]\n\n'context-menu':\n '.tree-view':\n 'Add File': 'tree-view:add'\n 'Add Folder': 'tree-view:add'\n 'Rename': 'tree-view:move'\n 'Delete': 'tree-view:remove'\n 'Copy Full Path': 'tree-view:copy-full-path'\n 'Copy Project Path': 'tree-view:copy-project-path'\n 'Show in Finder': 'tree-view:show-in-file-manager'\n","new_contents":"'menu': [\n {\n 'label': 'View'\n 'submenu': [\n 'label': 'Toggle Tree View'\n 'command': 'tree-view:toggle'\n ]\n }\n {\n 'label': 'Packages'\n 'submenu': [\n 'label': 'Tree View'\n 'submenu': [\n { 'label': 'Focus', 'command': 'tree-view:toggle-focus' }\n { 'label': 'Toggle', 'command': 'tree-view:toggle' }\n { 'label': 'Reveal Active File', 'command': 'tree-view:reveal-active-file' }\n ]\n ]\n }\n]\n\n'context-menu':\n '.tree-view':\n 'Add File': 'tree-view:add'\n 'Add Folder': 'tree-view:add'\n 'Rename': 'tree-view:move'\n 'Delete': 'tree-view:remove'\n 'Copy Full Path': 'tree-view:copy-full-path'\n 'Copy Project Path': 'tree-view:copy-project-path'\n 'Show in Finder': 'tree-view:show-in-file-manager'\n\n '.pane .item-views':\n 'Reveal in Tree View': 'tree-view:reveal-active-file'\n","subject":"Add Reveal context menu to pane item views","message":"Add Reveal context menu to pane item views\n\nCloses #70\n","lang":"CoffeeScript","license":"mit","repos":"Galactix\/tree-view,laituan245\/tree-view,cgrabowski\/webgl-studio-tree-view,samu\/tree-view,tbryant\/tree-view,tomekwi\/tree-view,atom\/tree-view,jarig\/tree-view,learn-co\/learn-ide-tree,pombredanne\/tree-view-1,ALEXGUOQ\/tree-view,matthewbauer\/tree-view,jasonhinkle\/tree-view,thgaskell\/tree-view,rajendrant\/tree-view-remote,ayumi\/tree-view,benjaminRomano\/tree-view"} {"commit":"496597950f0751e68e5eb22199b445c4ca744d66","old_file":"client\/lanes\/extension\/Extensions.coffee","new_file":"client\/lanes\/extension\/Extensions.coffee","old_contents":"Lanes.Extensions = {\n\n instances: {}\n\n register: (klass)->\n instance = new klass\n this.instances[klass.prototype.identifier] = instance\n instance.onRegistered?()\n\n fireOnAvailable: (application)->\n instance.onAvailable?(application) for identifier, instance of @instances\n\n setBootstrapData: (bootstrap_data)->\n @controlling_id = bootstrap_data.controlling_extension\n for identifier,data of bootstrap_data\n instance = this.instances[identifier]\n instance?.setBootstrapData?(data)\n\n makeNamespace: (identifier)->\n for ns in ['Models','Views','Controllers','Screens']\n Lanes.namespace(\"#{identifier}.#{ns}\")\n\n controlling: ->\n this.get( @controlling_id )\n\n get: (identifier)->\n this.instances[identifier]\n}\n","new_contents":"Lanes.Extensions = {\n\n instances: {}\n\n register: (klass)->\n instance = new klass\n this.instances[klass.prototype.identifier] = instance\n instance.onRegistered?()\n\n fireOnAvailable: (application)->\n instance.onAvailable?(application) for identifier, instance of @instances\n\n setBootstrapData: (bootstrap_data)->\n @controlling_id = bootstrap_data.controlling_extension\n for identifier,data of bootstrap_data\n instance = this.instances[identifier]\n instance?.setBootstrapData?(data)\n\n makeNamespace: (identifier)->\n for ns in ['Models','Views','Controllers','Screens','Components']\n Lanes.namespace(\"#{identifier}.#{ns}\")\n\n controlling: ->\n this.get( @controlling_id )\n\n get: (identifier)->\n this.instances[identifier]\n}\n","subject":"Make NS for components on extensions","message":"Make NS for components on extensions\n","lang":"CoffeeScript","license":"mit","repos":"argosity\/lanes,argosity\/hippo,argosity\/hippo,argosity\/lanes,argosity\/lanes,argosity\/hippo"} {"commit":"ea3e09b0336a19049eb3bd681099c7f6a34ad224","old_file":"core\/app\/backbone\/models\/evidence.coffee","new_file":"core\/app\/backbone\/models\/evidence.coffee","old_contents":"class window.Evidence extends Backbone.Model\n\nclass window.OpinionatersEvidence extends Evidence\n\n # TODO: eventually, fetching this model should populate\n # the collection, not the other way around\n initialize: (attributes, options) ->\n @_fact_id = options.fact_id ? @collection.fact.id\n\n @on 'change:users', =>\n @opinionaters().reset @get('users')\n\n opinionaters: ->\n @_opinionaters ?= new InteractorsPage @get('users') ? [],\n fact_id: @_fact_id\n type: @get('type')\n perPage: 7\n","new_contents":"class window.Evidence extends Backbone.Model\n\nclass window.OpinionatersEvidence extends Evidence\n\n # TODO: eventually, fetching this model should populate\n # the collection, not the other way around\n initialize: (attributes, options) ->\n @_fact_id = options.fact_id ? @collection.fact.id\n\n @on 'change', =>\n @updateOpinionators()\n\n @updateOpinionators()\n\n opinionaters: ->\n @_opinionaters ?= new InteractorsPage null,\n fact_id: @_fact_id\n type: @get('type')\n perPage: 7\n\n updateOpinionators: ->\n @opinionaters().reset @opinionaters().parse(@attributes)\n","subject":"Use 'parse' function to set necessary properties on the page","message":"Use 'parse' function to set necessary properties on the page\n","lang":"CoffeeScript","license":"mit","repos":"Factlink\/factlink-core,Factlink\/factlink-core,Factlink\/factlink-core,daukantas\/factlink-core,daukantas\/factlink-core,daukantas\/factlink-core,daukantas\/factlink-core,Factlink\/factlink-core"} {"commit":"0d4ba9c51bc0fb34a943a15811853a32fbd110bd","old_file":"workers\/auth\/lib\/auth\/main.coffee","new_file":"workers\/auth\/lib\/auth\/main.coffee","old_contents":"{argv} = require 'optimist'\n\nkoding = require '.\/bongo'\nkoding.connect()\n\nAuthWorker = require '.\/authworker'\n\n{authWorker} = require argv.c\n\nauthWorker = new AuthWorker koding, authWorker.authResourceName\nauthWorker.connect()\n","new_contents":"{argv} = require 'optimist'\n\nkoding = require '.\/bongo'\nkoding.connect()\n\nAuthWorker = require '.\/authworker'\n\n{authWorker,librato} = require argv.c\n\nprocessMonitor = (require 'processes-monitor').start\n name : \"Auth Worker #{process.pid}\"\n stats_id: \"worker.auth.\" + process.pid\n interval : 30000\n librato: librato\n\nauthWorker = new AuthWorker koding, authWorker.authResourceName\nauthWorker.connect()\n","subject":"Add auth stats to librato","message":"Add auth stats to librato\n","lang":"CoffeeScript","license":"agpl-3.0","repos":"jack89129\/koding,rjeczalik\/koding,rjeczalik\/koding,rjeczalik\/koding,alex-ionochkin\/koding,usirin\/koding,acbodine\/koding,gokmen\/koding,jack89129\/koding,acbodine\/koding,andrewjcasal\/koding,sinan\/koding,kwagdy\/koding-1,szkl\/koding,mertaytore\/koding,gokmen\/koding,gokmen\/koding,koding\/koding,szkl\/koding,mertaytore\/koding,koding\/koding,szkl\/koding,mertaytore\/koding,cihangir\/koding,szkl\/koding,drewsetski\/koding,alex-ionochkin\/koding,jack89129\/koding,acbodine\/koding,jack89129\/koding,andrewjcasal\/koding,drewsetski\/koding,kwagdy\/koding-1,cihangir\/koding,sinan\/koding,kwagdy\/koding-1,szkl\/koding,koding\/koding,kwagdy\/koding-1,rjeczalik\/koding,jack89129\/koding,sinan\/koding,alex-ionochkin\/koding,alex-ionochkin\/koding,usirin\/koding,gokmen\/koding,andrewjcasal\/koding,jack89129\/koding,acbodine\/koding,acbodine\/koding,gokmen\/koding,szkl\/koding,drewsetski\/koding,acbodine\/koding,mertaytore\/koding,alex-ionochkin\/koding,usirin\/koding,gokmen\/koding,alex-ionochkin\/koding,cihangir\/koding,sinan\/koding,cihangir\/koding,drewsetski\/koding,cihangir\/koding,mertaytore\/koding,acbodine\/koding,koding\/koding,szkl\/koding,kwagdy\/koding-1,sinan\/koding,andrewjcasal\/koding,koding\/koding,jack89129\/koding,koding\/koding,usirin\/koding,drewsetski\/koding,alex-ionochkin\/koding,kwagdy\/koding-1,jack89129\/koding,drewsetski\/koding,andrewjcasal\/koding,andrewjcasal\/koding,sinan\/koding,acbodine\/koding,gokmen\/koding,szkl\/koding,andrewjcasal\/koding,usirin\/koding,rjeczalik\/koding,koding\/koding,mertaytore\/koding,rjeczalik\/koding,mertaytore\/koding,sinan\/koding,koding\/koding,cihangir\/koding,kwagdy\/koding-1,usirin\/koding,usirin\/koding,kwagdy\/koding-1,rjeczalik\/koding,cihangir\/koding,cihangir\/koding,drewsetski\/koding,sinan\/koding,mertaytore\/koding,andrewjcasal\/koding,gokmen\/koding,usirin\/koding,alex-ionochkin\/koding,drewsetski\/koding,rjeczalik\/koding"} {"commit":"df4ee31aaf9ed9ea265216bbb5620a117babb68f","old_file":"app\/assets\/javascripts\/commits.js.coffee","new_file":"app\/assets\/javascripts\/commits.js.coffee","old_contents":"class CommitsList\n @data =\n ref: null\n limit: 0\n offset: 0\n @disable = false\n\n @showProgress: ->\n $('.loading').show()\n\n @hideProgress: ->\n $('.loading').hide()\n\n @init: (ref, limit) ->\n $(\".day-commits-table li.commit\").live 'click', (event) ->\n if event.target.nodeName != \"A\"\n location.href = $(this).attr(\"url\")\n e.stopPropagation()\n return false\n\n @data.ref = ref\n @data.limit = limit\n @data.offset = limit\n\n this.initLoadMore()\n this.showProgress()\n\n @getOld: ->\n this.showProgress()\n $.ajax\n type: \"GET\"\n url: location.href\n data: @data\n complete: this.hideProgress\n success: (data) ->\n CommitsList.append(data.count, data.html)\n dataType: \"json\"\n\n @append: (count, html) ->\n $(\"#commits-list\").append(html)\n if count > 0\n @data.offset += count\n else\n @disable = true\n\n @initLoadMore: ->\n $(document).unbind('scroll')\n $(document).endlessScroll\n bottomPixels: 400\n fireDelay: 1000\n fireOnce: true\n ceaseFire: =>\n @disable\n callback: =>\n this.getOld()\n\nthis.CommitsList = CommitsList\n","new_contents":"class CommitsList\n @data =\n ref: null\n limit: 0\n offset: 0\n @disable = false\n\n @showProgress: ->\n $('.loading').show()\n\n @hideProgress: ->\n $('.loading').hide()\n\n @init: (ref, limit) ->\n $(\"body\").on \"click\", \".day-commits-table li.commit\", (event) ->\n if event.target.nodeName != \"A\"\n location.href = $(this).attr(\"url\")\n e.stopPropagation()\n return false\n\n @data.ref = ref\n @data.limit = limit\n @data.offset = limit\n\n this.initLoadMore()\n this.showProgress()\n\n @getOld: ->\n this.showProgress()\n $.ajax\n type: \"GET\"\n url: location.href\n data: @data\n complete: this.hideProgress\n success: (data) ->\n CommitsList.append(data.count, data.html)\n dataType: \"json\"\n\n @append: (count, html) ->\n $(\"#commits-list\").append(html)\n if count > 0\n @data.offset += count\n else\n @disable = true\n\n @initLoadMore: ->\n $(document).unbind('scroll')\n $(document).endlessScroll\n bottomPixels: 400\n fireDelay: 1000\n fireOnce: true\n ceaseFire: =>\n @disable\n callback: =>\n this.getOld()\n\nthis.CommitsList = CommitsList\n","subject":"Replace jquery deprecated .live with .on","message":"Replace jquery deprecated .live with .on\n","lang":"CoffeeScript","license":"mit","repos":"8thcolor\/rubyconfau2015-sadr,8thcolor\/eurucamp2014-htdsadr,8thcolor\/eurucamp2014-htdsadr,8thcolor\/rubyconfau2015-sadr,8thcolor\/rubyconfau2015-sadr,8thcolor\/eurucamp2014-htdsadr"} {"commit":"26f21abcf3ca15eb91b00820a3220c79381b2382","old_file":"src\/browser\/atom-protocol-handler.coffee","new_file":"src\/browser\/atom-protocol-handler.coffee","old_contents":"app = require 'app'\nfs = require 'fs'\npath = require 'path'\nprotocol = require 'protocol'\n\n# Handles requests with 'atom' protocol.\n#\n# It's created by {AtomApplication} upon instantiation and is used to create a\n# custom resource loader for 'atom:\/\/' URLs.\n#\n# The following directories are searched in order:\n# * ~\/.atom\/assets\n# * ~\/.atom\/dev\/packages (unless in safe mode)\n# * ~\/.atom\/packages\n# * RESOURCE_PATH\/node_modules\n#\nmodule.exports =\nclass AtomProtocolHandler\n constructor: (@resourcePath, safeMode) ->\n @loadPaths = []\n @dotAtomDirectory = path.join(app.getHomeDir(), '.atom')\n\n unless safeMode\n @loadPaths.push(path.join(@dotAtomDirectory, 'dev', 'packages'))\n\n @loadPaths.push(path.join(@dotAtomDirectory, 'packages'))\n @loadPaths.push(path.join(@resourcePath, 'node_modules'))\n\n @registerAtomProtocol()\n\n # Creates the 'atom' custom protocol handler.\n registerAtomProtocol: ->\n protocol.registerProtocol 'atom', (request) =>\n relativePath = path.normalize(request.url.substr(7))\n\n if relativePath.indexOf('assets\/') is 0\n assetsPath = path.join(@dotAtomDirectory, relativePath)\n filePath = assetsPath if fs.statSyncNoException(assetsPath).isFile?()\n\n unless filePath\n for loadPath in @loadPaths\n filePath = path.join(loadPath, relativePath)\n break if fs.statSyncNoException(filePath).isFile?()\n\n new protocol.RequestFileJob(filePath)\n","new_contents":"app = require 'app'\nfs = require 'fs'\npath = require 'path'\nprotocol = require 'protocol'\n\n# Handles requests with 'atom' protocol.\n#\n# It's created by {AtomApplication} upon instantiation and is used to create a\n# custom resource loader for 'atom:\/\/' URLs.\n#\n# The following directories are searched in order:\n# * ~\/.atom\/assets\n# * ~\/.atom\/dev\/packages (unless in safe mode)\n# * ~\/.atom\/packages\n# * RESOURCE_PATH\/node_modules\n#\nmodule.exports =\nclass AtomProtocolHandler\n constructor: (resourcePath, safeMode) ->\n @loadPaths = []\n @dotAtomDirectory = path.join(app.getHomeDir(), '.atom')\n\n unless safeMode\n @loadPaths.push(path.join(@dotAtomDirectory, 'dev', 'packages'))\n\n @loadPaths.push(path.join(@dotAtomDirectory, 'packages'))\n @loadPaths.push(path.join(resourcePath, 'node_modules'))\n\n @registerAtomProtocol()\n\n # Creates the 'atom' custom protocol handler.\n registerAtomProtocol: ->\n protocol.registerProtocol 'atom', (request) =>\n relativePath = path.normalize(request.url.substr(7))\n\n if relativePath.indexOf('assets\/') is 0\n assetsPath = path.join(@dotAtomDirectory, relativePath)\n filePath = assetsPath if fs.statSyncNoException(assetsPath).isFile?()\n\n unless filePath\n for loadPath in @loadPaths\n filePath = path.join(loadPath, relativePath)\n break if fs.statSyncNoException(filePath).isFile?()\n\n new protocol.RequestFileJob(filePath)\n","subject":"Remove ivar only used in constructor","message":"Remove ivar only used in constructor\n","lang":"CoffeeScript","license":"mit","repos":"ppamorim\/atom,brettle\/atom,BogusCurry\/atom,fedorov\/atom,florianb\/atom,Abdillah\/atom,ivoadf\/atom,FoldingText\/atom,dannyflax\/atom,medovob\/atom,Mokolea\/atom,toqz\/atom,matthewclendening\/atom,johnrizzo1\/atom,AlisaKiatkongkumthon\/atom,bolinfest\/atom,beni55\/atom,jordanbtucker\/atom,atom\/atom,darwin\/atom,SlimeQ\/atom,vcarrera\/atom,dkfiresky\/atom,wiggzz\/atom,chengky\/atom,yomybaby\/atom,sekcheong\/atom,omarhuanca\/atom,deepfox\/atom,bsmr-x-script\/atom,omarhuanca\/atom,Jandersolutions\/atom,bryonwinger\/atom,fredericksilva\/atom,johnhaley81\/atom,jeremyramin\/atom,avdg\/atom,chengky\/atom,matthewclendening\/atom,pengshp\/atom,kandros\/atom,Jdesk\/atom,prembasumatary\/atom,liuderchi\/atom,dijs\/atom,tisu2tisu\/atom,yalexx\/atom,jjz\/atom,crazyquark\/atom,Huaraz2\/atom,liuxiong332\/atom,basarat\/atom,deoxilix\/atom,AdrianVovk\/substance-ide,FIT-CSE2410-A-Bombs\/atom,transcranial\/atom,ReddTea\/atom,toqz\/atom,chengky\/atom,ykeisuke\/atom,jtrose2\/atom,jjz\/atom,amine7536\/atom,oggy\/atom,rlugojr\/atom,niklabh\/atom,kjav\/atom,oggy\/atom,Jandersolutions\/atom,rxkit\/atom,amine7536\/atom,devmario\/atom,scippio\/atom,jtrose2\/atom,daxlab\/atom,chengky\/atom,ashneo76\/atom,YunchengLiao\/atom,ykeisuke\/atom,vjeux\/atom,lpommers\/atom,Andrey-Pavlov\/atom,bsmr-x-script\/atom,nucked\/atom,einarmagnus\/atom,dsandstrom\/atom,bj7\/atom,lisonma\/atom,gabrielPeart\/atom,Shekharrajak\/atom,mnquintana\/atom,basarat\/atom,abcP9110\/atom,sxgao3001\/atom,FoldingText\/atom,jtrose2\/atom,gisenberg\/atom,tjkr\/atom,hharchani\/atom,githubteacher\/atom,hpham04\/atom,hharchani\/atom,brettle\/atom,batjko\/atom,lisonma\/atom,KENJU\/atom,sillvan\/atom,Shekharrajak\/atom,decaffeinate-examples\/atom,devoncarew\/atom,Ingramz\/atom,svanharmelen\/atom,dkfiresky\/atom,abcP9110\/atom,kjav\/atom,helber\/atom,brumm\/atom,nvoron23\/atom,jjz\/atom,pombredanne\/atom,sotayamashita\/atom,ali\/atom,boomwaiza\/atom,ezeoleaf\/atom,RuiDGoncalves\/atom,bj7\/atom,fedorov\/atom,burodepeper\/atom,FoldingText\/atom,ppamorim\/atom,PKRoma\/atom,h0dgep0dge\/atom,isghe\/atom,MjAbuz\/atom,dannyflax\/atom,oggy\/atom,001szymon\/atom,Ingramz\/atom,anuwat121\/atom,darwin\/atom,russlescai\/atom,russlescai\/atom,alexandergmann\/atom,constanzaurzua\/atom,jacekkopecky\/atom,Galactix\/atom,brettle\/atom,wiggzz\/atom,yalexx\/atom,fedorov\/atom,prembasumatary\/atom,woss\/atom,acontreras89\/atom,bj7\/atom,Sangaroonaom\/atom,targeter21\/atom,devmario\/atom,charleswhchan\/atom,alfredxing\/atom,BogusCurry\/atom,alexandergmann\/atom,RobinTec\/atom,john-kelly\/atom,Neron-X5\/atom,AlbertoBarrago\/atom,dannyflax\/atom,Abdillah\/atom,0x73\/atom,hellendag\/atom,hpham04\/atom,matthewclendening\/atom,sillvan\/atom,bryonwinger\/atom,bcoe\/atom,mertkahyaoglu\/atom,helber\/atom,mrodalgaard\/atom,gisenberg\/atom,paulcbetts\/atom,dkfiresky\/atom,mnquintana\/atom,devoncarew\/atom,acontreras89\/atom,CraZySacX\/atom,gisenberg\/atom,dkfiresky\/atom,nucked\/atom,SlimeQ\/atom,sebmck\/atom,davideg\/atom,AlbertoBarrago\/atom,FoldingText\/atom,Jandersoft\/atom,mertkahyaoglu\/atom,einarmagnus\/atom,Arcanemagus\/atom,Andrey-Pavlov\/atom,Abdillah\/atom,nrodriguez13\/atom,g2p\/atom,MjAbuz\/atom,isghe\/atom,ReddTea\/atom,charleswhchan\/atom,Jandersolutions\/atom,isghe\/atom,andrewleverette\/atom,Hasimir\/atom,hharchani\/atom,jacekkopecky\/atom,Arcanemagus\/atom,h0dgep0dge\/atom,Galactix\/atom,qskycolor\/atom,vjeux\/atom,deepfox\/atom,RobinTec\/atom,fredericksilva\/atom,gzzhanghao\/atom,svanharmelen\/atom,xream\/atom,toqz\/atom,yomybaby\/atom,rlugojr\/atom,hakatashi\/atom,pkdevbox\/atom,n-riesco\/atom,Ju2ender\/atom,fredericksilva\/atom,atom\/atom,G-Baby\/atom,kandros\/atom,rxkit\/atom,ardeshirj\/atom,n-riesco\/atom,boomwaiza\/atom,AdrianVovk\/substance-ide,bryonwinger\/atom,kevinrenaers\/atom,mostafaeweda\/atom,phord\/atom,woss\/atom,bcoe\/atom,atom\/atom,medovob\/atom,nucked\/atom,KENJU\/atom,ashneo76\/atom,KENJU\/atom,scv119\/atom,kdheepak89\/atom,synaptek\/atom,YunchengLiao\/atom,chengky\/atom,kittens\/atom,decaffeinate-examples\/atom,RobinTec\/atom,qskycolor\/atom,niklabh\/atom,Dennis1978\/atom,pombredanne\/atom,MjAbuz\/atom,oggy\/atom,wiggzz\/atom,BogusCurry\/atom,nvoron23\/atom,liuxiong332\/atom,stinsonga\/atom,codex8\/atom,tanin47\/atom,Jdesk\/atom,dsandstrom\/atom,mertkahyaoglu\/atom,brumm\/atom,liuderchi\/atom,nrodriguez13\/atom,chfritz\/atom,rjattrill\/atom,yalexx\/atom,Galactix\/atom,prembasumatary\/atom,chfritz\/atom,rmartin\/atom,kittens\/atom,codex8\/atom,Rodjana\/atom,davideg\/atom,rmartin\/atom,acontreras89\/atom,gabrielPeart\/atom,champagnez\/atom,tony612\/atom,fang-yufeng\/atom,bencolon\/atom,Dennis1978\/atom,Rychard\/atom,mdumrauf\/atom,rsvip\/aTom,harshdattani\/atom,niklabh\/atom,efatsi\/atom,seedtigo\/atom,Jandersoft\/atom,Ju2ender\/atom,charleswhchan\/atom,andrewleverette\/atom,alexandergmann\/atom,jjz\/atom,sebmck\/atom,acontreras89\/atom,sebmck\/atom,RobinTec\/atom,qiujuer\/atom,einarmagnus\/atom,hagb4rd\/atom,Jandersoft\/atom,devmario\/atom,palita01\/atom,h0dgep0dge\/atom,Galactix\/atom,pombredanne\/atom,codex8\/atom,Jandersolutions\/atom,john-kelly\/atom,tmunro\/atom,transcranial\/atom,n-riesco\/atom,medovob\/atom,Jdesk\/atom,mostafaeweda\/atom,me-benni\/atom,rmartin\/atom,targeter21\/atom,bcoe\/atom,hakatashi\/atom,tisu2tisu\/atom,xream\/atom,phord\/atom,fredericksilva\/atom,RuiDGoncalves\/atom,lovesnow\/atom,ezeoleaf\/atom,yomybaby\/atom,rjattrill\/atom,sekcheong\/atom,originye\/atom,rookie125\/atom,florianb\/atom,liuxiong332\/atom,ali\/atom,synaptek\/atom,Galactix\/atom,constanzaurzua\/atom,avdg\/atom,stuartquin\/atom,kandros\/atom,vcarrera\/atom,NunoEdgarGub1\/atom,harshdattani\/atom,hellendag\/atom,omarhuanca\/atom,splodingsocks\/atom,gontadu\/atom,yamhon\/atom,kaicataldo\/atom,Andrey-Pavlov\/atom,RobinTec\/atom,GHackAnonymous\/atom,dannyflax\/atom,scv119\/atom,sxgao3001\/atom,jlord\/atom,stinsonga\/atom,liuderchi\/atom,rlugojr\/atom,anuwat121\/atom,woss\/atom,abcP9110\/atom,jordanbtucker\/atom,panuchart\/atom,abcP9110\/atom,einarmagnus\/atom,darwin\/atom,basarat\/atom,targeter21\/atom,ObviouslyGreen\/atom,synaptek\/atom,jtrose2\/atom,yalexx\/atom,liuxiong332\/atom,burodepeper\/atom,devoncarew\/atom,qskycolor\/atom,Sangaroonaom\/atom,scippio\/atom,PKRoma\/atom,vinodpanicker\/atom,batjko\/atom,Ju2ender\/atom,mnquintana\/atom,Austen-G\/BlockBuilder,lisonma\/atom,Klozz\/atom,Hasimir\/atom,johnrizzo1\/atom,vcarrera\/atom,Abdillah\/atom,hagb4rd\/atom,DiogoXRP\/atom,sekcheong\/atom,chfritz\/atom,vcarrera\/atom,me6iaton\/atom,basarat\/atom,Neron-X5\/atom,splodingsocks\/atom,hagb4rd\/atom,SlimeQ\/atom,elkingtonmcb\/atom,hpham04\/atom,YunchengLiao\/atom,stinsonga\/atom,dannyflax\/atom,ezeoleaf\/atom,mrodalgaard\/atom,codex8\/atom,Austen-G\/BlockBuilder,originye\/atom,rookie125\/atom,NunoEdgarGub1\/atom,kevinrenaers\/atom,hakatashi\/atom,ReddTea\/atom,kc8wxm\/atom,FIT-CSE2410-A-Bombs\/atom,tony612\/atom,batjko\/atom,hellendag\/atom,gisenberg\/atom,dijs\/atom,lpommers\/atom,CraZySacX\/atom,G-Baby\/atom,me-benni\/atom,yamhon\/atom,mertkahyaoglu\/atom,Mokolea\/atom,YunchengLiao\/atom,svanharmelen\/atom,fedorov\/atom,sotayamashita\/atom,Austen-G\/BlockBuilder,yalexx\/atom,tanin47\/atom,mdumrauf\/atom,tmunro\/atom,russlescai\/atom,Hasimir\/atom,kittens\/atom,Huaraz2\/atom,Hasimir\/atom,gzzhanghao\/atom,dijs\/atom,synaptek\/atom,lovesnow\/atom,crazyquark\/atom,vinodpanicker\/atom,jacekkopecky\/atom,deepfox\/atom,johnrizzo1\/atom,codex8\/atom,me6iaton\/atom,rmartin\/atom,devoncarew\/atom,amine7536\/atom,lisonma\/atom,elkingtonmcb\/atom,KENJU\/atom,AlisaKiatkongkumthon\/atom,constanzaurzua\/atom,crazyquark\/atom,cyzn\/atom,Neron-X5\/atom,ivoadf\/atom,mostafaeweda\/atom,ykeisuke\/atom,qiujuer\/atom,nvoron23\/atom,kdheepak89\/atom,ralphtheninja\/atom,hakatashi\/atom,tisu2tisu\/atom,yomybaby\/atom,john-kelly\/atom,hharchani\/atom,rsvip\/aTom,sxgao3001\/atom,fscherwi\/atom,alfredxing\/atom,fang-yufeng\/atom,alfredxing\/atom,kc8wxm\/atom,kc8wxm\/atom,sebmck\/atom,t9md\/atom,Locke23rus\/atom,Neron-X5\/atom,jordanbtucker\/atom,matthewclendening\/atom,charleswhchan\/atom,Jandersolutions\/atom,rookie125\/atom,splodingsocks\/atom,bryonwinger\/atom,kittens\/atom,dsandstrom\/atom,DiogoXRP\/atom,qiujuer\/atom,GHackAnonymous\/atom,tjkr\/atom,n-riesco\/atom,ilovezy\/atom,qiujuer\/atom,yangchenghu\/atom,AlbertoBarrago\/atom,vinodpanicker\/atom,Klozz\/atom,NunoEdgarGub1\/atom,ppamorim\/atom,yamhon\/atom,Jandersoft\/atom,SlimeQ\/atom,kdheepak89\/atom,devoncarew\/atom,kjav\/atom,YunchengLiao\/atom,basarat\/atom,scv119\/atom,decaffeinate-examples\/atom,omarhuanca\/atom,0x73\/atom,charleswhchan\/atom,fscherwi\/atom,ali\/atom,vhutheesing\/atom,kjav\/atom,Ju2ender\/atom,ardeshirj\/atom,rsvip\/aTom,FIT-CSE2410-A-Bombs\/atom,pkdevbox\/atom,sotayamashita\/atom,qiujuer\/atom,ppamorim\/atom,vhutheesing\/atom,folpindo\/atom,crazyquark\/atom,sebmck\/atom,gisenberg\/atom,ReddTea\/atom,pombredanne\/atom,folpindo\/atom,ObviouslyGreen\/atom,MjAbuz\/atom,hpham04\/atom,fang-yufeng\/atom,daxlab\/atom,fang-yufeng\/atom,dannyflax\/atom,hharchani\/atom,champagnez\/atom,pkdevbox\/atom,rjattrill\/atom,Neron-X5\/atom,0x73\/atom,FoldingText\/atom,deepfox\/atom,stuartquin\/atom,vinodpanicker\/atom,001szymon\/atom,Shekharrajak\/atom,bcoe\/atom,vhutheesing\/atom,florianb\/atom,ivoadf\/atom,hagb4rd\/atom,jacekkopecky\/atom,mrodalgaard\/atom,tmunro\/atom,vjeux\/atom,Rychard\/atom,NunoEdgarGub1\/atom,h0dgep0dge\/atom,omarhuanca\/atom,kc8wxm\/atom,sekcheong\/atom,efatsi\/atom,kaicataldo\/atom,Hasimir\/atom,AlexxNica\/atom,AlisaKiatkongkumthon\/atom,paulcbetts\/atom,yomybaby\/atom,john-kelly\/atom,prembasumatary\/atom,bencolon\/atom,Mokolea\/atom,NunoEdgarGub1\/atom,john-kelly\/atom,sxgao3001\/atom,deoxilix\/atom,jeremyramin\/atom,elkingtonmcb\/atom,sillvan\/atom,jeremyramin\/atom,deoxilix\/atom,beni55\/atom,Jdesk\/atom,brumm\/atom,amine7536\/atom,sillvan\/atom,ironbox360\/atom,ali\/atom,GHackAnonymous\/atom,russlescai\/atom,prembasumatary\/atom,githubteacher\/atom,ezeoleaf\/atom,rjattrill\/atom,hpham04\/atom,gabrielPeart\/atom,crazyquark\/atom,Rodjana\/atom,ReddTea\/atom,decaffeinate-examples\/atom,cyzn\/atom,isghe\/atom,cyzn\/atom,Rodjana\/atom,batjko\/atom,lisonma\/atom,avdg\/atom,dsandstrom\/atom,mnquintana\/atom,ilovezy\/atom,vjeux\/atom,ralphtheninja\/atom,me6iaton\/atom,lpommers\/atom,CraZySacX\/atom,jjz\/atom,mdumrauf\/atom,panuchart\/atom,Andrey-Pavlov\/atom,helber\/atom,dkfiresky\/atom,bcoe\/atom,bsmr-x-script\/atom,GHackAnonymous\/atom,jacekkopecky\/atom,einarmagnus\/atom,Jonekee\/atom,davideg\/atom,MjAbuz\/atom,jlord\/atom,tony612\/atom,Huaraz2\/atom,bolinfest\/atom,davideg\/atom,sxgao3001\/atom,Dennis1978\/atom,fscherwi\/atom,mostafaeweda\/atom,Ju2ender\/atom,lovesnow\/atom,g2p\/atom,gzzhanghao\/atom,FoldingText\/atom,beni55\/atom,rxkit\/atom,t9md\/atom,pengshp\/atom,ardeshirj\/atom,isghe\/atom,kittens\/atom,stuartquin\/atom,ironbox360\/atom,Shekharrajak\/atom,yangchenghu\/atom,targeter21\/atom,Arcanemagus\/atom,jlord\/atom,liuderchi\/atom,jlord\/atom,hagb4rd\/atom,t9md\/atom,ashneo76\/atom,mostafaeweda\/atom,folpindo\/atom,davideg\/atom,boomwaiza\/atom,nvoron23\/atom,scv119\/atom,constanzaurzua\/atom,daxlab\/atom,burodepeper\/atom,rsvip\/aTom,vinodpanicker\/atom,transcranial\/atom,paulcbetts\/atom,Locke23rus\/atom,anuwat121\/atom,me-benni\/atom,toqz\/atom,johnhaley81\/atom,sekcheong\/atom,yangchenghu\/atom,tjkr\/atom,KENJU\/atom,G-Baby\/atom,jtrose2\/atom,qskycolor\/atom,qskycolor\/atom,florianb\/atom,ralphtheninja\/atom,Klozz\/atom,Abdillah\/atom,RuiDGoncalves\/atom,SlimeQ\/atom,ppamorim\/atom,ironbox360\/atom,ilovezy\/atom,scippio\/atom,001szymon\/atom,splodingsocks\/atom,sillvan\/atom,Austen-G\/BlockBuilder,ilovezy\/atom,lovesnow\/atom,oggy\/atom,russlescai\/atom,bolinfest\/atom,kevinrenaers\/atom,woss\/atom,me6iaton\/atom,rsvip\/aTom,AlexxNica\/atom,Jonekee\/atom,stinsonga\/atom,vjeux\/atom,acontreras89\/atom,tony612\/atom,batjko\/atom,gontadu\/atom,paulcbetts\/atom,matthewclendening\/atom,Ingramz\/atom,AlexxNica\/atom,pengshp\/atom,AdrianVovk\/substance-ide,kc8wxm\/atom,palita01\/atom,amine7536\/atom,mertkahyaoglu\/atom,seedtigo\/atom,Andrey-Pavlov\/atom,Locke23rus\/atom,devmario\/atom,mnquintana\/atom,tanin47\/atom,kdheepak89\/atom,johnhaley81\/atom,harshdattani\/atom,Austen-G\/BlockBuilder,basarat\/atom,fedorov\/atom,Austen-G\/BlockBuilder,andrewleverette\/atom,Jandersoft\/atom,vcarrera\/atom,GHackAnonymous\/atom,nvoron23\/atom,deepfox\/atom,abcP9110\/atom,ilovezy\/atom,gontadu\/atom,toqz\/atom,lovesnow\/atom,Shekharrajak\/atom,g2p\/atom,xream\/atom,nrodriguez13\/atom,kaicataldo\/atom,florianb\/atom,tony612\/atom,synaptek\/atom,githubteacher\/atom,Rychard\/atom,panuchart\/atom,jlord\/atom,jacekkopecky\/atom,fang-yufeng\/atom,constanzaurzua\/atom,Jonekee\/atom,liuxiong332\/atom,ali\/atom,me6iaton\/atom,woss\/atom,phord\/atom,n-riesco\/atom,devmario\/atom,kjav\/atom,originye\/atom,ObviouslyGreen\/atom,palita01\/atom,bencolon\/atom,0x73\/atom,champagnez\/atom,targeter21\/atom,kdheepak89\/atom,DiogoXRP\/atom,pombredanne\/atom,Jdesk\/atom,PKRoma\/atom,Sangaroonaom\/atom,seedtigo\/atom,dsandstrom\/atom,fredericksilva\/atom,efatsi\/atom,rmartin\/atom"} {"commit":"bf0b596073218c84e8336d73ba9cc944af6af51b","old_file":"src\/views\/service-map-disclaimers.coffee","new_file":"src\/views\/service-map-disclaimers.coffee","old_contents":"define [\n 'i18next',\n 'app\/views\/base'\n],\n(\n {t: t},\n {SMItemView: SMItemView}\n) ->\n ServiceMapDisclaimersView: class ServiceMapDisclaimersView extends SMItemView\n template: 'description-of-service'\n className: 'content modal-dialog about'\n serializeData: ->\n lang: p13n.getLanguage()\n ServiceMapDisclaimersOverlayView: class ServiceMapDisclaimersOverlayView extends SMItemView\n template: 'disclaimers-overlay'\n serializeData: ->\n layer = p13n.get('map_background_layer')\n if layer in ['servicemap', 'accessible_map']\n copyrightLink = \"https:\/\/www.openstreetmap.org\/copyright\"\n copyright: t \"disclaimer.copyright.#{layer}\"\n copyrightLink: copyrightLink\n events:\n 'click #about-the-service': 'onAboutClick'\n onAboutClick: (ev) ->\n app.commands.execute 'showServiceMapDescription'\n","new_contents":"define [\n 'i18next',\n 'app\/views\/base'\n],\n(\n {t: t},\n {SMItemView: SMItemView}\n) ->\n ServiceMapDisclaimersView: class ServiceMapDisclaimersView extends SMItemView\n template: 'description-of-service'\n className: 'content modal-dialog about'\n events:\n 'click .uservoice-link': 'openUserVoice'\n openUserVoice: (ev) ->\n console.trace()\n UserVoice = window.UserVoice || [];\n UserVoice.push ['show', mode: 'contact']\n serializeData: ->\n lang: p13n.getLanguage()\n ServiceMapDisclaimersOverlayView: class ServiceMapDisclaimersOverlayView extends SMItemView\n template: 'disclaimers-overlay'\n serializeData: ->\n layer = p13n.get('map_background_layer')\n if layer in ['servicemap', 'accessible_map']\n copyrightLink = \"https:\/\/www.openstreetmap.org\/copyright\"\n copyright: t \"disclaimer.copyright.#{layer}\"\n copyrightLink: copyrightLink\n events:\n 'click #about-the-service': 'onAboutClick'\n onAboutClick: (ev) ->\n app.commands.execute 'showServiceMapDescription'\n","subject":"Make feedback link work in service description.","message":"Make feedback link work in service description.\n","lang":"CoffeeScript","license":"agpl-3.0","repos":"City-of-Helsinki\/servicemap,vaaralav\/servicemap,vaaralav\/servicemap,City-of-Helsinki\/servicemap,vaaralav\/servicemap,City-of-Helsinki\/servicemap"} {"commit":"26b296f488c104a99cfde7000e2e8af7488ec792","old_file":"app\/assets\/javascripts\/backbone\/views\/home_view.js.coffee","new_file":"app\/assets\/javascripts\/backbone\/views\/home_view.js.coffee","old_contents":"ProjectMonitor.Views ||= {}\n\nclass ProjectMonitor.Views.HomeView extends Backbone.View\n tagName: \"ol\"\n className: \"projects\"\n template: JST[\"backbone\/templates\/home\"]\n\n initialize: (options) ->\n @subviews = []\n @addTileView(tile) for tile in @collection.models\n\n @collection.on 'reset', =>\n for view in @subviews\n view.tearDown()\n @subviews.length = 0\n for model in @collection.models\n @addTileView(model)\n @render()\n\n @collection.on 'add', (model) =>\n unless model.id in (view.model.id for view in @subviews)\n @addTileView(model)\n @render()\n\n @collection.on 'remove', (model) =>\n viewsToDelete = (view for view in @subviews when view.model.id == model.id)\n for view in viewsToDelete\n view.tearDown()\n @subviews = (v for v in @subviews when v isnt view)\n\n addTileView: (model) ->\n if model.get(\"aggregate\")\n view = new ProjectMonitor.Views.AggregateProjectView(model: model)\n else\n view = new ProjectMonitor.Views.ProjectView(model: model)\n @subviews.push(view)\n @registerSubView(view)\n \n\n render: ->\n @$el.empty()\n @$el.append(subview.render().$el) for subview in @subviews\n @\n","new_contents":"ProjectMonitor.Views ||= {}\n\nclass ProjectMonitor.Views.HomeView extends Backbone.View\n tagName: \"ol\"\n className: \"projects\"\n template: JST[\"backbone\/templates\/home\"]\n\n initialize: (options) ->\n @_addTileView(tile) for tile in @collection.models\n\n @collection.on 'reset', =>\n for cid,view of @subViews\n view.tearDown()\n for model in @collection.models\n @_addTileView(model)\n @render()\n\n @collection.on 'add', (model) =>\n unless model.id in (view.model.id for cid,view of @subViews)\n @_addTileView(model)\n @render()\n\n @collection.on 'remove', (model) =>\n viewsToDelete = (view for cid,view of @subViews when view.model.id == model.id)\n for view in viewsToDelete\n view.tearDown()\n\n _addTileView: (model) ->\n if model.get(\"aggregate\")\n view = new ProjectMonitor.Views.AggregateProjectView(model: model)\n else\n view = new ProjectMonitor.Views.ProjectView(model: model)\n @registerSubView(view)\n \n\n render: ->\n @$el.empty()\n @$el.append(subview.render().$el) for cid,subview of @subViews\n @\n","subject":"Remove subviews array from home view","message":"Remove subviews array from home view\n","lang":"CoffeeScript","license":"mit","repos":"BuildingSync\/projectmonitor,pivotal\/projectmonitor,dgodd\/projectmonitor,pivotal\/projectmonitor,mabounassif\/projectmonitor-docker,remind101\/projectmonitor,genebygene\/projectmonitor,mabounassif\/projectmonitor-docker,BuildingSync\/projectmonitor,remind101\/projectmonitor,BuildingSync\/projectmonitor,remind101\/projectmonitor,pivotal\/projectmonitor,dgodd\/projectmonitor,remind101\/projectmonitor,genebygene\/projectmonitor,genebygene\/projectmonitor,mabounassif\/projectmonitor-docker,dgodd\/projectmonitor,dgodd\/projectmonitor,mabounassif\/projectmonitor-docker,pivotal\/projectmonitor,BuildingSync\/projectmonitor,genebygene\/projectmonitor"} {"commit":"d65cfcf1042a3069a52e7917c2064dcdae8a9215","old_file":"app\/assets\/javascripts\/home.js.coffee","new_file":"app\/assets\/javascripts\/home.js.coffee","old_contents":"# Place all the behaviors and hooks related to the matching controller here.\n# All this logic will automatically be available in application.js.\n# You can use CoffeeScript in this file: http:\/\/jashkenas.github.com\/coffee-script\/\n\n$(\"document\").ready ->\n $(\".point1\").popover\n placement: \"right\"\n content: \"We have the technical experise to make your ideas become an amazing reality.\"\n\n $(\".point2\").popover\n placement: \"right\"\n content: \"Our experience with Agile development techniques means you'll spend more time loving your product and less time in meetings.\"\n\n $(\".point3\").popover\n placement: \"right\"\n content: \"We have a combined total of over 100,000 man-hours of development experience. Regardless of what you need, we can help.\"\n\n $(\".point4\").popover\n placement: \"right\"\n content: \"With team members that are experienced at working at every type of business - from spry startups to large enterprises - we are able to adapt to any situation quickly.\"\n\n $('#footer-nav').localScroll()\n\n $('ul.portfolio-thumbs li').hover(\n -> $(\".overlay\", this).stop().animate({top:'0px'},{queue:false,duration:300})\n -> $(\".overlay\", this).stop().animate({top:'-183px'},{queue:false,duration:300})\n )","new_contents":"# Place all the behaviors and hooks related to the matching controller here.\n# All this logic will automatically be available in application.js.\n# You can use CoffeeScript in this file: http:\/\/jashkenas.github.com\/coffee-script\/\n\n$(\"document\").ready ->\n $(\".point1\").popover\n placement: \"right\"\n content: \"We have the technical expertise to make your ideas become an amazing reality.\"\n\n $(\".point2\").popover\n placement: \"right\"\n content: \"Our experience with Agile development techniques means you'll spend more time loving your product and less time in meetings.\"\n\n $(\".point3\").popover\n placement: \"right\"\n content: \"We have a combined total of over 100,000 man-hours of development experience. Regardless of what you need, we can help.\"\n\n $(\".point4\").popover\n placement: \"right\"\n content: \"With team members that are experienced at working at every type of business - from spry startups to large enterprises - we are able to adapt to any situation quickly.\"\n\n $('#footer-nav').localScroll()\n\n $('ul.portfolio-thumbs li').hover(\n -> $(\".overlay\", this).stop().animate({top:'0px'},{queue:false,duration:300})\n -> $(\".overlay\", this).stop().animate({top:'-183px'},{queue:false,duration:300})\n )","subject":"Fix embarassing typo in one of the popovers on the homepage","message":"Fix embarassing typo in one of the popovers on the homepage\n","lang":"CoffeeScript","license":"mit","repos":"coshx\/coshx,coshx\/coshx,coshx\/coshx"} {"commit":"771eff2608637d35db204321e2c23dcc3d02815d","old_file":"apps\/user\/profile\/index.coffee","new_file":"apps\/user\/profile\/index.coffee","old_contents":"Backbone = require 'backbone'\nmediator = require '..\/..\/..\/lib\/mediator.coffee'\ntemplate = -> require('..\/templates\/partials\/_channel_groups.jade') arguments...\n{ QUERY } = require(\"sharify\").data\n\nclass ProfileView extends Backbone.View\n loading: false\n disabled: false\n threshold: -500\n page: 2\n\n initialize: ->\n @timer = setInterval @maybeLoad, 150\n\n maybeLoad: =>\n return false if @loading or \n @disabled or \n mediator.shared.state.get 'lightbox'\n\n total = document.body.scrollHeight\n scrollPos = (document.documentElement.scrollTop || document.body.scrollTop)\n progress = scrollPos + window.innerHeight * 4\n\n if (total - progress < @threshold)\n @loadNextPage() \n\n loadNextPage: ->\n @loading = true\n $.ajax \n data: \n page: @page\n q: sd.QUERY\n url: \"\/api\/#{sd.USER.slug}\/profile\"\n success: (response) =>\n @page++\n @loading = false\n\n if response.channels.length\n $('.profile').append template \n channels: response.channels\n else\n @disabled = true\n \nmodule.exports.init = ->\n new ProfileView\n el: $('.profile')","new_contents":"Backbone = require 'backbone'\n{ QUERY, PROFILE_CHANNELS, SORT } = require(\"sharify\").data\nmediator = require '..\/..\/..\/lib\/mediator.coffee'\nChannelGroupView = require '..\/..\/..\/components\/channel_block_group\/view.coffee'\n\ntemplate = -> require('..\/templates\/partials\/_channel_groups.jade') arguments...\n\nclass ProfileView extends Backbone.View\n loading: false\n disabled: false\n threshold: -500\n page: 2\n\n initialize: ->\n @timer = setInterval @maybeLoad, 150\n\n maybeLoad: =>\n return false if @loading or \n @disabled or \n mediator.shared.state.get 'lightbox'\n\n total = document.body.scrollHeight\n scrollPos = (document.documentElement.scrollTop || document.body.scrollTop)\n progress = scrollPos + window.innerHeight * 4\n\n if (total - progress < @threshold)\n @loadNextPage() \n\n loadNextPage: ->\n @loading = true\n $.ajax \n data: \n page: @page\n q: QUERY\n sort: SORT\n url: \"\/api\/#{sd.USER.slug}\/profile\"\n success: (response) =>\n @page++\n @loading = false\n\n if response.channels.length\n $('.profile').append template \n channels: response.channels\n \n @setUpChannelGroupViews(response.channels)\n else\n @disabled = true\n\n setUpChannelGroupViews: (channels) ->\n for channel in channels\n view = new ChannelGroupView\n channel: channel\n el: @$(\".ChannelBlockGroup[data-id=#{channel.id}]\")\n \n view.initBlockViews()\n \nmodule.exports.init = ->\n view = new ProfileView\n el: $('.profile')\n\n view.setUpChannelGroupViews(PROFILE_CHANNELS)","subject":"Handle random sort on the client","message":"Handle random sort on the client\n","lang":"CoffeeScript","license":"mit","repos":"aredotna\/ervell,aredotna\/ervell,aredotna\/ervell,aredotna\/ervell,aredotna\/ervell"} {"commit":"008e47dc65de9e5a8b818f711a077b8c6b29e9f9","old_file":"client\/lanes\/components\/shared\/Input.cjsx","new_file":"client\/lanes\/components\/shared\/Input.cjsx","old_contents":"class Lanes.Components.Input extends Lanes.React.Component\n\n mixins: [\n Lanes.Components.Form.FieldMixin\n ]\n formGroupClass: 'input'\n\n getDefaultProps: ->\n type: 'text'\n\n propTypes:\n unlabled: React.PropTypes.bool\n\n getValue: ->\n @refs.input.getValue()\n\n handleKeyDown: (ev) ->\n @props.onEnter() if ev.key is 'Enter'\n\n renderEdit: (label) ->\n value = @_getValue() or ''\n label ||= @props.label or _.field2title(@props.name)\n props = _.extend({\n ref: 'input'\n className: _.classnames('value', changeset: @state.changeset)\n label: if @props.unlabeled then false else label\n value: value\n onKeyDown: @handleKeyDown if @props.onEnter\n onChange: @handleChange\n }, @props)\n if @props.inputOnly then @renderPlain(props) else @renderStyled(props, label)\n\n renderPlain: (props) ->\n \n\n renderStyled: (props, label) ->\n colProps = _.omit(props, 'name')\n \n \n <\/BS.Col>\n","new_contents":"class Lanes.Components.Input extends Lanes.React.Component\n\n NUMBER_TEST: \/^-?\\d+(\\.\\d+)?$\/\n\n mixins: [\n Lanes.Components.Form.FieldMixin\n ]\n\n propTypes:\n unlabled: React.PropTypes.bool\n onlyNumeric: React.PropTypes.bool\n\n getDefaultProps: ->\n type: 'text'\n\n getValue: ->\n @refs.input.getValue()\n\n handleKeyDown: (ev) ->\n @props.onEnter() if ev.key is 'Enter'\n\n valueInFlux: (value) ->\n type = @props.model.attributeType(@props.name)\n (@props.onlyNumeric or type is \"bigdec\" ) and not @NUMBER_TEST.test(value)\n\n validatedChangeHandler: (ev) ->\n value = ev.target.value\n if @valueInFlux(value)\n @setState(pendingValue: value)\n else\n @setState(pendingValue: false)\n @handleChange(ev)\n\n renderEdit: (label) ->\n value = @state.pendingValue or @props.value or @_getValue()\n label ||= @props.label or _.field2title(@props.name)\n props = _.extend({\n ref: 'input'\n className: _.classnames('value', changeset: @state.changeset)\n label: if @props.unlabeled then false else label\n value: value\n onKeyDown: @handleKeyDown if @props.onEnter\n onChange: @validatedChangeHandler\n }, @props, {value: value})\n if @props.inputOnly then @renderPlain(props) else @renderStyled(props, label)\n\n renderPlain: (props) ->\n \n\n renderStyled: (props, label) ->\n colProps = _.omit(props, 'name')\n \n \n <\/BS.Col>\n","subject":"Store invalid decimal values in state, apply later","message":"Store invalid decimal values in state, apply later\n\nThis is needed so you can type '0.' before finishing with 0.2 for instance\n","lang":"CoffeeScript","license":"mit","repos":"argosity\/hippo,argosity\/lanes,argosity\/lanes,argosity\/hippo,argosity\/lanes,argosity\/hippo"} {"commit":"d981bfd791ef247b6daae7aac24cbde56641f320","old_file":"src\/app\/components\/directive.coffee","new_file":"src\/app\/components\/directive.coffee","old_contents":"'use strict'\n\nangular.module(\"ngFillHeight.directives\")\n .directive 'ngFillHeight', ($parse) ->\n\n ngFillHeightLink = (scope, element, attrs) ->\n ngFillHeightOption = ($parse attrs.ngFillHeight)(scope)\n\n if typeof ngFillHeightOption isnt 'object'\n console.error 'The value of ngFillHeight has to be an Object'\n return\n\n parentObject = angular.element(ngFillHeightOption.parentSelector)\n currObject = angular.element(element)\n\n ngFillHeightOption.api = {\n recalcHeight : () ->\n \n recurrFunc = (increment) ->\n currObject.height(currObject.height() + increment)\n\n recurrFunc(10) while parentObject.height() >= parentObject.prop('scrollHeight')\n\n recurrFunc(-1) while parentObject.height() < parentObject.prop('scrollHeight')\n\n return\n }\n\n return {\n restrict: 'A'\n link : ngFillHeightLink\n }\n","new_contents":"'use strict'\n\nangular.module(\"ngFillHeight.directives\")\n .directive 'ngFillHeight', ($parse) ->\n\n ngFillHeightLink = (scope, element, attrs) ->\n ngFillHeightOption = ($parse attrs.ngFillHeight)(scope)\n\n if typeof ngFillHeightOption isnt 'object'\n console.error 'The value of ngFillHeight has to be an Object'\n return\n\n parentObject = angular.element(ngFillHeightOption.parentSelector)\n currObject = angular.element(element)\n\n ngFillHeightOption.api = {\n recalcHeight : () ->\n \n recurrFunc = (increment) ->\n currObject.height(currObject.height() + increment)\n\n recurrFunc(10) while currObject.height() < ngFillHeightOption.minHeight or parentObject.height() >= parentObject.prop('scrollHeight')\n\n recurrFunc(-1) while currObject.height() > ngFillHeightOption.minHeight and parentObject.height() < parentObject.prop('scrollHeight')\n\n return\n }\n\n return {\n restrict: 'A'\n link : ngFillHeightLink\n }\n","subject":"Add capacity to inform a minHeight property","message":"Add capacity to inform a minHeight property\n","lang":"CoffeeScript","license":"mit","repos":"TimeoutZero\/ng-fill-height"} {"commit":"28da62349852a8944f9c3b82ee4db86e163d1b2c","old_file":"app\/assets\/javascripts\/residences.js.coffee","new_file":"app\/assets\/javascripts\/residences.js.coffee","old_contents":"# This function handles copying address fields from existing addresses.\ncopyAddress = ->\n selected_address_id = +$(this)[0].value\n match = null\n address_fields = $(this).closest('div.address-fields')\n addresses = address_fields.find('div.applicant-addresses').data('applicant-addresses')\n for address in addresses\n if +address.id == +selected_address_id\n match = address\n break\n unless match\n return\n address_fields.find('input[id$=state]').val(match.state)\n address_fields.find('input[id$=street]').val(match.street)\n address_fields.find('input[id$=city]').val(match.city)\n address_fields.find('input[id$=apt]').val(match.apt)\n address_fields.find('input[id$=zip]').val(match.zip)\n\n$ ->\n dropdown = $('div.address-fields div.address-selector select')\n dropdown.change(copyAddress)\n","new_contents":"# This function handles copying address fields from existing addresses.\ncopyAddress = ->\n selected_address_id = +$(this)[0].value\n match = null\n address_fields = $(this).closest('div.address-fields')\n addresses = address_fields.find('div.applicant-addresses').data('applicant-addresses')\n for address in addresses\n if +address.id == +selected_address_id\n match = address\n break\n unless match\n return\n address_fields.find('select[id$=state]').val(match.state)\n address_fields.find('input[id$=street]').val(match.street)\n address_fields.find('input[id$=city]').val(match.city)\n address_fields.find('input[id$=apt]').val(match.apt)\n address_fields.find('input[id$=zip]').val(match.zip)\n\n$ ->\n dropdown = $('div.address-fields div.address-selector select')\n dropdown.change(copyAddress)\n","subject":"Fix copying state from addresses","message":"Fix copying state from addresses\n","lang":"CoffeeScript","license":"mit","repos":"dclegalhackers\/districthousing,adelevie\/districthousing,jrunningen\/districthousing,dmjurg\/districthousing,dmjurg\/districthousing,jrunningen\/districthousing,MetricMike\/districthousing,jrunningen\/districthousing,uncompiled\/districthousing,jrunningen\/districthousing,lankyfrenchman\/dchousing-apps,uncompiled\/districthousing,meiao\/districthousing,jrunningen\/districthousing,adelevie\/districthousing,codefordc\/districthousing,MetricMike\/districthousing,meiao\/districthousing,uncompiled\/districthousing,codefordc\/districthousing,MetricMike\/districthousing,dmjurg\/districthousing,adelevie\/districthousing,lankyfrenchman\/dchousing-apps,meiao\/districthousing,uncompiled\/districthousing,uncompiled\/districthousing,dclegalhackers\/districthousing,meiao\/districthousing,lankyfrenchman\/dchousing-apps,codefordc\/districthousing,meiao\/districthousing,dclegalhackers\/districthousing,dmjurg\/districthousing,codefordc\/districthousing,MetricMike\/districthousing,lankyfrenchman\/dchousing-apps,dclegalhackers\/districthousing,adelevie\/districthousing,codefordc\/districthousing"} {"commit":"fabd19f43cf278edd779285c22de32ada699d047","old_file":"lib\/app\/logout.coffee","new_file":"lib\/app\/logout.coffee","old_contents":"#\n# Logout helpers.\n#\n\nrequest = require 'superagent'\nopts = require '..\/options'\n{ parse } = require 'url'\nredirectBack = require '.\/redirectback'\n\n@denyBadLogoutLinks = (req, res, next) ->\n if parse(req.get 'Referrer').hostname.match 'artsy.net'\n next()\n else\n next new Error \"Malicious logout link.\"\n\n@logout = (req, res, next) ->\n accessToken = req.user?.get('accessToken')\n req.logout()\n request\n .del(\"#{opts.ARTSY_URL}\/api\/v1\/access_token\")\n .set('X-Access-Token': accessToken)\n .end (error, response) ->\n if req.xhr\n res.status(200).send msg: 'success'\n else\n redirectBack req, res\n","new_contents":"#\n# Logout helpers.\n#\n\nrequest = require 'superagent'\nopts = require '..\/options'\n{ parse } = require 'url'\nredirectBack = require '.\/redirectback'\n\n@denyBadLogoutLinks = (req, res, next) ->\n if parse(req.get 'Referrer').hostname.match 'artsy.net'\n next()\n else\n next new Error \"Malicious logout link.\"\n\n@logout = (req, res, next) ->\n accessToken = req.user?.get('accessToken')\n req.logout()\n req.session = null\n request\n .del(\"#{opts.ARTSY_URL}\/api\/v1\/access_token\")\n .set('X-Access-Token': accessToken)\n .end (error, response) ->\n if req.xhr\n res.status(200).send msg: 'success'\n else\n redirectBack req, res\n","subject":"Make sure to clear session explicitly when logging out","message":"[Logout] Make sure to clear session explicitly when logging out\n","lang":"CoffeeScript","license":"mit","repos":"artsy\/artsy-passport"} {"commit":"945db9572f60770c64d7c0b72e93fac89ca15ff7","old_file":"lib\/linter-php.coffee","new_file":"lib\/linter-php.coffee","old_contents":"linterPath = atom.packages.getLoadedPackage(\"linter\").path\nLinter = require \"#{linterPath}\/lib\/linter\"\n\nclass LinterPhp extends Linter\n # The syntax that the linter handles. May be a string or\n # list\/tuple of strings. Names should be all lowercase.\n @syntax: ['text.html.php', 'source.php']\n\n # A string, list, tuple or callable that returns a string, list or tuple,\n # containing the command line (with arguments) used to lint.\n cmd: 'php -l -n -d display_errors=On -d log_errors=Off'\n\n executablePath: null\n\n linterName: 'php'\n\n options: ['phpExecutablePath']\n\n # A regex pattern used to extract information from the executable's output.\n regex: '(Parse|Fatal) (?error):(\\\\s*(?parse|syntax) error,?)?\\\\s*' +\n '(?(unexpected \\'(?[^\\']+)\\')?.*) ' +\n 'in .*? on line (?\\\\d+)'\n\n createMessage: (match) ->\n # message might be empty, we have to supply a value\n if match and match.type == 'parse' and not match.message\n message = 'parse error'\n super(match)\n\nmodule.exports = LinterPhp\n","new_contents":"linterPath = atom.packages.getLoadedPackage(\"linter\").path\nLinter = require \"#{linterPath}\/lib\/linter\"\n{CompositeDisposable} = require 'atom'\n\nclass LinterPhp extends Linter\n # The syntax that the linter handles. May be a string or\n # list\/tuple of strings. Names should be all lowercase.\n @syntax: ['text.html.php', 'source.php']\n\n # A string, list, tuple or callable that returns a string, list or tuple,\n # containing the command line (with arguments) used to lint.\n cmd: 'php -l -n -d display_errors=On -d log_errors=Off'\n\n executablePath: null\n\n linterName: 'php'\n\n # A regex pattern used to extract information from the executable's output.\n regex: '(Parse|Fatal) (?error):(\\\\s*(?parse|syntax) error,?)?\\\\s*' +\n '(?(unexpected \\'(?[^\\']+)\\')?.*) ' +\n 'in .*? on line (?\\\\d+)'\n\n constructor: (editor) ->\n super(editor)\n @disposables = new CompositeDisposable\n\n @disposables.add atom.config.observe 'linter-php.phpExecutablePath', =>\n @executablePath = atom.config.get 'linter-php.phpExecutablePath'\n\n destroy: ->\n # atom.config.unobserve 'linter-php.phpExecutablePath'\n @disposables.dispose();\n\n createMessage: (match) ->\n # message might be empty, we have to supply a value\n if match and match.type == 'parse' and not match.message\n message = 'parse error'\n super(match)\n\nmodule.exports = LinterPhp\n","subject":"Revert \"Use options to observe phpExecutablePath config\"","message":"Revert \"Use options to observe phpExecutablePath config\"\n\nThis reverts commit 4f52e2ca452c18dedc15d01ffb9acdeed28d8964.\n","lang":"CoffeeScript","license":"mit","repos":"AtomLinter\/linter-php,AtomLinter\/linter-php"} {"commit":"8736a4d89a30d90ebe3cb098c4c9b497260a9a93","old_file":"lib\/deprecation-cop-view.coffee","new_file":"lib\/deprecation-cop-view.coffee","old_contents":"{$, $$, ScrollView} = require 'atom'\nGrim = require 'grim'\n\nmodule.exports =\nclass DeprecationCopView extends ScrollView\n @content: ->\n @div class: 'deprecation-cop pane-item', tabindex: -1, =>\n @div class: 'panel', =>\n @div class: 'panel-heading', \"Deprecated calls\"\n @ul outlet: 'list', class: 'list-tree has-collapsable-children'\n\n initialize: ({@uri}) ->\n @update()\n super()\n @on 'click', '.list-nested-item', -> $(this).toggleClass('collapsed')\n\n destroy: ->\n @detach()\n\n getUri: ->\n @uri\n\n getTitle: ->\n 'Deprecation Cop'\n\n update: ->\n for method, {count, message, stackTraces} of Grim.getLog()\n @list.append $$ ->\n @li class: 'list-nested-item collapsed', =>\n @div class: 'list-item', =>\n @span class: 'text-highlight', method\n @span \" (called #{count} times)\"\n\n @ul class: 'list', =>\n for stackTrace in stackTraces\n @li class: 'list-item stack-trace padded', =>\n @span class: 'icon icon-alert'\n @span stackTrace.split(\"\\n\")[3].replace(\/^\\s*at\\s*\/, '')\n @pre stackTrace\n","new_contents":"{$, $$, ScrollView} = require 'atom'\nGrim = require 'grim'\n\nmodule.exports =\nclass DeprecationCopView extends ScrollView\n @content: ->\n @div class: 'deprecation-cop pane-item', tabindex: -1, =>\n @div class: 'panel', =>\n @div class: 'panel-heading', \"Deprecated calls\"\n @ul outlet: 'list', class: 'list-tree has-collapsable-children'\n\n initialize: ({@uri}) ->\n @update()\n super()\n @on 'click', '.list-nested-item', -> $(this).toggleClass('collapsed')\n\n destroy: ->\n @detach()\n\n getUri: ->\n @uri\n\n getTitle: ->\n 'Deprecation Cop'\n\n update: ->\n methodList = []\n methodList.push [method, metadata] for method, metadata of Grim.getLog()\n methodList.sort (a, b) -> b[1].count - a[1].count\n\n for [method, {count, message, stackTraces}] in methodList\n @list.append $$ ->\n @li class: 'list-nested-item collapsed', =>\n @div class: 'list-item', =>\n @span class: 'text-highlight', method\n @span \" (called #{count} times)\"\n\n @ul class: 'list', =>\n for stackTrace in stackTraces\n @li class: 'list-item stack-trace padded', =>\n @span class: 'icon icon-alert'\n @span stackTrace.split(\"\\n\")[3].replace(\/^\\s*at\\s*\/, '')\n @pre stackTrace\n","subject":"Sort by deprecated method calls","message":"Sort by deprecated method calls","lang":"CoffeeScript","license":"mit","repos":"atom\/deprecation-cop"} {"commit":"250e25765471df8c58dceea0ccaf65d8054e147a","old_file":"lib\/sensu-dashboard\/assets\/javascripts\/views\/events\/list.coffee","new_file":"lib\/sensu-dashboard\/assets\/javascripts\/views\/events\/list.coffee","old_contents":"namespace 'SensuDashboard.Views.Events', (exports) ->\n\n class exports.List extends SensuDashboard.Views.List\n\n name: 'events\/list'\n\n initialize: ->\n @autocomplete_view = @options.autocomplete_view\n @autocomplete_view.delegate = this\n super\n\n itemClass: ->\n exports.ListItem\n\n resolvedCollection: ->\n resolved = @collection.chain()\n for token in @autocomplete_view.tokens\n model = token.object\n resolved = if model instanceof SensuDashboard.Models.Check\n resolved.filter (record) ->\n record.get('check') == model.get('name')\n else if model instanceof SensuDashboard.Models.Client\n resolved.filter (record) ->\n record.get('client') == model.get('name')\n else if _.isString(model)\n resolved.filter (record) ->\n liquidMetal.score(record.get('output'), model) > 0.7\n\n resolved\n\n renderCollection: ->\n @resolvedCollection().each (event) =>\n @renderItem(event)\n\n #\n # Autocomplete delegate\n #\n\n filtersUpdated: ->\n @render()\n","new_contents":"namespace 'SensuDashboard.Views.Events', (exports) ->\n\n class exports.List extends SensuDashboard.Views.List\n\n name: 'events\/list'\n\n initialize: ->\n @autocomplete_view = @options.autocomplete_view\n @autocomplete_view.delegate = this\n super\n\n itemClass: ->\n exports.ListItem\n\n resolvedCollection: ->\n resolved = @collection.chain()\n for token in @autocomplete_view.tokens\n model = token.object\n resolved = if model instanceof SensuDashboard.Models.Check\n resolved.filter (record) ->\n record.get('check') == model.get('name')\n else if model instanceof SensuDashboard.Models.Client\n resolved.filter (record) ->\n record.get('client') == model.get('name')\n else if _.isString(model)\n resolved.filter (record) ->\n output = record.get('output').toLowerCase()\n output.indexOf(model.toLowerCase()) != -1\n\n resolved\n\n renderCollection: ->\n @resolvedCollection().each (event) =>\n @renderItem(event)\n\n #\n # Autocomplete delegate\n #\n\n filtersUpdated: ->\n @render()\n","subject":"Use strpos for faster event output filtering","message":"Use strpos for faster event output filtering\n","lang":"CoffeeScript","license":"mit","repos":"pantheon-systems\/sensu-dashboard,pantheon-systems\/sensu-dashboard,sensu\/sensu-dashboard,sensu\/sensu-dashboard"} {"commit":"9da5772148174a4a09932935c5a0e4b87a3644a1","old_file":"lineman\/app\/js\/controllers\/proposal_pie_chart_controller.coffee","new_file":"lineman\/app\/js\/controllers\/proposal_pie_chart_controller.coffee","old_contents":"angular.module('loomioApp').controller 'ProposalPieChartController', ($scope) ->\n\n $scope.pieChartData = [\n { value : 0, color : \"#90D490\" },\n { value : 0, color : \"#F0BB67\" },\n { value : 0, color : \"#D49090\" },\n { value : 0, color : \"#dd0000\"}\n ]\n\n $scope.pieChartOptions =\n animation: false\n segmentShowStroke: true\n segmentStrokeColor: \"#fff\"\n responsive: false\n\n refreshPieChartData = ->\n return unless $scope.proposal\n counts = $scope.proposal.voteCounts\n # yeah - this is done to preseve the view binding on the pieChartData\n $scope.pieChartData[0].value = counts.yes\n $scope.pieChartData[1].value = counts.abstain\n $scope.pieChartData[2].value = counts.no\n $scope.pieChartData[3].value = counts.block\n\n $scope.$watch 'proposal.voteCounts', ->\n refreshPieChartData()\n","new_contents":"angular.module('loomioApp').controller 'ProposalPieChartController', ($scope) ->\n\n $scope.pieChartData = [\n { value : 0, color : \"#90D490\" },\n { value : 0, color : \"#F0BB67\" },\n { value : 0, color : \"#D49090\" },\n { value : 0, color : \"#dd0000\" },\n { value : 0, color : \"#cccccc\" }\n ]\n\n $scope.pieChartOptions =\n animation: false\n segmentShowStroke: true\n segmentStrokeColor: \"#fff\"\n responsive: false\n\n refreshPieChartData = ->\n return unless $scope.proposal\n counts = $scope.proposal.voteCounts\n hasAnyVotes = counts.yes + counts.abstain + counts.no + counts.block > 0\n $scope.pieChartData[0].value = counts.yes\n $scope.pieChartData[1].value = counts.abstain\n $scope.pieChartData[2].value = counts.no\n $scope.pieChartData[3].value = counts.block\n $scope.pieChartData[4].value = if hasAnyVotes then 0 else 1\n\n $scope.$watch 'proposal.voteCounts', ->\n refreshPieChartData()\n","subject":"Make empty pie chart appear on proposal page","message":"Make empty pie chart appear on proposal page\n","lang":"CoffeeScript","license":"agpl-3.0","repos":"mhjb\/loomio,mhjb\/loomio,tachyons\/loomio,aca13jmf\/loomio,Collabforge\/site-collabio,isomerase\/loomio,digideskio\/loomio,juliagra\/loomio,wangjun\/loomio,wangjun\/loomio,codingnutty\/loomio,FSFTN\/Loomio,Collabforge\/site-collabio,HadoDokis\/loomio,juliagra\/loomio,FSFTN\/Loomio,aca13jmf\/loomio,piratas-ar\/loomio,isomerase\/loomio,doomergithub\/loomio,piratas-ar\/loomio,HadoDokis\/loomio,Collabforge\/site-collabio,labhackercd\/loomio,sicambria\/loomio,labhackercd\/loomio,loomio\/loomio,loomio\/loomio,HadoDokis\/loomio,loomio\/loomio,tachyons\/loomio,HadoDokis\/loomio,mlarghydracept\/loomio,gvalerin\/loomio,tachyons\/loomio,loomio\/loomio,Collabforge\/site-collabio,juliagra\/DBCloomio,sicambria\/loomio,mlarghydracept\/loomio,mhjb\/loomio,isomerase\/loomio,digideskio\/loomio,digideskio\/loomio,kimihito\/loomio,labhackercd\/loomio,codingnutty\/loomio,gvalerin\/loomio,piratas-ar\/loomio,juliagra\/DBCloomio,kimihito\/loomio,gvalerin\/loomio,piratas-ar\/loomio,labhackercd\/loomio,doomergithub\/loomio,wangjun\/loomio,isomerase\/loomio,doomergithub\/loomio,juliagra\/DBCloomio,juliagra\/loomio,sicambria\/loomio,kimihito\/loomio,mlarghydracept\/loomio,annewchen\/loomio,mhjb\/loomio,codingnutty\/loomio,aca13jmf\/loomio,FSFTN\/Loomio,tachyons\/loomio,sicambria\/loomio,annewchen\/loomio,annewchen\/loomio,FSFTN\/Loomio"} {"commit":"e0f09b4fd3ce603ae7de83eb89b0aa6efeb89ec6","old_file":"src\/rebuild-module-cache.coffee","new_file":"src\/rebuild-module-cache.coffee","old_contents":"path = require 'path'\nasync = require 'async'\nCommand = require '.\/command'\nconfig = require '.\/config'\nfs = require '.\/fs'\n\nmodule.exports =\nclass RebuildModuleCache extends Command\n @commandNames: ['rebuild-module-cache']\n\n constructor: ->\n @atomPackagesDirectory = path.join(config.getAtomDirectory(), 'packages')\n\n getResourcePath: (callback) ->\n if @resourcePath\n process.nextTick => callback(@resourcePath)\n else\n config.getResourcePath (@resourcePath) => callback(@resourcePath)\n\n rebuild: (packageDirectory, callback) ->\n @getResourcePath (resourcePath) =>\n try\n @moduleCache ?= require(path.join(resourcePath, 'src', 'module-cache'))\n @moduleCache.create(packageDirectory)\n callback()\n catch error\n callback(error)\n\n run: (options) ->\n {callback} = options\n\n commands = []\n for packageName in fs.list(@atomPackagesDirectory)\n packageDirectory = path.join(@atomPackagesDirectory, packageName)\n continue if fs.isSymbolicLinkSync(packageDirectory)\n continue unless fs.isDirectorySync(packageDirectory)\n\n commands.push (callback) =>\n process.stdout.write \"Rebuilding #{packageName} module cache \"\n @rebuild packageDirectory, (error) =>\n if error?\n @logFailure()\n else\n @logSuccess()\n callback(error)\n\n async.waterfall(commands, callback)\n","new_contents":"path = require 'path'\nasync = require 'async'\nCommand = require '.\/command'\nconfig = require '.\/config'\nfs = require '.\/fs'\n\nmodule.exports =\nclass RebuildModuleCache extends Command\n @commandNames: ['rebuild-module-cache']\n\n constructor: ->\n @atomPackagesDirectory = path.join(config.getAtomDirectory(), 'packages')\n\n getResourcePath: (callback) ->\n if @resourcePath\n process.nextTick => callback(@resourcePath)\n else\n config.getResourcePath (@resourcePath) => callback(@resourcePath)\n\n rebuild: (packageDirectory, callback) ->\n @getResourcePath (resourcePath) =>\n try\n @moduleCache ?= require(path.join(resourcePath, 'src', 'module-cache'))\n @moduleCache.create(packageDirectory)\n callback()\n catch error\n callback(error)\n\n run: (options) ->\n {callback} = options\n\n commands = []\n fs.list(@atomPackagesDirectory).forEach (packageName) =>\n packageDirectory = path.join(@atomPackagesDirectory, packageName)\n return if fs.isSymbolicLinkSync(packageDirectory)\n return unless fs.isDirectorySync(packageDirectory)\n\n commands.push (callback) =>\n process.stdout.write \"Rebuilding #{packageName} module cache \"\n @rebuild packageDirectory, (error) =>\n if error?\n @logFailure()\n else\n @logSuccess()\n callback(error)\n\n async.waterfall(commands, callback)\n","subject":"Use forEach to iterate over package folders","message":"Use forEach to iterate over package folders\n","lang":"CoffeeScript","license":"mit","repos":"gutsy\/apm,bronson\/apm,ethanp\/apm,bcoe\/apm,jlord\/apm,jlord\/apm,AtaraxiaEta\/apm,AtaraxiaEta\/apm,jlord\/apm,ethanp\/apm,jlord\/apm,VandeurenGlenn\/apm,pusateri\/apm,ethanp\/apm,jlord\/apm,ethanp\/apm,gutsy\/apm,atom\/apm,bcoe\/apm,bronson\/apm,VandeurenGlenn\/apm,fscherwi\/apm,bronson\/apm,atom\/apm,pusateri\/apm,bcoe\/apm,VandeurenGlenn\/apm,bcoe\/apm,atom\/apm,bcoe\/apm,pusateri\/apm,fscherwi\/apm,fscherwi\/apm,fscherwi\/apm,jlord\/apm,bcoe\/apm,VandeurenGlenn\/apm,bronson\/apm,AtaraxiaEta\/apm,AtaraxiaEta\/apm,VandeurenGlenn\/apm,fscherwi\/apm,AtaraxiaEta\/apm,atom\/apm,VandeurenGlenn\/apm,gutsy\/apm,fscherwi\/apm,Nikpolik\/apm,pusateri\/apm,Nikpolik\/apm,Nikpolik\/apm,pusateri\/apm,pusateri\/apm,gutsy\/apm,AtaraxiaEta\/apm,Nikpolik\/apm,ethanp\/apm,ethanp\/apm"} {"commit":"0536ff00707cc9ddab3a4ba0740bca0e435c291e","old_file":"widgets\/lecturelist\/lecturelist.coffee","new_file":"widgets\/lecturelist\/lecturelist.coffee","old_contents":"class Dashing.Lecturelist extends Dashing.Widget\n \n ready: ->\n @currentIndex = 0\n @items = $(@node).find('li')\n @items.hide()\n @nextItem()\n @startCarousel()\n\n onData: (data) ->\n @currentIndex = 0\n i = 0\n if data.items.length == 0\n @set 'empty', true\n \n startCarousel: ->\n setInterval(@nextItem, 10000)\n \n nextItem: =>\n items = @get('items')\n if items\n $(items[@currentIndex]).fadeOut =>\n @currentIndex = (@currentIndex + 1) % items.length\n $(items[@currentIndex]).fadeIn()\n ","new_contents":"class Dashing.Lecturelist extends Dashing.Widget\n \n ready: ->\n @currentIndex = 0\n @items = $(@node).find('li')\n @items.hide()\n @nextItem()\n @startCarousel()\n\n onData: (data) ->\n @currentIndex = 0\n i = 0\n if data.items.length == 0\n @set 'empty', true\n \n startCarousel: ->\n setInterval(@nextItem, 10000)\n \n nextItem: =>\n items = @get('items')\n if items\n $(items[@currentIndex]).fadeOut =>\n $(@node).find(\".progress span:last-child\").removeClass('active')\n $(@node).find(\".progress span:nth-child(#{@currentIndex})\").removeClass('active')\n @currentIndex = (@currentIndex + 1) % items.length\n if @currentIndex == 0\n $(@node).find(\".progress span:last-child\").addClass('active')\n else\n $(@node).find(\".progress span:nth-child(#{@currentIndex})\").addClass('active')\n $(items[@currentIndex]).fadeIn()\n \n ","subject":"Change opacity of dots as lectures fade out and in","message":"Change opacity of dots as lectures fade out and in\n","lang":"CoffeeScript","license":"mit","repos":"theodi\/dashboards,theodi\/dashboards,theodi\/dashboards"} {"commit":"b2d05d2135a573e5bead0800e59f5ee7788aab3e","old_file":"app\/assets\/javascripts\/neighborly\/modules\/infinite-scroll.js.coffee","new_file":"app\/assets\/javascripts\/neighborly\/modules\/infinite-scroll.js.coffee","old_contents":"Neighborly.InfiniteScroll =\n setupScroll: ->\n _.bindAll(this, 'onScroll', 'onSuccess')\n this.$window().scroll(this.onScroll)\n\n fetchPage: ->\n # the isLoaderDivVisible check if the div is already in the view pane to load more content\n # the $loader.is(:visible) is here to avoid trigerring two concurrent fetchPage calls\n if this.isLoaderDivVisible() and not this.$loader.is(\":visible\") and not this.EOF\n this.$loader.show()\n $.get(this.path, this.filter).success this.onSuccess\n this.filter.page += 1\n\n onSuccess: (data) ->\n this.EOF = true if $.trim(data) is \"\"\n this.$results.append data\n this.$loader.hide()\n this.$el.trigger \"scroll:success\", data\n\n $window: ->\n $(window)\n\n isLoaderDivVisible: ->\n this.$loaderDiv.is(\":visible\") and this.$window().scrollTop() + this.$window().height() > this.$loaderDiv.offset().top\n\n onScroll: (event) ->\n this.fetchPage()\n","new_contents":"Neighborly.InfiniteScroll =\n setupScroll: ->\n _.bindAll(this, 'onScroll', 'onSuccess')\n this.$window().scroll(this.onScroll)\n\n fetchPage: ->\n # the isLoaderDivVisible check if the div is already in the view pane to load more content\n # the $loader.is(:visible) is here to avoid trigerring two concurrent fetchPage calls\n if this.isLoaderDivVisible() and not this.$loader.is(\":visible\") and not this.EOF\n this.$loader.show()\n $.get(this.path, this.filter).success this.onSuccess\n this.filter.page += 1\n\n onSuccess: (data) ->\n this.EOF = true if $.trim(data) is \"\"\n this.$results.append data unless this.use_custom_append? && this.use_custom_append == true\n this.$loader.hide()\n this.$el.trigger \"scroll:success\", data\n\n $window: ->\n $(window)\n\n isLoaderDivVisible: ->\n this.$loaderDiv.is(\":visible\") and this.$window().scrollTop() + this.$window().height() > this.$loaderDiv.offset().top\n\n onScroll: (event) ->\n this.fetchPage()\n","subject":"Add option to not append the data on infinite scroll module","message":"Add option to not append the data on infinite scroll module\n","lang":"CoffeeScript","license":"mit","repos":"jinutm\/silverclass,jinutm\/silveralms.com,jinutm\/silveralms.com,rockkhuya\/taydantay,jinutm\/silverpro,rockkhuya\/taydantay,raksonibs\/raimcrowd,MicroPasts\/micropasts-crowdfunding,jinutm\/silverpro,gustavoguichard\/neighborly,jinutm\/silverprod,jinutm\/silvfinal,jinutm\/silverclass,gustavoguichard\/neighborly,jinutm\/silverme,jinutm\/silverme,jinutm\/silverpro,jinutm\/silveralms.com,jinutm\/silverclass,MicroPasts\/micropasts-crowdfunding,gustavoguichard\/neighborly,jinutm\/silverme,jinutm\/silvfinal,jinutm\/silvfinal,raksonibs\/raimcrowd,raksonibs\/raimcrowd,MicroPasts\/micropasts-crowdfunding,raksonibs\/raimcrowd,jinutm\/silverprod,rockkhuya\/taydantay,jinutm\/silverprod,MicroPasts\/micropasts-crowdfunding"} {"commit":"cc2da735c738852fcfaf4d60946b0e47c7eeac13","old_file":"app\/assets\/javascripts\/polls.js.coffee","new_file":"app\/assets\/javascripts\/polls.js.coffee","old_contents":"App.Polls =\n generateToken: ->\n rand = Math.random().toString(36).substr(2) # remove `0.`\n token = rand + rand # to make it longer\n return token\n\n replaceToken: ->\n for link in $('.js-question-answer')\n token_param = link.search.slice(-6)\n if token_param == \"token=\"\n link.href = link.href + @token\n\n initialize: ->\n @token = App.Polls.generateToken()\n App.Polls.replaceToken()\n\n $(\".js-question-answer\").on\n click: =>\n token_message = $(\".js-token-message\")\n if !token_message.is(':visible')\n token_message.html(token_message.html() + \"
\" + @token + \"<\/strong>\");\n token_message.show()\n false\n","new_contents":"App.Polls =\n generateToken: ->\n token = ''\n for n in [0..5]\n rand = Math.random().toString(36).substr(2) # remove `0.`\n token = token + rand;\n\n token = token.substring(0, 64)\n return token\n\n replaceToken: ->\n for link in $('.js-question-answer')\n token_param = link.search.slice(-6)\n if token_param == \"token=\"\n link.href = link.href + @token\n\n initialize: ->\n @token = App.Polls.generateToken()\n App.Polls.replaceToken()\n\n $(\".js-question-answer\").on\n click: =>\n token_message = $(\".js-token-message\")\n if !token_message.is(':visible')\n token_message.html(token_message.html() + \"
\" + @token + \"<\/strong>\");\n token_message.show()\n false\n","subject":"Set token to 64 characters","message":"Set token to 64 characters\n","lang":"CoffeeScript","license":"agpl-3.0","repos":"consul\/consul,consul\/consul,AjuntamentdeCastello\/consul,consul\/consul,usabi\/consul_san_borondon,AyuntamientoPuertoReal\/decidePuertoReal,AyuntamientoMadrid\/participacion,CDJ11\/CDJ,AyuntamientoMadrid\/participacion,lalibertad\/consul,deivid-rodriguez\/participacion,AjuntamentdeCastello\/consul,AyuntamientoMadrid\/consul,lalibertad\/consul,AyuntamientoMadrid\/consul,consul\/consul,AyuntamientoPuertoReal\/decidePuertoReal,AjuntamentdeCastello\/consul,lalibertad\/consul,CDJ11\/CDJ,AyuntamientoMadrid\/consul,AyuntamientoMadrid\/participacion,AyuntamientoMadrid\/participacion,deivid-rodriguez\/participacion,consul\/consul,CDJ11\/CDJ,AjuntamentdeCastello\/consul,AyuntamientoPuertoReal\/decidePuertoReal,usabi\/consul_san_borondon,AyuntamientoMadrid\/consul,usabi\/consul_san_borondon,deivid-rodriguez\/participacion,deivid-rodriguez\/participacion,lalibertad\/consul,usabi\/consul_san_borondon,CDJ11\/CDJ"} {"commit":"c8a420e9311d48b7bcc02c19bad009b701d33de0","old_file":"keymaps\/tree-view.cson","new_file":"keymaps\/tree-view.cson","old_contents":"'body':\n 'meta-\\\\': 'tree-view:toggle'\n 'meta-|': 'tree-view:reveal-active-file'\n\n'.tree-view':\n 'right': 'tree-view:expand-directory'\n 'ctrl-]': 'tree-view:expand-directory'\n 'left': 'tree-view:collapse-directory'\n 'ctrl-[': 'tree-view:collapse-directory'\n 'enter': 'tree-view:open-selected-entry'\n 'm': 'tree-view:move'\n 'a': 'tree-view:add'\n 'delete': 'tree-view:remove'\n 'backspace': 'tree-view:remove'\n\n'.tree-view-dialog .mini.editor':\n 'enter': 'core:confirm'\n 'escape': 'core:cancel'\n","new_contents":"'body':\n 'meta-\\\\': 'tree-view:toggle'\n 'meta-|': 'tree-view:reveal-active-file'\n\n'.tree-view':\n 'right': 'tree-view:expand-directory'\n 'ctrl-]': 'tree-view:expand-directory'\n 'left': 'tree-view:collapse-directory'\n 'ctrl-[': 'tree-view:collapse-directory'\n 'enter': 'tree-view:open-selected-entry'\n 'm': 'tree-view:move'\n 'a': 'tree-view:add'\n 'delete': 'tree-view:remove'\n 'backspace': 'tree-view:remove'\n 'k': 'core:move-up'\n 'j': 'core:move-down'\n\n'.tree-view-dialog .mini.editor':\n 'enter': 'core:confirm'\n 'escape': 'core:cancel'\n","subject":"Support moving up\/down in tree view with k\/j keys","message":"Support moving up\/down in tree view with k\/j keys\n","lang":"CoffeeScript","license":"mit","repos":"tomekwi\/tree-view,ayumi\/tree-view,samu\/tree-view,ALEXGUOQ\/tree-view,jarig\/tree-view,learn-co\/learn-ide-tree,Galactix\/tree-view,thgaskell\/tree-view,cgrabowski\/webgl-studio-tree-view,matthewbauer\/tree-view,tbryant\/tree-view,benjaminRomano\/tree-view,atom\/tree-view,rajendrant\/tree-view-remote,jasonhinkle\/tree-view,pombredanne\/tree-view-1,laituan245\/tree-view"} {"commit":"df44a3c1e2268d623366e2d9ad9379548c9f4f92","old_file":"atom\/snippets.cson","new_file":"atom\/snippets.cson","old_contents":"# Your snippets\n#\n# Atom snippets allow you to enter a simple prefix in the editor and hit tab to\n# expand the prefix into a larger code block with templated values.\n#\n# You can create a new snippet in this file by typing \"snip\" and then hitting\n# tab.\n#\n# An example CoffeeScript snippet to expand log to console.log:\n#\n# '.source.coffee':\n# 'Console log':\n# 'prefix': 'log'\n# 'body': 'console.log $1'\n#\n# Each scope (e.g. '.source.coffee' above) can only be declared once.\n#\n# This file uses CoffeeScript Object Notation (CSON).\n# If you are unfamiliar with CSON, you can read more about it in the\n# Atom Flight Manual:\n# https:\/\/atom.io\/docs\/latest\/using-atom-basic-customization#cson\n\n'.source.js':\n 'Redux container':\n 'prefix': 'rcont'\n 'body': \"\"\"\n import { connect } from 'react-redux'\n\n import $1 from '..\/components\/$1'\n\n export default connect()($1)\n\n \"\"\"\n 'Stylesheet (React Native)':\n 'prefix': 'rnss'\n 'body': \"\"\"\n import { StyleSheet } from 'react-native'\n\n export default StyleSheet.create({\n })\n \n \"\"\"\n","new_contents":"# Your snippets\n#\n# Atom snippets allow you to enter a simple prefix in the editor and hit tab to\n# expand the prefix into a larger code block with templated values.\n#\n# You can create a new snippet in this file by typing \"snip\" and then hitting\n# tab.\n#\n# An example CoffeeScript snippet to expand log to console.log:\n#\n# '.source.coffee':\n# 'Console log':\n# 'prefix': 'log'\n# 'body': 'console.log $1'\n#\n# Each scope (e.g. '.source.coffee' above) can only be declared once.\n#\n# This file uses CoffeeScript Object Notation (CSON).\n# If you are unfamiliar with CSON, you can read more about it in the\n# Atom Flight Manual:\n# https:\/\/atom.io\/docs\/latest\/using-atom-basic-customization#cson\n\n'.source.js':\n 'Redux container':\n 'prefix': 'rcont'\n 'body': \"\"\"\n import { connect } from 'react-redux'\n\n import $1 from '..\/components\/$1'\n\n export default connect()($1)\n\n \"\"\"\n 'Stylesheet (React Native)':\n 'prefix': 'rnss'\n 'body': \"\"\"\n import { StyleSheet } from 'react-native'\n\n export default StyleSheet.create({\n $1\n })\n \n \"\"\"\n","subject":"Add a placeholder to rnss snippet","message":"Add a placeholder to rnss snippet\n\nThat way, the cursor ends up at the right place for entering styles.\n","lang":"CoffeeScript","license":"mit","repos":"randycoulman\/dotfiles"} {"commit":"7736e14ded0029545b2ba05b00b0d25dfbe9fe4a","old_file":"src\/util\/render.coffee","new_file":"src\/util\/render.coffee","old_contents":"{my} = require '..\/my'\n{draw} = require '.\/draw'\n\nexports.render = (root) ->\n T = root.T()\n get_style = (world) ->\n {\n border: \"1px solid #{world.get('stroke')}\"\n background: world.get 'fill'\n height: world.get 'height'\n width: world.get 'width'\n }\n render_children = (world) ->\n world.map_children (child) ->\n return draw(child) if child.get('path')?\n render_world(child)\n \n render_world = (world) ->\n dict = {\n id: world\n class: world.labels(['render', 'world'])\n style: get_style(world)\n }\n T.div dict, world.bind() -> render_children(world) \n \n render_world(root)\n","new_contents":"{my} = require '..\/my'\n{draw} = require '.\/draw'\n\nexports.render = (root) ->\n T = root.T()\n get_style = (world) ->\n {\n border: \"1px solid #{world.get('stroke')}\"\n background: world.get 'fill'\n height: world.get 'height'\n width: world.get 'width'\n position: 'absolute'\n left: world.get 'x'\n top: world.get 'y'\n }\n render_children = (world) ->\n results = world.map_children (child) ->\n return draw(child) if child.get('path')?\n render_world(child)\n name = world.get('name')\n results.push T.span(name) if name?\n results\n render_world = (world) ->\n dict = {\n id: world\n class: world.labels(['render', 'world'])\n style: get_style(world)\n }\n T.div dict, render_children(world) #world.bind() -> \n \n render_world(root)\n","subject":"Use x y positioning for controls","message":"Use x y positioning for controls\n","lang":"CoffeeScript","license":"isc","repos":"TheSwanFactory\/hourofnode,TheSwanFactory\/hourofnode"} {"commit":"a239fe2ee74e1db0f2aea62458d57a25265a9130","old_file":"lms\/static\/coffee\/src\/main.coffee","new_file":"lms\/static\/coffee\/src\/main.coffee","old_contents":"AjaxPrefix.addAjaxPrefix(jQuery, -> Courseware.prefix)\n\n$ ->\n $.ajaxSetup\n headers : { 'X-CSRFToken': $.cookie 'csrftoken' }\n dataType: 'json'\n\n window.onTouchBasedDevice = ->\n navigator.userAgent.match \/iPhone|iPod|iPad\/i\n\n $('body').addClass 'touch-based-device' if onTouchBasedDevice()\n\n # $(\"a[rel*=leanModal]\").leanModal()\n $('#csrfmiddlewaretoken').attr 'value', $.cookie('csrftoken')\n\n new Calculator\n new FeedbackForm\n if $('body').hasClass('courseware')\n Courseware.start()\n\n # Preserved for backward compatibility\n window.submit_circuit = (circuit_id) ->\n $(\"input.schematic\").each (index, el) ->\n el.schematic.update_value()\n\n schematic_value $(\"#schematic_#{circuit_id}\").attr(\"value\")\n $.postWithPrefix \"\/save_circuit\/#{circuit_id}\", schematic: schematic_value, (data) ->\n alert('Saved') if data.results == 'success'\n\n window.postJSON = (url, data, callback) ->\n $.postWithPrefix url, data, callback\n\n $('#login').click ->\n $('#login_form input[name=\"email\"]').focus()\n false\n\n $('#signup').click ->\n $('#signup-modal input[name=\"email\"]').focus()\n false\n","new_contents":"AjaxPrefix.addAjaxPrefix(jQuery, -> Courseware.prefix)\n\n$ ->\n $.ajaxSetup\n headers : { 'X-CSRFToken': $.cookie 'csrftoken' }\n dataType: 'json'\n\n window.onTouchBasedDevice = ->\n navigator.userAgent.match \/iPhone|iPod|iPad\/i\n\n $('body').addClass 'touch-based-device' if onTouchBasedDevice()\n\n # $(\"a[rel*=leanModal]\").leanModal()\n $('#csrfmiddlewaretoken').attr 'value', $.cookie('csrftoken')\n\n new Calculator\n new FeedbackForm\n if $('body').hasClass('courseware')\n Courseware.start()\n\n # Preserved for backward compatibility\n window.submit_circuit = (circuit_id) ->\n $(\"input.schematic\").each (index, el) ->\n el.schematic.update_value()\n\n schematic_value $(\"#schematic_#{circuit_id}\").attr(\"value\")\n $.postWithPrefix \"\/save_circuit\/#{circuit_id}\", schematic: schematic_value, (data) ->\n alert('Saved') if data.results == 'success'\n\n window.postJSON = (url, data, callback) ->\n $.postWithPrefix url, data, callback\n\n $('#login').click ->\n $('#login_form input[name=\"email\"]').focus()\n _gaq.push(['_trackPageview', '\/login'])\n false\n\n $('#signup').click ->\n $('#signup-modal input[name=\"email\"]').focus()\n _gaq.push(['_trackPageview', '\/signup'])\n false\n","subject":"Add google analytics to model signup and login panels","message":"Add google analytics to model signup and login panels\n\n[# 40805407]\n","lang":"CoffeeScript","license":"agpl-3.0","repos":"wwj718\/ANALYSE,cpennington\/edx-platform,hamzehd\/edx-platform,benpatterson\/edx-platform,cecep-edu\/edx-platform,Livit\/Livit.Learn.EdX,eestay\/edx-platform,chauhanhardik\/populo,openfun\/edx-platform,UOMx\/edx-platform,OmarIthawi\/edx-platform,kamalx\/edx-platform,playm2mboy\/edx-platform,pepeportela\/edx-platform,apigee\/edx-platform,kxliugang\/edx-platform,ahmadio\/edx-platform,cognitiveclass\/edx-platform,bigdatauniversity\/edx-platform,rue89-tech\/edx-platform,AkA84\/edx-platform,openfun\/edx-platform,PepperPD\/edx-pepper-platform,jamiefolsom\/edx-platform,bigdatauniversity\/edx-platform,mahendra-r\/edx-platform,nttks\/edx-platform,IITBinterns13\/edx-platform-dev,kalebhartje\/schoolboost,zubair-arbi\/edx-platform,teltek\/edx-platform,prarthitm\/edxplatform,caesar2164\/edx-platform,iivic\/BoiseStateX,morenopc\/edx-platform,Stanford-Online\/edx-platform,mjirayu\/sit_academy,msegado\/edx-platform,IITBinterns13\/edx-platform-dev,Semi-global\/edx-platform,hkawasaki\/kawasaki-aio8-0,polimediaupv\/edx-platform,ESOedX\/edx-platform,a-parhom\/edx-platform,dsajkl\/123,pelikanchik\/edx-platform,knehez\/edx-platform,ahmadio\/edx-platform,yokose-ks\/edx-platform,hmcmooc\/muddx-platform,sudheerchintala\/LearnEraPlatForm,sudheerchintala\/LearnEraPlatForm,IndonesiaX\/edx-platform,Lektorium-LLC\/edx-platform,edx-solutions\/edx-platform,DefyVentures\/edx-platform,EduPepperPDTesting\/pepper2013-testing,rationalAgent\/edx-platform-custom,itsjeyd\/edx-platform,shurihell\/testasia,shurihell\/testasia,shabab12\/edx-platform,martynovp\/edx-platform,ak2703\/edx-platform,B-MOOC\/edx-platform,beacloudgenius\/edx-platform,Kalyzee\/edx-platform,Ayub-Khan\/edx-platform,JCBarahona\/edX,jamesblunt\/edx-platform,TsinghuaX\/edx-platform,devs1991\/test_edx_docmode,jamiefolsom\/edx-platform,mtlchun\/edx,ovnicraft\/edx-platform,jswope00\/griffinx,openfun\/edx-platform,beacloudgenius\/edx-platform,shubhdev\/edx-platform,nanolearning\/edx-platform,Endika\/edx-platform,DNFcode\/edx-platform,jswope00\/GAI,philanthropy-u\/edx-platform,zubair-arbi\/edx-platform,EduPepperPD\/pepper2013,jbzdak\/edx-platform,cselis86\/edx-platform,Lektorium-LLC\/edx-platform,zofuthan\/edx-platform,fly19890211\/edx-platform,ahmadio\/edx-platform,10clouds\/edx-platform,Endika\/edx-platform,eemirtekin\/edx-platform,ahmadiga\/min_edx,eemirtekin\/edx-platform,Edraak\/circleci-edx-platform,Edraak\/edx-platform,mitocw\/edx-platform,philanthropy-u\/edx-platform,mjirayu\/sit_academy,appliedx\/edx-platform,knehez\/edx-platform,solashirai\/edx-platform,eduNEXT\/edx-platform,bigdatauniversity\/edx-platform,bitifirefly\/edx-platform,morenopc\/edx-platform,gsehub\/edx-platform,leansoft\/edx-platform,rhndg\/openedx,mjirayu\/sit_academy,BehavioralInsightsTeam\/edx-platform,chudaol\/edx-platform,AkA84\/edx-platform,fly19890211\/edx-platform,waheedahmed\/edx-platform,ESOedX\/edx-platform,edry\/edx-platform,peterm-itr\/edx-platform,halvertoluke\/edx-platform,jazkarta\/edx-platform-for-isc,motion2015\/a3,lduarte1991\/edx-platform,edx\/edx-platform,4eek\/edx-platform,jbassen\/edx-platform,arbrandes\/edx-platform,procangroup\/edx-platform,carsongee\/edx-platform,shabab12\/edx-platform,fintech-circle\/edx-platform,4eek\/edx-platform,zubair-arbi\/edx-platform,B-MOOC\/edx-platform,amir-qayyum-khan\/edx-platform,jswope00\/griffinx,Ayub-Khan\/edx-platform,Edraak\/edraak-platform,bitifirefly\/edx-platform,TeachAtTUM\/edx-platform,yokose-ks\/edx-platform,dcosentino\/edx-platform,mjirayu\/sit_academy,atsolakid\/edx-platform,BehavioralInsightsTeam\/edx-platform,dcosentino\/edx-platform,ubc\/edx-platform,nanolearningllc\/edx-platform-cypress-2,AkA84\/edx-platform,Semi-global\/edx-platform,wwj718\/edx-platform,PepperPD\/edx-pepper-platform,Stanford-Online\/edx-platform,kmoocdev\/edx-platform,jbassen\/edx-platform,hkawasaki\/kawasaki-aio8-1,stvstnfrd\/edx-platform,motion2015\/a3,leansoft\/edx-platform,mjg2203\/edx-platform-seas,raccoongang\/edx-platform,iivic\/BoiseStateX,kamalx\/edx-platform,kalebhartje\/schoolboost,10clouds\/edx-platform,xuxiao19910803\/edx-platform,waheedahmed\/edx-platform,xuxiao19910803\/edx,CredoReference\/edx-platform,shashank971\/edx-platform,PepperPD\/edx-pepper-platform,chrisndodge\/edx-platform,defance\/edx-platform,UXE\/local-edx,zofuthan\/edx-platform,cognitiveclass\/edx-platform,nagyistoce\/edx-platform,jolyonb\/edx-platform,jamesblunt\/edx-platform,atsolakid\/edx-platform,doganov\/edx-platform,teltek\/edx-platform,abdoosh00\/edx-rtl-final,dsajkl\/123,jbzdak\/edx-platform,deepsrijit1105\/edx-platform,prarthitm\/edxplatform,wwj718\/ANALYSE,fly19890211\/edx-platform,jruiperezv\/ANALYSE,dsajkl\/123,shubhdev\/edx-platform,IITBinterns13\/edx-platform-dev,motion2015\/a3,jelugbo\/tundex,nttks\/edx-platform,SravanthiSinha\/edx-platform,xingyepei\/edx-platform,marcore\/edx-platform,ovnicraft\/edx-platform,J861449197\/edx-platform,xuxiao19910803\/edx-platform,y12uc231\/edx-platform,ahmedaljazzar\/edx-platform,zerobatu\/edx-platform,angelapper\/edx-platform,EDUlib\/edx-platform,ahmadio\/edx-platform,SivilTaram\/edx-platform,Edraak\/circleci-edx-platform,simbs\/edx-platform,martynovp\/edx-platform,morenopc\/edx-platform,hamzehd\/edx-platform,jazztpt\/edx-platform,shubhdev\/edxOnBaadal,eestay\/edx-platform,IONISx\/edx-platform,EduPepperPDTesting\/pepper2013-testing,Edraak\/circleci-edx-platform,nttks\/jenkins-test,pelikanchik\/edx-platform,pabloborrego93\/edx-platform,caesar2164\/edx-platform,pdehaye\/theming-edx-platform,cselis86\/edx-platform,morenopc\/edx-platform,dkarakats\/edx-platform,pku9104038\/edx-platform,SravanthiSinha\/edx-platform,dcosentino\/edx-platform,SravanthiSinha\/edx-platform,Semi-global\/edx-platform,chrisndodge\/edx-platform,playm2mboy\/edx-platform,jruiperezv\/ANALYSE,mjg2203\/edx-platform-seas,shubhdev\/edxOnBaadal,louyihua\/edx-platform,zhenzhai\/edx-platform,UOMx\/edx-platform,antoviaque\/edx-platform,hastexo\/edx-platform,shashank971\/edx-platform,jonathan-beard\/edx-platform,SivilTaram\/edx-platform,Shrhawk\/edx-platform,shubhdev\/edxOnBaadal,4eek\/edx-platform,arbrandes\/edx-platform,naresh21\/synergetics-edx-platform,10clouds\/edx-platform,eemirtekin\/edx-platform,andyzsf\/edx,LICEF\/edx-platform,mahendra-r\/edx-platform,tanmaykm\/edx-platform,abdoosh00\/edx-rtl-final,solashirai\/edx-platform,abdoosh00\/edraak,chauhanhardik\/populo_2,arifsetiawan\/edx-platform,LICEF\/edx-platform,kursitet\/edx-platform,mahendra-r\/edx-platform,mushtaqak\/edx-platform,alexthered\/kienhoc-platform,valtech-mooc\/edx-platform,DNFcode\/edx-platform,eemirtekin\/edx-platform,alu042\/edx-platform,abdoosh00\/edraak,jamiefolsom\/edx-platform,y12uc231\/edx-platform,miptliot\/edx-platform,wwj718\/ANALYSE,Ayub-Khan\/edx-platform,Stanford-Online\/edx-platform,adoosii\/edx-platform,MSOpenTech\/edx-platform,mbareta\/edx-platform-ft,playm2mboy\/edx-platform,kursitet\/edx-platform,nanolearningllc\/edx-platform-cypress,knehez\/edx-platform,analyseuc3m\/ANALYSE-v1,a-parhom\/edx-platform,xinjiguaike\/edx-platform,zadgroup\/edx-platform,auferack08\/edx-platform,UXE\/local-edx,wwj718\/edx-platform,a-parhom\/edx-platform,wwj718\/edx-platform,fly19890211\/edx-platform,LICEF\/edx-platform,rismalrv\/edx-platform,cyanna\/edx-platform,procangroup\/edx-platform,J861449197\/edx-platform,jswope00\/GAI,angelapper\/edx-platform,mitocw\/edx-platform,simbs\/edx-platform,valtech-mooc\/edx-platform,sameetb-cuelogic\/edx-platform-test,ZLLab-Mooc\/edx-platform,andyzsf\/edx,wwj718\/ANALYSE,longmen21\/edx-platform,Kalyzee\/edx-platform,xuxiao19910803\/edx-platform,praveen-pal\/edx-platform,analyseuc3m\/ANALYSE-v1,carsongee\/edx-platform,apigee\/edx-platform,tiagochiavericosta\/edx-platform,zhenzhai\/edx-platform,zofuthan\/edx-platform,CourseTalk\/edx-platform,syjeon\/new_edx,utecuy\/edx-platform,MSOpenTech\/edx-platform,iivic\/BoiseStateX,chauhanhardik\/populo,jjmiranda\/edx-platform,TsinghuaX\/edx-platform,J861449197\/edx-platform,vismartltd\/edx-platform,nttks\/jenkins-test,rhndg\/openedx,edx\/edx-platform,devs1991\/test_edx_docmode,gsehub\/edx-platform,ferabra\/edx-platform,defance\/edx-platform,marcore\/edx-platform,TsinghuaX\/edx-platform,jonathan-beard\/edx-platform,dsajkl\/reqiop,TeachAtTUM\/edx-platform,torchingloom\/edx-platform,shubhdev\/openedx,jruiperezv\/ANALYSE,zadgroup\/edx-platform,syjeon\/new_edx,kxliugang\/edx-platform,yokose-ks\/edx-platform,adoosii\/edx-platform,apigee\/edx-platform,chrisndodge\/edx-platform,arbrandes\/edx-platform,prarthitm\/edxplatform,Unow\/edx-platform,IndonesiaX\/edx-platform,don-github\/edx-platform,kmoocdev\/edx-platform,Edraak\/edraak-platform,Ayub-Khan\/edx-platform,a-parhom\/edx-platform,rhndg\/openedx,lduarte1991\/edx-platform,JioEducation\/edx-platform,jolyonb\/edx-platform,pepeportela\/edx-platform,ZLLab-Mooc\/edx-platform,mushtaqak\/edx-platform,ZLLab-Mooc\/edx-platform,DefyVentures\/edx-platform,EduPepperPDTesting\/pepper2013-testing,dkarakats\/edx-platform,miptliot\/edx-platform,chauhanhardik\/populo_2,mushtaqak\/edx-platform,polimediaupv\/edx-platform,yokose-ks\/edx-platform,chauhanhardik\/populo_2,chudaol\/edx-platform,nikolas\/edx-platform,RPI-OPENEDX\/edx-platform,vikas1885\/test1,nagyistoce\/edx-platform,bigdatauniversity\/edx-platform,kxliugang\/edx-platform,OmarIthawi\/edx-platform,rue89-tech\/edx-platform,franosincic\/edx-platform,zubair-arbi\/edx-platform,procangroup\/edx-platform,nttks\/jenkins-test,unicri\/edx-platform,eduNEXT\/edx-platform,shubhdev\/edxOnBaadal,cecep-edu\/edx-platform,jamiefolsom\/edx-platform,PepperPD\/edx-pepper-platform,caesar2164\/edx-platform,DefyVentures\/edx-platform,hamzehd\/edx-platform,olexiim\/edx-platform,Edraak\/circleci-edx-platform,Kalyzee\/edx-platform,kmoocdev2\/edx-platform,tanmaykm\/edx-platform,inares\/edx-platform,shabab12\/edx-platform,dkarakats\/edx-platform,cpennington\/edx-platform,abdoosh00\/edx-rtl-final,antonve\/s4-project-mooc,alu042\/edx-platform,rationalAgent\/edx-platform-custom,zerobatu\/edx-platform,dsajkl\/reqiop,jzoldak\/edx-platform,jzoldak\/edx-platform,hmcmooc\/muddx-platform,arifsetiawan\/edx-platform,shubhdev\/edx-platform,rhndg\/openedx,jamiefolsom\/edx-platform,y12uc231\/edx-platform,appsembler\/edx-platform,kmoocdev\/edx-platform,kmoocdev2\/edx-platform,TsinghuaX\/edx-platform,zadgroup\/edx-platform,Shrhawk\/edx-platform,angelapper\/edx-platform,simbs\/edx-platform,arifsetiawan\/edx-platform,nanolearningllc\/edx-platform-cypress,inares\/edx-platform,IndonesiaX\/edx-platform,zhenzhai\/edx-platform,naresh21\/synergetics-edx-platform,rismalrv\/edx-platform,pdehaye\/theming-edx-platform,angelapper\/edx-platform,Edraak\/edx-platform,jazztpt\/edx-platform,shurihell\/testasia,mcgachey\/edx-platform,dkarakats\/edx-platform,antoviaque\/edx-platform,Shrhawk\/edx-platform,etzhou\/edx-platform,hkawasaki\/kawasaki-aio8-2,ubc\/edx-platform,doismellburning\/edx-platform,naresh21\/synergetics-edx-platform,EduPepperPDTesting\/pepper2013-testing,chand3040\/cloud_that,valtech-mooc\/edx-platform,doganov\/edx-platform,mushtaqak\/edx-platform,nikolas\/edx-platform,xinjiguaike\/edx-platform,IONISx\/edx-platform,don-github\/edx-platform,hkawasaki\/kawasaki-aio8-2,philanthropy-u\/edx-platform,IONISx\/edx-platform,vasyarv\/edx-platform,MSOpenTech\/edx-platform,nagyistoce\/edx-platform,cognitiveclass\/edx-platform,nikolas\/edx-platform,chand3040\/cloud_that,unicri\/edx-platform,hkawasaki\/kawasaki-aio8-1,y12uc231\/edx-platform,ampax\/edx-platform,analyseuc3m\/ANALYSE-v1,edx-solutions\/edx-platform,praveen-pal\/edx-platform,raccoongang\/edx-platform,rationalAgent\/edx-platform-custom,MakeHer\/edx-platform,alexthered\/kienhoc-platform,kmoocdev2\/edx-platform,inares\/edx-platform,SivilTaram\/edx-platform,chand3040\/cloud_that,arifsetiawan\/edx-platform,longmen21\/edx-platform,stvstnfrd\/edx-platform,utecuy\/edx-platform,rismalrv\/edx-platform,wwj718\/edx-platform,pku9104038\/edx-platform,CourseTalk\/edx-platform,unicri\/edx-platform,ferabra\/edx-platform,doganov\/edx-platform,Softmotions\/edx-platform,lduarte1991\/edx-platform,msegado\/edx-platform,EduPepperPDTesting\/pepper2013-testing,playm2mboy\/edx-platform,4eek\/edx-platform,shubhdev\/openedx,EduPepperPD\/pepper2013,stvstnfrd\/edx-platform,atsolakid\/edx-platform,Softmotions\/edx-platform,tanmaykm\/edx-platform,mtlchun\/edx,Edraak\/edx-platform,eduNEXT\/edunext-platform,sameetb-cuelogic\/edx-platform-test,nagyistoce\/edx-platform,dsajkl\/123,pdehaye\/theming-edx-platform,jswope00\/GAI,zhenzhai\/edx-platform,jelugbo\/tundex,hastexo\/edx-platform,xingyepei\/edx-platform,JCBarahona\/edX,gymnasium\/edx-platform,vismartltd\/edx-platform,alexthered\/kienhoc-platform,RPI-OPENEDX\/edx-platform,ahmedaljazzar\/edx-platform,morpheby\/levelup-by,ahmedaljazzar\/edx-platform,fintech-circle\/edx-platform,appsembler\/edx-platform,proversity-org\/edx-platform,torchingloom\/edx-platform,EduPepperPD\/pepper2013,jazztpt\/edx-platform,pomegranited\/edx-platform,ahmadiga\/min_edx,LICEF\/edx-platform,procangroup\/edx-platform,cselis86\/edx-platform,antoviaque\/edx-platform,synergeticsedx\/deployment-wipro,mushtaqak\/edx-platform,itsjeyd\/edx-platform,itsjeyd\/edx-platform,zerobatu\/edx-platform,jbassen\/edx-platform,hamzehd\/edx-platform,jzoldak\/edx-platform,shubhdev\/openedx,tanmaykm\/edx-platform,xingyepei\/edx-platform,cecep-edu\/edx-platform,beacloudgenius\/edx-platform,xinjiguaike\/edx-platform,jruiperezv\/ANALYSE,jelugbo\/tundex,Kalyzee\/edx-platform,abdoosh00\/edraak,iivic\/BoiseStateX,UOMx\/edx-platform,EDUlib\/edx-platform,kamalx\/edx-platform,wwj718\/edx-platform,y12uc231\/edx-platform,LICEF\/edx-platform,nanolearningllc\/edx-platform-cypress-2,motion2015\/a3,EduPepperPDTesting\/pepper2013-testing,jamesblunt\/edx-platform,gsehub\/edx-platform,halvertoluke\/edx-platform,romain-li\/edx-platform,cyanna\/edx-platform,valtech-mooc\/edx-platform,CourseTalk\/edx-platform,pomegranited\/edx-platform,WatanabeYasumasa\/edx-platform,adoosii\/edx-platform,edx\/edx-platform,jzoldak\/edx-platform,fintech-circle\/edx-platform,alexthered\/kienhoc-platform,carsongee\/edx-platform,jazztpt\/edx-platform,rue89-tech\/edx-platform,simbs\/edx-platform,mbareta\/edx-platform-ft,LearnEra\/LearnEraPlaftform,Softmotions\/edx-platform,longmen21\/edx-platform,motion2015\/edx-platform,motion2015\/edx-platform,cognitiveclass\/edx-platform,IONISx\/edx-platform,louyihua\/edx-platform,CredoReference\/edx-platform,shurihell\/testasia,nttks\/edx-platform,mjg2203\/edx-platform-seas,10clouds\/edx-platform,etzhou\/edx-platform,hmcmooc\/muddx-platform,waheedahmed\/edx-platform,mcgachey\/edx-platform,xuxiao19910803\/edx,deepsrijit1105\/edx-platform,antonve\/s4-project-mooc,hkawasaki\/kawasaki-aio8-2,IndonesiaX\/edx-platform,doismellburning\/edx-platform,halvertoluke\/edx-platform,IONISx\/edx-platform,nanolearningllc\/edx-platform-cypress,jbzdak\/edx-platform,adoosii\/edx-platform,utecuy\/edx-platform,praveen-pal\/edx-platform,ovnicraft\/edx-platform,antonve\/s4-project-mooc,xuxiao19910803\/edx-platform,jazkarta\/edx-platform,DNFcode\/edx-platform,zofuthan\/edx-platform,auferack08\/edx-platform,syjeon\/new_edx,cpennington\/edx-platform,olexiim\/edx-platform,solashirai\/edx-platform,Endika\/edx-platform,leansoft\/edx-platform,jazkarta\/edx-platform-for-isc,waheedahmed\/edx-platform,Lektorium-LLC\/edx-platform,jswope00\/griffinx,iivic\/BoiseStateX,dcosentino\/edx-platform,jazkarta\/edx-platform,WatanabeYasumasa\/edx-platform,gymnasium\/edx-platform,Edraak\/circleci-edx-platform,nttks\/jenkins-test,mtlchun\/edx,miptliot\/edx-platform,chand3040\/cloud_that,jonathan-beard\/edx-platform,jjmiranda\/edx-platform,nttks\/jenkins-test,jonathan-beard\/edx-platform,hastexo\/edx-platform,shabab12\/edx-platform,ampax\/edx-platform-backup,doismellburning\/edx-platform,doismellburning\/edx-platform,MSOpenTech\/edx-platform,proversity-org\/edx-platform,JCBarahona\/edX,rismalrv\/edx-platform,hkawasaki\/kawasaki-aio8-1,jazkarta\/edx-platform-for-isc,pku9104038\/edx-platform,synergeticsedx\/deployment-wipro,olexiim\/edx-platform,stvstnfrd\/edx-platform,bigdatauniversity\/edx-platform,eestay\/edx-platform,gsehub\/edx-platform,beacloudgenius\/edx-platform,martynovp\/edx-platform,beni55\/edx-platform,xuxiao19910803\/edx,etzhou\/edx-platform,JioEducation\/edx-platform,chand3040\/cloud_that,cognitiveclass\/edx-platform,shurihell\/testasia,nanolearningllc\/edx-platform-cypress-2,nanolearningllc\/edx-platform-cypress,arifsetiawan\/edx-platform,zerobatu\/edx-platform,jswope00\/griffinx,motion2015\/edx-platform,openfun\/edx-platform,eduNEXT\/edunext-platform,Ayub-Khan\/edx-platform,appliedx\/edx-platform,knehez\/edx-platform,miptliot\/edx-platform,edry\/edx-platform,alu042\/edx-platform,shubhdev\/openedx,ak2703\/edx-platform,tiagochiavericosta\/edx-platform,EDUlib\/edx-platform,JioEducation\/edx-platform,eduNEXT\/edunext-platform,rismalrv\/edx-platform,shubhdev\/edxOnBaadal,martynovp\/edx-platform,ESOedX\/edx-platform,synergeticsedx\/deployment-wipro,sudheerchintala\/LearnEraPlatForm,vasyarv\/edx-platform,zhenzhai\/edx-platform,jbassen\/edx-platform,valtech-mooc\/edx-platform,eduNEXT\/edunext-platform,appsembler\/edx-platform,pelikanchik\/edx-platform,amir-qayyum-khan\/edx-platform,rue89-tech\/edx-platform,vasyarv\/edx-platform,hkawasaki\/kawasaki-aio8-0,don-github\/edx-platform,defance\/edx-platform,TeachAtTUM\/edx-platform,nanolearning\/edx-platform,rationalAgent\/edx-platform-custom,xuxiao19910803\/edx,antonve\/s4-project-mooc,bdero\/edx-platform,BehavioralInsightsTeam\/edx-platform,wwj718\/ANALYSE,kursitet\/edx-platform,teltek\/edx-platform,vasyarv\/edx-platform,antoviaque\/edx-platform,andyzsf\/edx,RPI-OPENEDX\/edx-platform,yokose-ks\/edx-platform,Livit\/Livit.Learn.EdX,jazkarta\/edx-platform-for-isc,vismartltd\/edx-platform,mahendra-r\/edx-platform,cyanna\/edx-platform,DNFcode\/edx-platform,ahmedaljazzar\/edx-platform,franosincic\/edx-platform,4eek\/edx-platform,ferabra\/edx-platform,xinjiguaike\/edx-platform,doismellburning\/edx-platform,jelugbo\/tundex,nagyistoce\/edx-platform,sameetb-cuelogic\/edx-platform-test,ferabra\/edx-platform,auferack08\/edx-platform,cecep-edu\/edx-platform,Edraak\/edx-platform,nanolearning\/edx-platform,zofuthan\/edx-platform,devs1991\/test_edx_docmode,DefyVentures\/edx-platform,nanolearningllc\/edx-platform-cypress-2,pomegranited\/edx-platform,SravanthiSinha\/edx-platform,syjeon\/new_edx,jazztpt\/edx-platform,bitifirefly\/edx-platform,inares\/edx-platform,praveen-pal\/edx-platform,AkA84\/edx-platform,Softmotions\/edx-platform,nikolas\/edx-platform,appliedx\/edx-platform,devs1991\/test_edx_docmode,jswope00\/GAI,mbareta\/edx-platform-ft,UXE\/local-edx,atsolakid\/edx-platform,jamesblunt\/edx-platform,OmarIthawi\/edx-platform,pabloborrego93\/edx-platform,ferabra\/edx-platform,zerobatu\/edx-platform,devs1991\/test_edx_docmode,ampax\/edx-platform-backup,SravanthiSinha\/edx-platform,kmoocdev2\/edx-platform,polimediaupv\/edx-platform,nanolearningllc\/edx-platform-cypress,itsjeyd\/edx-platform,B-MOOC\/edx-platform,devs1991\/test_edx_docmode,IITBinterns13\/edx-platform-dev,olexiim\/edx-platform,abdoosh00\/edraak,hkawasaki\/kawasaki-aio8-2,LearnEra\/LearnEraPlaftform,ubc\/edx-platform,romain-li\/edx-platform,romain-li\/edx-platform,mcgachey\/edx-platform,UXE\/local-edx,solashirai\/edx-platform,mcgachey\/edx-platform,chudaol\/edx-platform,bitifirefly\/edx-platform,ampax\/edx-platform-backup,ampax\/edx-platform,hamzehd\/edx-platform,Unow\/edx-platform,romain-li\/edx-platform,jazkarta\/edx-platform-for-isc,edry\/edx-platform,arbrandes\/edx-platform,jbassen\/edx-platform,cecep-edu\/edx-platform,peterm-itr\/edx-platform,Unow\/edx-platform,pepeportela\/edx-platform,eestay\/edx-platform,zubair-arbi\/edx-platform,Livit\/Livit.Learn.EdX,mitocw\/edx-platform,chauhanhardik\/populo,teltek\/edx-platform,nttks\/edx-platform,torchingloom\/edx-platform,kalebhartje\/schoolboost,benpatterson\/edx-platform,carsongee\/edx-platform,appliedx\/edx-platform,AkA84\/edx-platform,lduarte1991\/edx-platform,polimediaupv\/edx-platform,peterm-itr\/edx-platform,jbzdak\/edx-platform,vikas1885\/test1,ahmadiga\/min_edx,jonathan-beard\/edx-platform,hmcmooc\/muddx-platform,vikas1885\/test1,Lektorium-LLC\/edx-platform,bdero\/edx-platform,MSOpenTech\/edx-platform,ampax\/edx-platform,gymnasium\/edx-platform,playm2mboy\/edx-platform,jazkarta\/edx-platform,JioEducation\/edx-platform,adoosii\/edx-platform,eduNEXT\/edx-platform,unicri\/edx-platform,gymnasium\/edx-platform,amir-qayyum-khan\/edx-platform,jswope00\/griffinx,atsolakid\/edx-platform,torchingloom\/edx-platform,cyanna\/edx-platform,pepeportela\/edx-platform,kmoocdev2\/edx-platform,knehez\/edx-platform,doganov\/edx-platform,polimediaupv\/edx-platform,tiagochiavericosta\/edx-platform,xuxiao19910803\/edx-platform,franosincic\/edx-platform,MakeHer\/edx-platform,fintech-circle\/edx-platform,ovnicraft\/edx-platform,prarthitm\/edxplatform,ZLLab-Mooc\/edx-platform,tiagochiavericosta\/edx-platform,RPI-OPENEDX\/edx-platform,rhndg\/openedx,chauhanhardik\/populo_2,proversity-org\/edx-platform,benpatterson\/edx-platform,dsajkl\/reqiop,franosincic\/edx-platform,ak2703\/edx-platform,Shrhawk\/edx-platform,beni55\/edx-platform,morpheby\/levelup-by,ESOedX\/edx-platform,alexthered\/kienhoc-platform,jelugbo\/tundex,amir-qayyum-khan\/edx-platform,cyanna\/edx-platform,xinjiguaike\/edx-platform,ovnicraft\/edx-platform,andyzsf\/edx,don-github\/edx-platform,synergeticsedx\/deployment-wipro,waheedahmed\/edx-platform,kmoocdev\/edx-platform,vikas1885\/test1,peterm-itr\/edx-platform,inares\/edx-platform,devs1991\/test_edx_docmode,auferack08\/edx-platform,RPI-OPENEDX\/edx-platform,edx-solutions\/edx-platform,MakeHer\/edx-platform,IndonesiaX\/edx-platform,kursitet\/edx-platform,philanthropy-u\/edx-platform,LearnEra\/LearnEraPlaftform,nanolearningllc\/edx-platform-cypress-2,LearnEra\/LearnEraPlaftform,jjmiranda\/edx-platform,sameetb-cuelogic\/edx-platform-test,marcore\/edx-platform,abdoosh00\/edx-rtl-final,mahendra-r\/edx-platform,kursitet\/edx-platform,TeachAtTUM\/edx-platform,louyihua\/edx-platform,don-github\/edx-platform,jolyonb\/edx-platform,devs1991\/test_edx_docmode,chauhanhardik\/populo_2,ahmadiga\/min_edx,eduNEXT\/edx-platform,vismartltd\/edx-platform,ZLLab-Mooc\/edx-platform,CredoReference\/edx-platform,ubc\/edx-platform,fly19890211\/edx-platform,Stanford-Online\/edx-platform,naresh21\/synergetics-edx-platform,jolyonb\/edx-platform,romain-li\/edx-platform,rue89-tech\/edx-platform,SivilTaram\/edx-platform,utecuy\/edx-platform,defance\/edx-platform,CredoReference\/edx-platform,hkawasaki\/kawasaki-aio8-0,EDUlib\/edx-platform,hastexo\/edx-platform,edx\/edx-platform,rationalAgent\/edx-platform-custom,edry\/edx-platform,J861449197\/edx-platform,tiagochiavericosta\/edx-platform,pku9104038\/edx-platform,Semi-global\/edx-platform,hkawasaki\/kawasaki-aio8-0,WatanabeYasumasa\/edx-platform,raccoongang\/edx-platform,EduPepperPD\/pepper2013,edry\/edx-platform,msegado\/edx-platform,JCBarahona\/edX,bdero\/edx-platform,edx-solutions\/edx-platform,shubhdev\/edx-platform,nikolas\/edx-platform,OmarIthawi\/edx-platform,chudaol\/edx-platform,zadgroup\/edx-platform,shubhdev\/edx-platform,Edraak\/edraak-platform,chudaol\/edx-platform,Edraak\/edraak-platform,louyihua\/edx-platform,UOMx\/edx-platform,beni55\/edx-platform,shashank971\/edx-platform,motion2015\/a3,xingyepei\/edx-platform,deepsrijit1105\/edx-platform,halvertoluke\/edx-platform,olexiim\/edx-platform,Livit\/Livit.Learn.EdX,ampax\/edx-platform,mtlchun\/edx,vikas1885\/test1,DefyVentures\/edx-platform,jamesblunt\/edx-platform,eemirtekin\/edx-platform,motion2015\/edx-platform,PepperPD\/edx-pepper-platform,msegado\/edx-platform,marcore\/edx-platform,Softmotions\/edx-platform,leansoft\/edx-platform,longmen21\/edx-platform,Unow\/edx-platform,appsembler\/edx-platform,mbareta\/edx-platform-ft,EduPepperPD\/pepper2013,mtlchun\/edx,dcosentino\/edx-platform,nanolearning\/edx-platform,pelikanchik\/edx-platform,unicri\/edx-platform,jbzdak\/edx-platform,J861449197\/edx-platform,nanolearning\/edx-platform,martynovp\/edx-platform,Kalyzee\/edx-platform,motion2015\/edx-platform,SivilTaram\/edx-platform,ampax\/edx-platform-backup,beacloudgenius\/edx-platform,cselis86\/edx-platform,nttks\/edx-platform,B-MOOC\/edx-platform,ahmadio\/edx-platform,zadgroup\/edx-platform,pomegranited\/edx-platform,Endika\/edx-platform,franosincic\/edx-platform,ampax\/edx-platform-backup,benpatterson\/edx-platform,alu042\/edx-platform,deepsrijit1105\/edx-platform,longmen21\/edx-platform,B-MOOC\/edx-platform,shubhdev\/openedx,utecuy\/edx-platform,dsajkl\/123,morpheby\/levelup-by,shashank971\/edx-platform,benpatterson\/edx-platform,apigee\/edx-platform,beni55\/edx-platform,kmoocdev\/edx-platform,ak2703\/edx-platform,cpennington\/edx-platform,JCBarahona\/edX,pabloborrego93\/edx-platform,bdero\/edx-platform,kalebhartje\/schoolboost,BehavioralInsightsTeam\/edx-platform,kalebhartje\/schoolboost,openfun\/edx-platform,chauhanhardik\/populo,jazkarta\/edx-platform,halvertoluke\/edx-platform,pabloborrego93\/edx-platform,analyseuc3m\/ANALYSE-v1,chauhanhardik\/populo,Semi-global\/edx-platform,eestay\/edx-platform,WatanabeYasumasa\/edx-platform,kxliugang\/edx-platform,DNFcode\/edx-platform,chrisndodge\/edx-platform,pomegranited\/edx-platform,doganov\/edx-platform,morenopc\/edx-platform,pdehaye\/theming-edx-platform,morpheby\/levelup-by,Edraak\/edx-platform,jazkarta\/edx-platform,ahmadiga\/min_edx,proversity-org\/edx-platform,kamalx\/edx-platform,dsajkl\/reqiop,ak2703\/edx-platform,mjg2203\/edx-platform-seas,solashirai\/edx-platform,MakeHer\/edx-platform,MakeHer\/edx-platform,etzhou\/edx-platform,msegado\/edx-platform,shashank971\/edx-platform,beni55\/edx-platform,xingyepei\/edx-platform,simbs\/edx-platform,mjirayu\/sit_academy,mitocw\/edx-platform,ubc\/edx-platform,Shrhawk\/edx-platform,dkarakats\/edx-platform,caesar2164\/edx-platform,xuxiao19910803\/edx,bitifirefly\/edx-platform,mcgachey\/edx-platform,cselis86\/edx-platform,jruiperezv\/ANALYSE,kxliugang\/edx-platform,vasyarv\/edx-platform,appliedx\/edx-platform,sameetb-cuelogic\/edx-platform-test,jjmiranda\/edx-platform,leansoft\/edx-platform,antonve\/s4-project-mooc,vismartltd\/edx-platform,etzhou\/edx-platform,raccoongang\/edx-platform,torchingloom\/edx-platform,CourseTalk\/edx-platform,kamalx\/edx-platform,sudheerchintala\/LearnEraPlatForm,hkawasaki\/kawasaki-aio8-1"} {"commit":"e4e6957e020de574ee2d455bdbf8f19659ec4b39","old_file":"components\/Store.coffee","new_file":"components\/Store.coffee","old_contents":"noflo = require 'noflo'\ndebug = require('debug') 'noflo-ui:store'\n\nexports.getComponent = ->\n c = new noflo.Component\n c.inPorts.add 'action',\n datatype: 'all'\n c.inPorts.add 'state',\n datatype: 'object'\n c.outPorts.add 'pass',\n datatype: 'object'\n scoped: false\n\n c.state = {}\n c.tearDown = (callback) ->\n c.state = {}\n do callback\n c.forwardBrackets = {}\n c.process (input, output) ->\n if input.hasData 'state'\n c.state = input.getData 'state'\n output.done()\n return\n return unless input.hasStream 'action'\n packets = []\n brackets = []\n input.getStream('action').forEach (ip) ->\n if ip.type is 'openBracket'\n brackets.push ip.data\n if ip.type is 'closeBracket'\n brackets.pop()\n if ip.type is 'data'\n packets.push\n data: ip.data\n brackets: brackets.slice 0\n for packet in packets\n data = packet.data\n if data and typeof data is 'object' and data.payload and data.action\n # New-style action object\n if data.state\n # Keep track of last state\n c.state = data.state\n else\n debug \"#{data.action} was sent without state, using previous state\"\n output.send\n pass:\n action: data.action\n state: c.state\n payload: data.payload\n continue\n # Old-style action with only payload, and action defined by brackets\n action = packet.brackets.join ':'\n debug \"#{action} was sent in legacy payload-only format\"\n output.send\n pass:\n action: action\n state: c.state\n payload: data\n output.done()\n return\n","new_contents":"noflo = require 'noflo'\ndebug = require('debug') 'noflo-ui:store'\n\nexports.getComponent = ->\n c = new noflo.Component\n c.inPorts.add 'action',\n datatype: 'all'\n c.inPorts.add 'state',\n datatype: 'object'\n c.outPorts.add 'pass',\n datatype: 'object'\n scoped: false\n\n c.state = {}\n c.tearDown = (callback) ->\n c.state = {}\n do callback\n c.forwardBrackets = {}\n c.process (input, output) ->\n if input.hasData 'state'\n c.state = input.getData 'state'\n output.done()\n return\n return unless input.hasStream 'action'\n packets = input.getStream('action').filter((ip) ->\n ip.type is 'data'\n ).map (ip) -> ip.data\n for data in packets\n unless data.action\n console.error 'Received action without expected payload', data\n output.done()\n if data and typeof data is 'object' and data.payload and data.action\n # New-style action object\n if data.state\n # Keep track of last state\n c.state = data.state\n else\n debug \"#{data.action} was sent without state, using previous state\"\n output.send\n pass:\n action: data.action\n state: c.state\n payload: data.payload\n continue\n output.done()\n return\n","subject":"Drop support for legacy bracketed actions","message":"Drop support for legacy bracketed actions\n","lang":"CoffeeScript","license":"mit","repos":"noflo\/noflo-ui,noflo\/noflo-ui"} {"commit":"3d78a2f89d57ef29557b44bcc1608243a5133270","old_file":"lib\/minimap-highlight-selected-view.coffee","new_file":"lib\/minimap-highlight-selected-view.coffee","old_contents":"{View} = require 'atom'\n\nmodule.exports = ->\n highlightSelectedPackage = atom.packages.getLoadedPackage('highlight-selected')\n\n highlightSelected = require (highlightSelectedPackage.path)\n HighlightedAreaView = require (highlightSelectedPackage.path + '\/lib\/highlighted-area-view')\n\n class FakeEditor\n constructor: (@minimap) ->\n\n getActiveMinimap: -> @minimap.getActiveMinimap()\n\n getActiveTextEditor: -> @getActiveMinimap().getTextEditor()\n\n ['markBufferRange', 'scanInBufferRange', 'getEofBufferPosition', 'getSelections', 'getLastSelection', 'bufferRangeForBufferRow', 'getTextInBufferRange'].forEach (key) ->\n FakeEditor::[key] = -> @getActiveTextEditor()[key](arguments...)\n\n ['decorateMarker'].forEach (key) ->\n FakeEditor::[key] = -> @getActiveMinimap()[key](arguments...)\n\n class MinimapHighlightSelectedView extends HighlightedAreaView\n constructor: (minimap) ->\n super\n @fakeEditor = new FakeEditor(minimap)\n\n getActiveEditor: -> @fakeEditor\n","new_contents":"{View} = require 'atom'\n\nmodule.exports = ->\n highlightSelectedPackage = atom.packages.getLoadedPackage('highlight-selected')\n\n highlightSelected = require (highlightSelectedPackage.path)\n HighlightedAreaView = require (highlightSelectedPackage.path + '\/lib\/highlighted-area-view')\n\n class FakeEditor\n constructor: (@minimap) ->\n\n getActiveMinimap: -> @minimap.getActiveMinimap()\n\n getActiveTextEditor: -> @getActiveMinimap()?.getTextEditor()\n\n ['markBufferRange', 'scanInBufferRange', 'getEofBufferPosition', 'getSelections', 'getLastSelection', 'bufferRangeForBufferRow', 'getTextInBufferRange'].forEach (key) ->\n FakeEditor::[key] = -> @getActiveTextEditor()[key](arguments...)\n\n ['decorateMarker'].forEach (key) ->\n FakeEditor::[key] = -> @getActiveMinimap()[key](arguments...)\n\n class MinimapHighlightSelectedView extends HighlightedAreaView\n constructor: (minimap) ->\n super\n @fakeEditor = new FakeEditor(minimap)\n\n getActiveEditor: -> @fakeEditor\n\n handleSelection: ->\n return unless atom.workspace.getActiveTextEditor()?\n super\n","subject":"Fix error raised when typing in a mini editor","message":":bug: Fix error raised when typing in a mini editor\n","lang":"CoffeeScript","license":"mit","repos":"atom-minimap\/minimap-highlight-selected"} {"commit":"7feb9b65333b8009951695e2cc897758f0ae0f36","old_file":"app\/assets\/javascripts\/videos\/infinitescroll.js.coffee","new_file":"app\/assets\/javascripts\/videos\/infinitescroll.js.coffee","old_contents":"$ ->\n # Don't run on non-video pages\n return if not $('.videos').length\n \n nearBottom = () ->\n $(window).scrollTop() > $(document).height() - $(window).height() - 600\n page = 1\n loading = false\n infiniteScroll = every 200, () ->\n if not loading and nearBottom()\n loading = true\n $('.queue').append($('
Loading...<\/div>'))\n page++\n $.ajax(window.location.pathname + (window.location.search || '?') + \"&page=#{ page }\", {\n dataType: 'script',\n complete: (resp) ->\n if resp.responseText\n $('#loading').remove()\n $('.videoList').append(resp.responseText)\n affixTags($(\".video[data-page='#{ page }'] .tagEntry\"))\n loading = false\n else\n clearInterval(infiniteScroll)\n $('#loading').remove()\n })","new_contents":"$ ->\n # Don't run on non-video pages\n return if not $('.videos .videoList').length\n \n nearBottom = () ->\n $(window).scrollTop() > $(document).height() - $(window).height() - 600\n page = 1\n loading = false\n infiniteScroll = every 200, () ->\n if not loading and nearBottom()\n loading = true\n $('.queue').append($('
Loading...<\/div>'))\n page++\n $.ajax(window.location.pathname + (window.location.search || '?') + \"&page=#{ page }\", {\n dataType: 'script',\n complete: (resp) ->\n if resp.responseText\n $('#loading').remove()\n $('.videoList').append(resp.responseText)\n affixTags($(\".video[data-page='#{ page }'] .tagEntry\"))\n loading = false\n else\n clearInterval(infiniteScroll)\n $('#loading').remove()\n })","subject":"Return on all videos pages","message":"Return on all videos pages\n","lang":"CoffeeScript","license":"mit","repos":"BrettBukowski\/CatchLater,BrettBukowski\/CatchLater,BrettBukowski\/CatchLater"} {"commit":"39892b9eebe1633741f57d686fc92b1b378ff15a","old_file":"tutor\/src\/components\/student-dashboard\/event-info-icon.cjsx","new_file":"tutor\/src\/components\/student-dashboard\/event-info-icon.cjsx","old_contents":"React = require 'react'\nBS = require 'react-bootstrap'\nS = require '..\/..\/helpers\/string'\n{TimeStore} = require '..\/..\/flux\/time'\nmoment = require 'moment'\nTH = require '..\/..\/helpers\/task'\n\nmodule.exports = React.createClass\n displayName: 'EventInfoIcon'\n\n propTypes:\n event: React.PropTypes.object.isRequired\n\n render: ->\n due = moment(@props.event.due_at)\n now = TimeStore.getNow()\n\n return null if due.isAfter(now, 'd') and TH.hasLateWork(@props.event)\n\n # use 'day' granularity for checking if the due date is today or after today\n status = if due.isSame(now, 'd') then 'incomplete' else 'late'\n\n tooltip =\n \n {S.capitalize(status)}<\/b>\n <\/BS.Tooltip>\n\n \n \n <\/BS.OverlayTrigger>\n","new_contents":"React = require 'react'\nBS = require 'react-bootstrap'\nS = require '..\/..\/helpers\/string'\n{TimeStore} = require '..\/..\/flux\/time'\nmoment = require 'moment'\n\nmodule.exports = React.createClass\n displayName: 'EventInfoIcon'\n\n propTypes:\n event: React.PropTypes.object.isRequired\n\n render: ->\n {event} = @props\n\n now = TimeStore.getNow()\n dueAt = moment(event.due_at)\n isIncomplete = event.complete_exercise_count isnt event.exercise_count\n pastDue = event.type is 'homework' and dueAt.isBefore(now, 'd')\n workedLate = moment(event.last_worked_at).isAfter(dueAt)\n\n return null unless workedLate or (pastDue and isIncomplete)\n\n # use 'day' granularity for checking if the due date is today or after today\n status = if dueAt.isSame(now, 'd') then 'incomplete' else 'late'\n\n tooltip =\n \n {S.capitalize(status)}<\/b>\n <\/BS.Tooltip>\n\n \n \n <\/BS.OverlayTrigger>\n","subject":"Fix logic, task lacks correct keys forTaskHelper","message":"Fix logic, task lacks correct keys forTaskHelper\n","lang":"CoffeeScript","license":"agpl-3.0","repos":"openstax\/tutor-js,openstax\/tutor-js,openstax\/tutor-js,openstax\/tutor-js,openstax\/tutor-js"} {"commit":"4449d9565b055a576940dc4eb3fda6b75159258b","old_file":"app\/assets\/javascripts\/helpers\/formatted_timestamp.js.coffee","new_file":"app\/assets\/javascripts\/helpers\/formatted_timestamp.js.coffee","old_contents":"Ember.Handlebars.helper 'formattedTime', (time) ->\n new Handlebars.SafeString $.timeago(time)\n","new_contents":"Ember.Handlebars.helper 'formattedTime', (time) ->\n time ||= new Date()\n new Handlebars.SafeString $.timeago(time)\n","subject":"Set timeago to current time if no time is given","message":"Set timeago to current time if no time is given\n\nWhen objects are initially created by ember, they don't have a\n'createdAt' attribute until the promise resolves. new Date() will result\nin the same markup, so the user won't see a difference when the app\nreceives the server response.\n","lang":"CoffeeScript","license":"mit","repos":"johan--\/tahi,johan--\/tahi,johan--\/tahi,johan--\/tahi"} {"commit":"fd11d1c765b52d370971ef68498bf9ceb79821b4","old_file":"app\/assets\/javascripts\/neighborly\/neighborly.js.coffee","new_file":"app\/assets\/javascripts\/neighborly\/neighborly.js.coffee","old_contents":"#= require_self\n#= require_tree .\n\nwindow.Neighborly =\n Common:\n initPage: ->\n that = this\n unless window.Turbolinks is undefined\n $(document).bind \"page:fetch\", ->\n that.Loading.show()\n\n $(document).bind \"page:restore\", ->\n that.Loading.hide()\n\n $(document).bind \"page:change\", ->\n $(window).scrollTop(0)\n\n try\n FB.XFBML.parse()\n try\n twttr.widgets.load()\n\n init: ->\n $(document).foundation('reveal', {animation: 'fadeIn', animationSpeed: 100})\n $(document).foundation()\n $('.search-button').click ->\n if $('.discover-form-input').val() != ''\n $('form.discover-form').submit()\n else\n $('.discover-form-input').toggleClass('show').focus()\n\n return false\n\n finish: ->\n\n Loading:\n show: ->\n $('#loading #back-overlay, #loading #front-overlay').fadeIn(2)\n hide: ->\n $('#loading #back-overlay, #loading #front-overlay').hide()\n","new_contents":"#= require_self\n#= require_tree .\n\nwindow.Neighborly =\n Common:\n initPage: ->\n that = this\n unless window.Turbolinks is undefined\n $(document).bind \"page:fetch\", ->\n that.Loading.show()\n\n $(document).bind \"page:restore\", ->\n that.Loading.hide()\n\n $(document).bind \"page:change\", ->\n $(window).scrollTop(0)\n\n try\n FB.XFBML.parse()\n try\n twttr.widgets.load()\n\n init: ->\n $(document).foundation('reveal', {animation: 'fadeIn', animationSpeed: 100})\n $(document).foundation()\n\n $('.button.disabled').click ->\n return false\n\n $('.search-button').click ->\n if $('.discover-form-input').val() != ''\n $('form.discover-form').submit()\n else\n $('.discover-form-input').toggleClass('show').focus()\n\n return false\n\n finish: ->\n\n Loading:\n show: ->\n $('#loading #back-overlay, #loading #front-overlay').fadeIn(2)\n hide: ->\n $('#loading #back-overlay, #loading #front-overlay').hide()\n","subject":"Add default behavior on disabled buttons","message":"Add default behavior on disabled buttons\n","lang":"CoffeeScript","license":"mit","repos":"MicroPasts\/micropasts-crowdfunding,rockkhuya\/taydantay,jinutm\/silverprod,jinutm\/silverme,jinutm\/silverpro,jinutm\/silverprod,jinutm\/silvfinal,jinutm\/silverclass,jinutm\/silverme,raksonibs\/raimcrowd,raksonibs\/raimcrowd,jinutm\/silverme,MicroPasts\/micropasts-crowdfunding,MicroPasts\/micropasts-crowdfunding,raksonibs\/raimcrowd,rockkhuya\/taydantay,jinutm\/silveralms.com,jinutm\/silvfinal,jinutm\/silverpro,rockkhuya\/taydantay,gustavoguichard\/neighborly,jinutm\/silvfinal,gustavoguichard\/neighborly,gustavoguichard\/neighborly,jinutm\/silveralms.com,MicroPasts\/micropasts-crowdfunding,jinutm\/silverprod,jinutm\/silverclass,raksonibs\/raimcrowd,jinutm\/silverclass,jinutm\/silverpro,jinutm\/silveralms.com"} {"commit":"605000c98ffd25f75b236e460076a8940d9b8cfc","old_file":"client\/app\/js\/collections\/user_list.coffee","new_file":"client\/app\/js\/collections\/user_list.coffee","old_contents":"class @UserList extends Backbone.Collection\n model: User\n\n comparator: (a, b) =>\n aAuthority = a.get('authority')\n bAuthority = b.get('authority')\n aName = a.id.toLowerCase()\n bName = b.id.toLowerCase()\n if aAuthority < bAuthority then 1\n else if aAuthority > bAuthority then -1\n else if aName < bName then -1\n else if aName > bName then 1\n else 0\n\n initialize: =>\n","new_contents":"class @UserList extends Backbone.Collection\n model: User\n\n comparator: (a, b) =>\n aAuthority = a.get('authority')\n bAuthority = b.get('authority')\n aName = \"#{a.id}\".toLowerCase()\n bName = \"#{b.id}\".toLowerCase()\n if aAuthority < bAuthority then 1\n else if aAuthority > bAuthority then -1\n else if aName < bName then -1\n else if aName > bName then 1\n else 0\n\n initialize: =>\n","subject":"Fix problem with numeric alt names.","message":"Client: Fix problem with numeric alt names.\n\nBut we should probably be disallowing that anyway...\n","lang":"CoffeeScript","license":"mit","repos":"sarenji\/pokebattle-sim,sarenji\/pokebattle-sim,sarenji\/pokebattle-sim"} {"commit":"86cba6e9044040baf7b2b411e7faeffe5afb9a85","old_file":"app\/assets\/javascripts\/admin\/products\/controllers\/edit_units_controller.js.coffee","new_file":"app\/assets\/javascripts\/admin\/products\/controllers\/edit_units_controller.js.coffee","old_contents":"angular.module(\"admin.products\").controller \"editUnitsCtrl\", ($scope, VariantUnitManager) ->\n\n $scope.product =\n variant_unit: angular.element('#variant_unit').val()\n variant_unit_scale: angular.element('#variant_unit_scale').val()\n\n $scope.variant_unit_options = VariantUnitManager.variantUnitOptions()\n\n if $scope.product.variant_unit == 'items'\n $scope.variant_unit_with_scale = 'items'\n else\n $scope.variant_unit_with_scale = $scope.product.variant_unit + '_' + $scope.product.variant_unit_scale\n\n $scope.setFields = ->\n if $scope.variant_unit_with_scale == 'items'\n variant_unit = 'items'\n variant_unit_scale = null\n else\n options = $scope.variant_unit_with_scale.split('_')\n variant_unit = options[0]\n variant_unit_scale = options[1]\n\n $scope.product.variant_unit = variant_unit\n $scope.product.variant_unit_scale = variant_unit_scale\n","new_contents":"angular.module(\"admin.products\").controller \"editUnitsCtrl\", ($scope, VariantUnitManager) ->\n\n $scope.product =\n variant_unit: angular.element('#variant_unit').val()\n variant_unit_scale: angular.element('#variant_unit_scale').val()\n\n $scope.variant_unit_options = VariantUnitManager.variantUnitOptions()\n\n if $scope.product.variant_unit == 'items'\n $scope.variant_unit_with_scale = 'items'\n else\n $scope.variant_unit_with_scale = $scope.product.variant_unit + '_' + $scope.product.variant_unit_scale.replace(\/\\.0$\/, '');\n\n $scope.setFields = ->\n if $scope.variant_unit_with_scale == 'items'\n variant_unit = 'items'\n variant_unit_scale = null\n else\n options = $scope.variant_unit_with_scale.split('_')\n variant_unit = options[0]\n variant_unit_scale = options[1]\n\n $scope.product.variant_unit = variant_unit\n $scope.product.variant_unit_scale = variant_unit_scale\n","subject":"Remove trailing `.0` from variant unit scale","message":"Remove trailing `.0` from variant unit scale\n\n - As VariantUnitManager.variantUnitOptions() returns array formatted like this: `\"Weight (g)\", \"weight_1\"` and `product.variant_unit_scale` is formatted like this `weight_1.0` there is no possible match for the \n <\/div>\n\n \n \"\"\"\n\n $(\"#organization_info\").append newRow\n\n$(document).on \"click\", \"#add-new-address\", (event) ->\n event.preventDefault()\n addAddressRow(count)\n","new_contents":"window.addAddressRow = ->\n count = $(\"[id^='organization_addresses_attributes']:text\").length\n newRow = $ \"\"\"\n
\n