conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Remove unessessary old commented code\n"
},
{
"from": "human",
"value": "_ = require \"underscore\"\nTransform = require \"./transform\"\n\nclass Jitter extends Transform.Model\n initialize: (attrs, options) ->\n super(attrs, options)\n\n defaults: ->\n retu... | coffeescript | chosen |
[
{
"from": "system",
"value": "Drop the minimum Serrano version to >= 2.0.24\n"
},
{
"from": "human",
"value": "define [\n './cilantro/core'\n './cilantro/changelog'\n './cilantro/models'\n './cilantro/structs'\n './cilantro/ui'\n], (c, changelog, models, structs, ui) ->\n\n c.c... | coffeescript | chosen |
[
{
"from": "system",
"value": "Switch back to dark themes\n"
},
{
"from": "human",
"value": "\"*\":\n autosave:\n enabled: true\n core:\n audioBeep: false\n themes: [\n \"one-light-ui\"\n \"one-light-syntax\"\n ]\n projectHome: \"/Users/randy/src\"\n editor:\n fontF... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add warning advising of no WiFi on Pi 2\n\nChangelog-entry: Add warning advising of no WiFi on Pi 2\nChange-type: patch\nSigned-off-by: Chris Crocker-White <55144d225ecaa64cbddbc62fe6b6637fa9671c59@balena.io>\n"
},
{
"from": "human",
"value": "deviceTypesCommon = re... | coffeescript | chosen |
[
{
"from": "system",
"value": "Fix bug with JS error from dropdowns in filter area\n"
},
{
"from": "human",
"value": "class @Breakpoints\n instance = null;\n\n class BreakpointInstance\n BREAKPOINTS = [\"xs\", \"sm\", \"md\", \"lg\"]\n\n constructor: ->\n @setup()\n\n setup: ->\n ... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add context inside scope: used to specify display\n\n - Context is used to customize some CSS specifications as sometimes display can be different (depending on the context)\n - variant variable was not used: copy/paste error\n"
},
{
"from": "human",
"value": "\nOFN... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add first draft for better presentation of info popups in responsive toolbar.\n"
},
{
"from": "human",
"value": "Wheelmap.StatusFilterButtonComponent = Wheelmap.WheelchairPopoverComponent.extend\n tagName: 'button'\n classNameBindings: [':btn', 'isActive:active', ... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add ctrl-n,p emacs bindings for next, previous\n\nEmacs binds are supported through most of the rest of Atom. Plus it's rough having to drop down to the arrow keys in the midst of typing :)"
},
{
"from": "human",
"value": "\".autocomplete-plus input.hidden-input\":\... | coffeescript | chosen |
[
{
"from": "system",
"value": "Make it visible by default for testing fastly\n"
},
{
"from": "human",
"value": "class MainChatPanel extends JView\n\n constructor:->\n super\n cssClass : 'main-chat-panel'\n\n @registerSingleton \"chatPanel\", @, yes\n\n @conversationList = new ChatC... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add some comments and logging to the cam parser.\n"
},
{
"from": "human",
"value": "sys = require 'sys'\nfs = require 'fs'\nxml2js = require 'xml2js'\n_ = require 'underscore'\nURL = require 'url'\nmongoose = require 'mongoose'\n\nparser = new xml2js.Parser()\n\npar... | coffeescript | chosen |
[
{
"from": "system",
"value": "Remove require directive from component JS\n"
},
{
"from": "human",
"value": "#= require jquery\n\n$(document).on 'uic:domchange', (e) ->\n $(e.target).find('[data-toggle=\"markdown-readonly\"]').each (_, el) ->\n $el = $(el)\n $el.html(marked(decodeURICompon... | coffeescript | chosen |
[
{
"from": "system",
"value": "Replace 'getValue' with underscore's _.result method"
},
{
"from": "human",
"value": "util = require 'lib/util'\nnetwork = require 'lib/network'\n\nmethodMap =\n create: 'POST'\n update: 'POST'\n delete: 'POST'\n read: 'GET'\n\ngetValue = (object, prop) ->\n if... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add method to update pagination\n\nSigned-off-by: Steven Hoffman <f5bcacb8ce1651b7d1e56f2693431f20e085fdeb@valenciamgmt.com>\n"
},
{
"from": "human",
"value": "class Fustrate.GenericTable extends Fustrate.GenericPage\n @blankRow: null\n table: null\n\n initialize... | coffeescript | chosen |
[
{
"from": "system",
"value": "Correct package menu label to show Term 3 instead of Term 2\n"
},
{
"from": "human",
"value": "# See https://atom.io/docs/latest/creating-a-package#menus for more details\n# 'context-menu':\n# '.overlayer':\n# 'Open terminal here': 'term:open'\n\n'menu': [\n... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add auth handler to remove session data when sign out\n"
},
{
"from": "human",
"value": "Ember.Application.initializer\n name: 'session'\n after: 'ember-auth-load'\n\n initialize: (container, application) ->\n Dashboard.Session = Ember.Object.extend(\n i... | coffeescript | chosen |
[
{
"from": "system",
"value": "Update .ctags pattern for unpacking\n"
},
{
"from": "human",
"value": "asar = require 'asar'\nfs = require 'fs'\npath = require 'path'\n\nmodule.exports = (grunt) ->\n {cp, rm} = require('./task-helpers')(grunt)\n\n grunt.registerTask 'generate-asar', 'Generate as... | coffeescript | chosen |
[
{
"from": "system",
"value": "Split track initial turn on function body\n"
},
{
"from": "human",
"value": "kd = require 'kd'\n\nnick = require 'app/util/nick'\nTracker = require 'app/util/tracker'\n\n\nmodule.exports = (machine) ->\n\n return unless analytics\n return unless typeof anal... | coffeescript | chosen |
[
{
"from": "system",
"value": "Remove session from cookie set option\n"
},
{
"from": "human",
"value": "class @MixingpanelCookies\n constructor: ()->\n @_loadCookies()\n @cookieDefOpts =\n domain: null\n path: null\n expires_at: null\n\n _loadCookies: ->\n for cookie_tok... | coffeescript | chosen |
[
{
"from": "system",
"value": "Update configuration schema to reflect that we expect an array of BibTeX file names.\n"
},
{
"from": "human",
"value": "BibtexProvider = require \"./provider\"\n\nmodule.exports =\n config:\n bibtex:\n type: 'string'\n default: ''\n scope:\n ty... | coffeescript | chosen |
[
{
"from": "system",
"value": "Fix facebook images to make sure they are squares\n"
},
{
"from": "human",
"value": "root = exports ? this\n\nroot.User = class User\n @findOne: (idOrName) ->\n data = Meteor.users.findOne(idOrName)\n if not data\n data = Meteor.users.findOne({'profile.n... | coffeescript | chosen |
[
{
"from": "system",
"value": "Mark visible toggle switch as hidden from screen readers\n"
},
{
"from": "human",
"value": "define [\n \"base\"\n], (App) ->\n App.directive \"toggleSwitch\", () ->\n restrict: \"E\"\n scope:\n description: \"@\"\n labelFalse: \"@\"\n labelTru... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add option to set a style for the map and hide the terrain options\n"
},
{
"from": "human",
"value": "define('base_layer', [], ->\n class BaseLayer\n @render: (map, opts={}) ->\n terrain = L.mapbox.tileLayer('unepwcmc.l8gj1ihl')\n satellite = L.mapbox.... | coffeescript | chosen |
[
{
"from": "system",
"value": "Use services to access injected data arrays\n"
},
{
"from": "human",
"value": "angular.module(\"admin.subscriptions\").controller \"SubscriptionController\", ($scope, Subscription, SubscriptionForm, customers, schedules, paymentMethods, shippingMethods) ->\n $scope... | coffeescript | chosen |
[
{
"from": "system",
"value": "Fix profile avatar component: Don't render until profile fetch has been attempted\n"
},
{
"from": "human",
"value": "Marbles.Views.ProfileAvatar = class ProfileAvatarView extends Marbles.Views.ProfileComponent\n @template_name: '_profile_avatar'\n @view_name: 'pro... | coffeescript | chosen |
[
{
"from": "system",
"value": "Fix junks folders created for patch file\n"
},
{
"from": "human",
"value": "DiffLine = require './diff-line'\nListItem = require '../list-item'\n{git} = require '../../git'\n{File} = require 'pathwatcher'\n\n_ = require 'underscore'\n\n##\n# A DiffChunk represents o... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add a rooms param to notify method to notify in multiple rooms\n"
},
{
"from": "human",
"value": "path = require('path')\n\nclass HubotSensor\n constructor: (@freq, active = true) ->\n @_id = null\n @room = process.env.HUBOT_SENSORS_ROOM\n\n @setup() if ac... | coffeescript | chosen |
[
{
"from": "system",
"value": "Fix default supported file types\n"
},
{
"from": "human",
"value": "Form = require('multiparty').Form\ncreateWriteStream = require('fs').createWriteStream\nhash = require('crypto').createHash\nrand = require('crypto').pseudoRandomBytes\n\nJFUM = module.exports = (op... | coffeescript | chosen |
[
{
"from": "system",
"value": "Fix gravatar to show mystery man if no email is present\n"
},
{
"from": "human",
"value": "#= require gravtastic\n\nangular.module('kassa').directive('gravatar', [\n '$parse'\n ($parse)->\n linker = ($scope, $element, $attrs)->\n email = size = null\n ... | coffeescript | chosen |
[
{
"from": "system",
"value": "Fix live updating for discussions\n"
},
{
"from": "human",
"value": "angular.module('loomioApp').factory 'MessageChannelService', ($http, Records, CommentModel, EventModel) ->\n new class MessageChannelService\n subscribeSuccess: (subscription, onMessageReceived... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add documentation for Analytics Payload Loader\n"
},
{
"from": "human",
"value": "((url)->\n # Section 1\n iframe = document.createElement('iframe')\n iframe.src = \"javascript:false\"\n iframe.title = \"\"\n # iframe.role = \"presentation\" # a11y\n\n (iframe... | coffeescript | chosen |
[
{
"from": "system",
"value": "Fix content not saved from codeview\n"
},
{
"from": "human",
"value": "init = ->\n $(\"[data-provider='summernote']\").summernote\n height: 300\n maximumImageFileSize: 262144 # 256KB\n toolbar: [\n ['style', ['style']],\n ['font', ['bold', 'itali... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add api search song route.\n"
},
{
"from": "human",
"value": "goog.provide 'app.Routes'\n\ngoog.require 'este.Routes'\n\nclass app.Routes extends este.Routes\n\n ###*\n @param {app.user.Store} userStore\n @constructor\n @extends {este.Routes}\n ###\n con... | coffeescript | chosen |
[
{
"from": "system",
"value": "Sort files by modification time\n"
},
{
"from": "human",
"value": "Flow.Browser = (_) ->\n _docs = signals []\n _hasDocs = lift _docs, (docs) -> docs.length > 0\n\n createDocView = ([ type, id, doc ]) ->\n _title = signal doc.title\n _date = signal new Date... | coffeescript | chosen |
[
{
"from": "system",
"value": "Grunt: Allow to grep for tests using TESTS envvar\n"
},
{
"from": "human",
"value": "module.exports = ->\n # Project configuration\n @initConfig\n pkg: @file.readJSON 'package.json'\n\n # BDD tests on Node.js\n mochaTest:\n nodejs:\n src: ['sp... | coffeescript | chosen |
[
{
"from": "system",
"value": "Revert \"Redirect / to /event_searches/new.\"\n\nThis reverts commit 0de8612155705207d54facc388020df1ceb82141.\n\nThe scope of the hook is too broad; it applies to _every_ route below\nthe application route. A different approach is needed.\n"
},
{
"from": "human",
... | coffeescript | chosen |
[
{
"from": "system",
"value": "Fix regression when downloading a specific URL.\n\nCopy-paste restructuring error. It used to be all in one function, now it's an ivar.\n"
},
{
"from": "human",
"value": "{open} = require 'io/file'\n\nclass Downloader\n constructor: (@url, @file, @callback) ->\n ... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add information to xblocks about when they complete initialization that's visible in javascript\n"
},
{
"from": "human",
"value": "@XBlock =\n runtime: {}\n\n initializeBlock: (element) ->\n $element = $(element)\n children = @initializeBlocks($element)\n ... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add integration test for HEAD /CloudHealthCheck\n"
},
{
"from": "human",
"value": "request = require 'supertest'\nassert = require 'assert'\n\nreq = request require '../../coffee/server'\n\ndescribe '/CloudHealthCheck', ->\n it 'should return OK for MongoDB an... | coffeescript | chosen |
[
{
"from": "system",
"value": "Use properties instead of local variables\n"
},
{
"from": "human",
"value": "expect = require('chai').expect\nfs = require('fs')\n\nParser = require('../lib/parser')\n\n\ndescribe 'Parser', ->\n dummy = fs.createReadStream('./test/fixtures/dummy.html')\n pars... | coffeescript | chosen |
[
{
"from": "system",
"value": "Remove window handling in catch block\n\nThe catch block in index.html takes care of this\n"
},
{
"from": "human",
"value": "try\n require '../src/window'\n Atom = require '../src/atom'\n window.atom = new Atom()\n window.atom.show() unless atom.getLoadSettings(... | coffeescript | chosen |
[
{
"from": "system",
"value": "Split to the right when opening preview\n"
},
{
"from": "human",
"value": "{CompositeDisposable} = require 'atom'\nRestructuredPreviewView = require './restructured-preview-view'\nurl = require 'url'\n\nmodule.exports = RestructuredPreview =\n restructuredPreviewVi... | coffeescript | chosen |
[
{
"from": "system",
"value": "Synchronize percentage for new progress bars\n\nAccording to the HTML specification:\n\n> The default value is the minimum plus half the difference between the\n> minimum and the maximum, unless the maximum is less than the minimum,\n> in which case the default value is the min... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add autoset and dependent methods to select inputs.\n\n* Autoset allows one select to influence another.\n* Dependent shows or hides elements based on the value of a select.\n"
},
{
"from": "human",
"value": "jQuery ->\n $(\".clickable\").live \"click\", (e) ->\n ... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add Atom snippet for Ruby curly braces block\n"
},
{
"from": "human",
"value": "\".source.ruby\":\n \"Hashrocket\":\n prefix: \"=\"\n body: \" => \"\n\n \"Context block\":\n prefix: \"context\"\n body: \"\"\"\n context \"$1\" do\n $2\n ... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add \"Click to practice\" tooltip to practice buttons\n"
},
{
"from": "human",
"value": "React = require 'react'\nBS = require 'react-bootstrap'\n\nChapterSectionType = require './chapter-section-type'\n\nmodule.exports = React.createClass\n displayName: 'LearningG... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add plan to event tracking\n"
},
{
"from": "human",
"value": "define [\n\t\"base\"\n], (App) ->\n\tApp.controller \"FreeTrialModalController\", ($scope, abTestManager, sixpack, event_tracking)->\n\n\t\t$scope.buttonClass = \"btn-primary\"\n\n\t\t$scope.startFreeTria... | coffeescript | chosen |
[
{
"from": "system",
"value": "Fix notification window not hiding on start\n"
},
{
"from": "human",
"value": "#= require dashing.js\n#= require_tree ./lib\n#= require_tree ./dashing\n#= require_tree ../../widgets\n\nDashing.on 'ready', ->\n Dashing.widget_margins ||= [5, 5]\n Dashing.widget_bas... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add traling breakline to case where errors come in a array\n"
},
{
"from": "human",
"value": "# Parses a structure of errors that came from the server\nangular.module(\"admin.utils\").factory \"ErrorsParser\", ->\n new class ErrorsParser\n toString: (errors, def... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add $scope.user to address-form directive\n"
},
{
"from": "human",
"value": "Sprangular.directive 'addressForm', ->\n restrict: 'E'\n templateUrl: 'addresses/form.html'\n scope:\n address: '='\n countries: '='\n disabled: '='\n submitted: '='\n contr... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add possibility to show N content with the same data tab\n"
},
{
"from": "human",
"value": "$ ->\n hashTabs = ->\n _element: \"\"\n\n element: (element) ->\n this._element = element\n\n updateTab: (updateHash=true)->\n this.updateTabLink()\n ... | coffeescript | chosen |
[
{
"from": "system",
"value": "Make empty pie chart appear on proposal page\n"
},
{
"from": "human",
"value": "angular.module('loomioApp').controller 'ProposalPieChartController', ($scope) ->\n\n $scope.pieChartData = [\n { value : 0, color : \"#90D490\" },\n { value : 0, color : \"#F0BB67... | coffeescript | chosen |
[
{
"from": "system",
"value": "FIX: Fix ng-model attribute update for task def selector\n"
},
{
"from": "human",
"value": "angular.module('doubtfire.tasks.task-definition-selector',[])\n\n#\n# A switch that that the selection of a specified task definition\n# Only handles task definition - not ta... | coffeescript | chosen |
[
{
"from": "system",
"value": "Set DDP_DEFAULT_CONNECTION_URL to the same value of ROOT_URL\n"
},
{
"from": "human",
"value": "if Meteor.isServer\n\turl = Npm.require('url')\n\nRocketChat.settings.get 'Site_Url', (key, value) ->\n\tif value?.trim() isnt ''\n\t\t__meteor_runtime_config__.ROOT_URL ... | coffeescript | chosen |
[
{
"from": "system",
"value": "Document title changes to notify teachers of requesters - like twitter and gmail\n"
},
{
"from": "human",
"value": "@Curri.RequestsNumber =\n poll: ->\n setTimeout @request, 10000\n\n request: ->\n $.ajax\n url: $('#requesters_link').attr('href')\n ... | coffeescript | chosen |
[
{
"from": "system",
"value": "Remove link to placeholder 'Mainspace' recent activity feed\n"
},
{
"from": "human",
"value": "React = require 'react/addons'\nRouter = require 'react-router'\nRouteHandler = Router.RouteHandler\nLink = Router.Link\n\nDidYouKnowHandler = require... | coffeescript | chosen |
[
{
"from": "system",
"value": "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"
},
{
"from": "human",
"value": ... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add note about horribly bad test\n"
},
{
"from": "human",
"value": "PreviewOpener = require '../../lib/openers/preview-opener'\n\ndescribe \"PreviewOpener\", ->\n describe \"open\", ->\n it \"invokes the callback with an exit code equal to `1` because the file i... | coffeescript | chosen |
[
{
"from": "system",
"value": "Set the correct page number on the toolbar controller\n"
},
{
"from": "human",
"value": "App.CorpusResultRoute = Em.Route.extend\n\n model: (params) ->\n {search_id: searchId, page_no: @pageNo} = params\n\n # Get the search model subclass for the search engin... | coffeescript | chosen |
[
{
"from": "system",
"value": "Fix autoredirect when login failed.\n"
},
{
"from": "human",
"value": "Wheelmap.ApplicationRoute = Ember.Route.extend\n signedIn: false\n\n beforeModel: (transition)->\n signUrl = $.cookie('sign_url')\n\n if signUrl?\n transition.abort()\n\n $.cook... | coffeescript | chosen |
[
{
"from": "system",
"value": "Remove non-mandatory check from filter function\n"
},
{
"from": "human",
"value": "minimatch = require 'minimatch'\n\nmodule.exports = (env, callback) ->\n\n filter = (contents, pattern) ->\n list(contents).filter (entry) ->\n if pattern? then minimatch(e... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add an example of setLivePathConsumer()\n"
},
{
"from": "human",
"value": "StreamServer = require './stream_server'\nBits = require './bits'\nlogger = require './logger'\n\nBits.set_warning_fatal true\nlogger.setLevel logger.LEVEL_INFO\n\nstreamServer = new StreamSe... | coffeescript | chosen |
[
{
"from": "system",
"value": "Use 3000 if PORT not defined\n"
},
{
"from": "human",
"value": "# modules\nexpress = require(\"express\");\napp = express();\ncolors = require 'colors'\ndb = require './models/db'\nhttp = require './services/http'\nlogger = require './services/logger'\n# config\nnet... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add text in chosen select\n"
},
{
"from": "human",
"value": "$ ->\n # enable chosen js\n $('.chosen-select').chosen \n no_results_text: 'No results matched'\n width: '400px'\n placeholder_text_multiple: 'Select languages...'\n"
},
{
"from": "gp... | coffeescript | chosen |
[
{
"from": "system",
"value": "Return all users on small clouds.\n"
},
{
"from": "human",
"value": "class Cloudsdale.Collections.CloudsUsers extends Backbone.Collection\n\n model: Cloudsdale.Models.User\n url: -> \"/v1/#{@topic.type}s/#{@topic.id}/users/online.json\"\n\n topic: 'cloud'\n\n in... | coffeescript | chosen |
[
{
"from": "system",
"value": "Fix check for Topic in FavouriteTopicCollection\n\nCan't this be done nicer?\n\nfavourite_topics.contains @model doesn't seem to work (I guess because the @model has more attributes than the Topics in FavTopicCollection).\n\n@mark @janpaul123\n"
},
{
"from": "human",
... | coffeescript | chosen |
[
{
"from": "system",
"value": "Stop selecting the js output\n"
},
{
"from": "human",
"value": "'use strict'\n\n{\n\tsetupEditors\n\tsetupSamples\n\tsetupCompilers\n\tsetupRunButton\n\tsaveProgram\n\tloadProgram\n} = window.viz\n\n\ngrid = null\n\n\nrun = (editors, compiler) ->\n\tsaveProgram edit... | coffeescript | chosen |
[
{
"from": "system",
"value": "Enable Learn page's section expansion just in big screens\n"
},
{
"from": "human",
"value": "Neighborly.Static ?= {}\n\nNeighborly.Static.Learn =\n init: Backbone.View.extend\n el: '.learn-page'\n\n initialize: ->\n $('.expand-section').click (event) ->\... | coffeescript | chosen |
[
{
"from": "system",
"value": "Fix boundary not working correctly\n"
},
{
"from": "human",
"value": "class BoundaryComponent\n\nBoundarySystem = \n add: (engine) ->\n @engine = engine\n @boundaries = engine.e 'boundary', 'pos'\n @entities = engine.e 'blob', 'pos'\n update: (delta) ->\n... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add active class to event view\n"
},
{
"from": "human",
"value": "Yossarian.EventView = Ember.View.extend\n tagName: 'li'\n attributeBindings: ['class']\n\n mouseEnter: ->\n @$().find('.info').addClass('open')\n @$().find('.nivoSlider').data('nivoslider').s... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add serializers for checkboxes arrays\n"
},
{
"from": "human",
"value": "Backbone = require 'backbone'\n\n\n###\nbackbone.syphon configuration\n==================================\n###\nmodule.exports = (Module, App, Backbone, Marionette, $, _) ->\n\n Backbone.Sypho... | coffeescript | chosen |
[
{
"from": "system",
"value": "Change the From address when sending a submission email. Maybe that'd work...\n"
},
{
"from": "human",
"value": "Meteor.methods\n weCanHelpEmail: (name, email, mind) ->\n check([name, email, mind], [String])\n Email.send\n to: 'rs14team@googlegroups.com'... | coffeescript | chosen |
[
{
"from": "system",
"value": "Update the minimum Serrano version that notifies in responses\n"
},
{
"from": "human",
"value": "define [\n '../core'\n './base'\n], (c, base) ->\n\n\n class ExporterModel extends base.Model\n\n\n class ExporterCollection extends base.Collection\n ... | coffeescript | chosen |
[
{
"from": "system",
"value": ":bug: Change the Linux key binding to Ctrl+u\n\nApplies to #5\n"
},
{
"from": "human",
"value": "'.platform-darwin .editor':\n 'ctrl-shift-u': 'encoding-selector:show'\n\n'.platform-win32 .editor':\n 'ctrl-shift-u': 'encoding-selector:show'\n\n'.platform-linux .ed... | coffeescript | chosen |
[
{
"from": "system",
"value": "Reduce isLoggedIn() check using Coffee more beautifully\n"
},
{
"from": "human",
"value": "window.ActiveService = class ActiveService\n constructor: ->\n @user = null\n\n\n setUser: (@user) ->\n getUser: -> @user\n\n isLoggedIn: -> !!(@user && @us... | coffeescript | chosen |
[
{
"from": "system",
"value": "Fix docs update notif not being displayed in some cases\n"
},
{
"from": "human",
"value": "#= require views/misc/notif\n\nclass app.views.Updates extends app.views.Notif\n @className += ' _notif-news'\n\n @defautOptions:\n autoHide: 30000\n\n init: ->\n @la... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add preliminary support for filters.\n"
},
{
"from": "human",
"value": "###\n# Walker:\n# Traverses a JavaScript AST.\n#\n# class MyWalker extends Walker\n#\n# w = new MyWalker(ast)\n# w.run()\n#\n###\n\nmodule.exports = class Walker\n constructor: (@ro... | coffeescript | chosen |
[
{
"from": "system",
"value": "Fix issue with atom removing trailing whitespace.\n\nShame this isn't the default.\n"
},
{
"from": "human",
"value": "\"*\":\n core:\n themes: [\n \"atom-dark-ui\"\n \"atom-dark-syntax\"\n ]\n editor:\n backUpBeforeSaving: true\n fontFamily: ... | coffeescript | chosen |
[
{
"from": "system",
"value": "Use stripe public key from env on the client-side.\n"
},
{
"from": "human",
"value": "config =\n mailchimp:\n action: '//digitalcoachingnetwork.us11.list-manage.com/subscribe/post?u=68d703ae770920ff4a8b715e2&id=a3577a5ba4'\n mongo:\n connectionString: pr... | coffeescript | chosen |
[
{
"from": "system",
"value": "ENHANCE: Switch auth for group set csv uploads and downloads\n"
},
{
"from": "human",
"value": "angular.module(\"doubtfire.api.models.group-set\", [])\n\n.factory(\"GroupSet\", (resourcePlus, DoubtfireConstants, currentUser, $window) ->\n GroupSet = resourcePlus \"... | coffeescript | chosen |
[
{
"from": "system",
"value": "Update to new root resource path\n"
},
{
"from": "human",
"value": "path = require 'path'\n\nmodule.exports =\n getAtomDirectory: ->\n process.env.ATOM_HOME ? path.join(process.env.HOME, '.atom')\n\n getResourcePath: ->\n process.env.ATOM_RESOURCE_PATH ? '/A... | coffeescript | chosen |
[
{
"from": "system",
"value": "Update fixture path in compile cache spec\n"
},
{
"from": "human",
"value": "path = require 'path'\nCSON = require 'season'\nCoffeeCache = require 'coffee-cash'\n\nbabel = require '../src/babel'\nCompileCache = require '../src/compile-cache'\n\ndescribe \"Compile Ca... | coffeescript | chosen |
[
{
"from": "system",
"value": "Sort the roles uniformally on the dashboard"
},
{
"from": "human",
"value": "a = DS.attr\nETahi.LitePaper = DS.Model.extend\n paper: DS.belongsTo('paper')\n flow: DS.belongsTo('flow')\n\n title: a('string')\n shortTitle: a('string')\n submitted: a('boolean')\n ... | coffeescript | chosen |
[
{
"from": "system",
"value": "Fix the test to use the correct websocket port\n"
},
{
"from": "human",
"value": "Front = require('../lib/front/front')\nWebSocket = require('ws')\nWebSocketServer = require('ws').Server\n\ndescribe 'Front', ->\n beforeEach ->\n @front = new Front\n\n it 'shoul... | coffeescript | chosen |
[
{
"from": "system",
"value": "Initialize was not so unnecessary -- used for rendering delete button when creating\n"
},
{
"from": "human",
"value": "class window.NDPFactRelationOrCommentBottomView extends Backbone.Marionette.Layout\n className: 'ndp-evidenceish-bottom'\n template: 'facts/evide... | coffeescript | chosen |
[
{
"from": "system",
"value": "Check if anything in response.error has any content\n"
},
{
"from": "human",
"value": "class MagicWord.ValidatableForm\n constructor: (@$form) ->\n @inputs = @_inputs()\n @model = @$form.data('validate-model')\n @$button = @$form... | coffeescript | chosen |
[
{
"from": "system",
"value": "Revert \"Revert \"Indeed don't pass the fact but the collection\"\"\n\nThis reverts commit f5ac7bf37b645ff51724a29d0b01d04fc09e45de.\n"
},
{
"from": "human",
"value": "class window.NDPEvidenceCollection extends Backbone.Collection\n initialize: (models, options) ->... | coffeescript | chosen |
[
{
"from": "system",
"value": "Update useragent and reword argument error message\n"
},
{
"from": "human",
"value": "### Common variables and functions for bots ###\n\n#require = patchRequire(global.require)\n#utils = require('utils')\n\nexports.userAgent = 'Mozilla/5.0 (X11; Linux x86_64) AppleW... | coffeescript | chosen |
[
{
"from": "system",
"value": "Change partner_category query page size to 50\n\nWas reposted in #incidents https://artsy.slack.com/archives/C9RK0BLEP/p1567172226006600\nAfter investigation noticed recently new categories were added so had to increase the query page size\n"
},
{
"from": "human",
"... | coffeescript | chosen |
[
{
"from": "system",
"value": "Call slide out menu on button click.\n"
},
{
"from": "human",
"value": "class App\n\n Routers: {}\n\n Models: {}\n\n Collections: {}\n\n Views: {}\n\n init: ->\n window.flight = new Flight()\n new @Routers.AppRouter\n Backbone.history.start()\n\n @C... | coffeescript | chosen |
[
{
"from": "system",
"value": "Update title if using back button.\n"
},
{
"from": "human",
"value": "$ ->\n loadInterview = (name, url) ->\n document.title = \"Advice by #{name} with Mig Reyes on Humble Pied.\"\n $('#content').load(url + ' #guest')\n window.history.pushState('guest', ''... | coffeescript | chosen |
[
{
"from": "system",
"value": "Remove id, created_at and updated_at from forms\n"
},
{
"from": "human",
"value": "angular.module(\"hyperadmin\")\n .controller \"FormCtrl\", ($scope, $state, Restangular, Flash) ->\n @resource = { }\n mode = $state.current.data.mode\n\n if mode == \"new\"... | coffeescript | chosen |
[
{
"from": "system",
"value": "Use backbone to determine url fragments\n"
},
{
"from": "human",
"value": "define (require) ->\n $ = require('jquery')\n _ = require('underscore')\n BaseView = require('cs!helpers/backbone/views/base')\n MailPopoverView = require('cs!./popovers/mail/mail')\n te... | coffeescript | chosen |
[
{
"from": "system",
"value": "Remove response for non auth.\n"
},
{
"from": "human",
"value": "# Just a test script for testing custom commands\n#\n# Command(s):\n# hubot ding — outputs test response\n\nmodule.exports = (robot) ->\n robot.respond /ding$/i, (msg) ->\n if robot.auth.ha... | coffeescript | chosen |
[
{
"from": "system",
"value": "Remove unnecessary manual copying, add comments\n"
},
{
"from": "human",
"value": "applyDependencies = (services, resolver) ->\n wrappedServices = {}\n for serviceName, serviceDef of services\n dependencies = {}\n \n # we will create keys for any declared... | coffeescript | chosen |
[
{
"from": "system",
"value": "Remove extra event emission. add debug print.\n"
},
{
"from": "human",
"value": "define [\n], () ->\n\tclass ReferencesSearchManager\n\t\tconstructor: (@ide, @$scope) ->\n\n\t\t\t@$scope.$root._references = @state = keys: []\n\n\t\t\t@$scope.$on 'document:closed', (... | coffeescript | chosen |
[
{
"from": "system",
"value": "Bring back help output by default\n"
},
{
"from": "human",
"value": "fs = require 'fs'\npath = require 'path'\nspark = require 'commander'\n\ncommands = require './commands'\n\n# Load our options and parse the command\nspark.option('--location <path>', 'choose a... | coffeescript | chosen |
[
{
"from": "system",
"value": "Fix campo eidtor preview flash\n"
},
{
"from": "human",
"value": "$(document).on 'shown.bs.tab', 'a[data-behavior~=\"preview\"]', (e) ->\n editor = $(this).closest('.campo-editor')\n preview = editor.find('.tab-pane.preview')\n textarea = editor.find('textarea')\... | coffeescript | chosen |
[
{
"from": "system",
"value": "test: Add test for git clone.\n"
},
{
"from": "human",
"value": "expect = require('chai').expect\nfs = require 'fs-extended'\n\nInotifyr = require '../'\n\ndescribe 'inotifyr', ->\n beforeEach ->\n fs.ensureDirSync './test/fixtures'\n\n afterEach ->\n fs.del... | coffeescript | chosen |
[
{
"from": "system",
"value": "Allow 'Save All' files to work as well as guarding against multiple transpiles when a text file is working in split screen mode.\n"
},
{
"from": "human",
"value": "{CompositeDisposable} = require 'atom'\n\nmodule.exports =\n config: require './config'\n\n activate... | coffeescript | chosen |
[
{
"from": "system",
"value": "Change from pure to bootstrap\n"
},
{
"from": "human",
"value": "React = require('react')\nNav = require('components/Nav')\nR = React.DOM\nrequire('main.scss')\n\nmodule.exports = React.createClass\n render: ->\n R.div {className: 'pure-g'},\n R.nav {classN... | coffeescript | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.