conversations listlengths 2 3 | source stringclasses 1 value | stack stringclasses 1 value |
|---|---|---|
[
{
"from": "system",
"value": "Update comments in source file\n"
},
{
"from": "human",
"value": "###\n jquery.turbolinks.js ~ v0.1.0 ~ https://github.com/kossnocorp/jquery.turbolinks\n\n jQuery plugin for rebind events problem caused by Tubrolinks\n\n The MIT License\n\n Copyright (c) 2012 Sa... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add logging when receiving crashes\n"
},
{
"from": "human",
"value": "# Notifies about Crashlytics crashes via a Crashlytics web hook\n#\n# Dependencies:\n# \"url\": \"\"\n# \"querystring\": \"\"\n#\n# Configuration:\n# Just put this url <HUBOT_URL>:<PORT>/hub... | coffeescript | chosen |
[
{
"from": "system",
"value": "Implement delete button for queries in the QueryList\n"
},
{
"from": "human",
"value": "define [\n 'underscore'\n 'marionette'\n '../base'\n 'tpl!templates/query/item.html'\n], (_, Marionette, base, templates...) ->\n\n templates = _.object ['item'], ... | coffeescript | chosen |
[
{
"from": "system",
"value": "Fix ROC domains to (0, 1)\n"
},
{
"from": "human",
"value": "H2O.PredictOutput = (_, _go, prediction) ->\n { frame, model } = prediction\n\n _plots = signals []\n\n renderPlot = (title, render) ->\n container = signal null\n\n render (error, vis) ->\n ... | coffeescript | chosen |
[
{
"from": "system",
"value": "Use cnx host/port settings to create search uri\n"
},
{
"from": "human",
"value": "define (require) ->\n Backbone = require('backbone')\n\n SEARCH_URI = \"#{location.protocol}//#{location.hostname}:6543/search\"\n\n return class SearchResults extends Backbone.Mod... | coffeescript | chosen |
[
{
"from": "system",
"value": "refactor: Use minim to add warning about unrecognized format\n"
},
{
"from": "human",
"value": "deckardcain = require('deckardcain')\nfury = require('fury')\nfury.use(require('fury-adapter-apib-parser'))\nfury.use(require('fury-adapter-swagger'))\n\napiElementsToJso... | coffeescript | chosen |
[
{
"from": "system",
"value": "Make all edit session uri's relative\n\nThis allows them to be collaborated without having absolute paths\nin the shared document.\n"
},
{
"from": "human",
"value": "fsUtils = require 'fs-utils'\npath = require 'path'\n_ = require 'underscore'\narchive = require 'ls... | coffeescript | chosen |
[
{
"from": "system",
"value": "Increase SavesDelayed debounce to 200ms.\n\nWe're trying to eliminate some recurring test failures.\nThis may change more in the future.\n"
},
{
"from": "human",
"value": "ETahi.SavesDelayed = Ember.Mixin.create\n saveInFlight: false\n\n saveDelayed: ->\n Ember... | coffeescript | chosen |
[
{
"from": "system",
"value": "Remove unneeded initialization of variable from superclass\n"
},
{
"from": "human",
"value": "{$$} = require 'space-pen'\nSelectList = require 'select-list'\n$ = require 'jquery'\n_ = require 'underscore'\n\nmodule.exports =\nclass CommandPaletteView extends SelectL... | coffeescript | chosen |
[
{
"from": "system",
"value": "Return null from OpenURL.execute() to reduce output size\n"
},
{
"from": "human",
"value": "_ = require \"underscore\"\nUtil = require \"../util/util\"\nHasProperties = require \"../common/has_properties\"\n\nclass OpenURL extends HasProperties\n type: 'OpenURL'\n\... | coffeescript | chosen |
[
{
"from": "system",
"value": "Fix delete button on sub comments\n"
},
{
"from": "human",
"value": "window.ReactSubComment = React.createBackboneClass\n displayName: 'ReactSubComment'\n propTypes:\n fact_opinionators: React.PropTypes.instanceOf(Opinionators).isRequired\n model: React.Prop... | coffeescript | chosen |
[
{
"from": "system",
"value": "Hide vcs-ignored files in Atom\n"
},
{
"from": "human",
"value": "\"*\":\n \"autocomplete-python\":\n useKite: false\n core:\n disabledPackages: [\n \"metrics\"\n \"linter-python-pep8\"\n ]\n telemetryConsent: \"no\"\n themes: [\n \"o... | coffeescript | chosen |
[
{
"from": "system",
"value": "Use cookies for callback instead of session\n"
},
{
"from": "human",
"value": "passport = require 'passport'\ndebug = require('debug')('meshblu-google-authenticator:routes')\nurl = require 'url'\n\nclass Router\n constructor: (@app) ->\n\n register: =>\n @app.g... | coffeescript | chosen |
[
{
"from": "system",
"value": "Remove trailing slashes and HTML file extension from prettyfied URLs\n"
},
{
"from": "human",
"value": "require [\n \"handlebars\"\n], (\n Handlebars\n) ->\n helpers =\n highlightMatches: (match) ->\n result = match.wrap (match) ->\n \"<span class=... | coffeescript | chosen |
[
{
"from": "system",
"value": "Refactor virtual pageview spec to have a setup function\n"
},
{
"from": "human",
"value": "//= require analytics/virtual_pageview\n\ndescribe 'VirtualPageview', ->\n element = null\n\n describe 'given \"data-virtual-pageview\" anchor link', ->\n\n beforeEach ->... | coffeescript | chosen |
[
{
"from": "system",
"value": "Use addObject instead of pushObject.\n"
},
{
"from": "human",
"value": "ETahi.ControllerParticipants = Ember.Mixin.create\n needs: ['application']\n currentUser: Ember.computed.alias('controllers.application.currentUser')\n allUsers: (->\n paperId = @get('pape... | coffeescript | chosen |
[
{
"from": "system",
"value": "Make animation duration much shorter\n"
},
{
"from": "human",
"value": "# 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:/... | coffeescript | chosen |
[
{
"from": "system",
"value": "Switch to preview after drag and drop\n"
},
{
"from": "human",
"value": "{\n namespace,\n utils,\n jQuery: $,\n templates: {tpl}\n} = uploadcare\n\n{dragdrop} = uploadcare.widget\n\nnamespace 'uploadcare.widget.tabs', (ns) ->\n class ns.FileTab extends ns.BaseS... | coffeescript | chosen |
[
{
"from": "system",
"value": "Use the users name in the auto complete box\n"
},
{
"from": "human",
"value": "#= require ../auto_complete/search_list_view\n\nclass AutoCompleteSearchUserView extends Backbone.Factlink.StepView\n tagName: \"li\"\n\n template: \"auto_complete/search_item\"\n\n te... | coffeescript | chosen |
[
{
"from": "system",
"value": "Fix menu canvas & navigation render in visualization-story\n"
},
{
"from": "human",
"value": "Visualization = require './visualization.js'\n\nclass VisualizationStory extends Visualization\n\n # Override onSync method to set Visualization Canvas offset x & use rend... | coffeescript | chosen |
[
{
"from": "system",
"value": "FIX: Change dependency module of student-project to project-viewer\n"
},
{
"from": "human",
"value": "angular.module('doubtfire.projects', [\n 'doubtfire.projects.states'\n 'doubtfire.projects.student-project'\n 'doubtfire.projects.project-lab-list'\n 'doubtfire... | coffeescript | chosen |
[
{
"from": "system",
"value": "Use an alert instead of the access_denied template\n"
},
{
"from": "human",
"value": "Router.configure\n layoutTemplate: \"layout\"\n loadingTemplate: \"loading\"\n waitOn: ->\n if Meteor.user()\n Meteor.subscribe \"patients\"\n els... | coffeescript | chosen |
[
{
"from": "system",
"value": "Fix casing on JSON folder paths\n"
},
{
"from": "human",
"value": "module.exports = (grunt) ->\n\tgrunt.initConfig\n\t\tclean:\n\t\t\ttest: ['tmp']\n\t\tsemverCopy:\n\t\t\tinlineObject:\n\t\t\t\tresources:\n\t\t\t\t\tname: \"inlineResource\"\n\t\t\t\t\trange: \"~1.1... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add Grunt task to reset stuff\n\nHelps with testing the install process. You probably shouldn't run this.\n"
},
{
"from": "human",
"value": "fs = require 'fs'\npath = require 'path'\nMocha = require 'mocha'\n\nmodule.exports = (grunt) ->\n\n # Project configuration... | coffeescript | chosen |
[
{
"from": "system",
"value": "Rename tag prefix to 'context-cnxmod'\n"
},
{
"from": "human",
"value": "React = require 'react'\n\nMultiInput = require './multi-input'\n\nCnxModTag = React.createClass\n\n propTypes:\n exerciseId: React.PropTypes.string.isRequired\n\n validateInput: (value) -... | coffeescript | chosen |
[
{
"from": "system",
"value": "Check screen width before increasing max position\n"
},
{
"from": "human",
"value": "class @LayoutNav\n $ ->\n $('#scrolling-tabs').on 'scroll', ->\n currentPosition = $(this).scrollLeft()\n return if currentPosition == 0\n if $('.nav-control').le... | coffeescript | chosen |
[
{
"from": "system",
"value": "Adjust code to attach event handler at body, not document level\n\nMy working theory is that Prototype and/or Chrome has changed to not propogate custom events\npast the body (to the document).\n"
},
{
"from": "human",
"value": "define [\"t5/core/dom\", \"t5/core/ev... | coffeescript | chosen |
[
{
"from": "system",
"value": "Fix nanobar updates when there is no nanobar.\n"
},
{
"from": "human",
"value": "#= require nanobar.js\nclass @PodsProgressBar\n update: (factor) ->\n progress = factor * 100\n @nanobar.go(progress)\n start: ->\n $container = $('.progress-container').empt... | coffeescript | chosen |
[
{
"from": "system",
"value": "Fix scrollTo in results summary links\n"
},
{
"from": "human",
"value": "SearchResults = React.createClass\n scrollTo: (event)->\n console.log(event)\n window.scrollTo(0,$(\"activities_bookmark\").offsetTop)\n\n render: ->\n message = (@props.results.map... | coffeescript | chosen |
[
{
"from": "system",
"value": "Set propTypes and add key to ExerciseStep\n"
},
{
"from": "human",
"value": "React = require 'react'\n_ = require 'underscore'\ntasks = require './collection'\n\n{ExerciseStep} = require '../exercise'\n{ExerciseButton} = require '../buttons'\n\nTaskReview = React.cr... | coffeescript | chosen |
[
{
"from": "system",
"value": "Fix page's title in club and tags\n"
},
{
"from": "human",
"value": "define [\n \"chaplin\"\n \"models/posts\"\n \"views/posts\"\n], (Chaplin, Posts, PostsView) ->\n \"use strict\"\n\n class PostsController extends Chaplin.Controller\n\n show: (params) ->\n ... | coffeescript | chosen |
[
{
"from": "system",
"value": "Revert \"Compare deltaY instead of \"normalized\" delta\"\n\nThis reverts commit 52775026804f7e6866fb94100fd5c8f15618bc0a.\n"
},
{
"from": "human",
"value": "#= require jquery.mousewheel\n\nshouldUseNativeBehaviour = ($el) ->\n # We explicitly only want a scrollbar... | coffeescript | chosen |
[
{
"from": "system",
"value": "Allow markdown preview view to be scrolled with core:move-up/move-down"
},
{
"from": "human",
"value": "fs = require 'fs'\n$ = require 'jquery'\nScrollView = require 'scroll-view'\n{$$$} = require 'space-pen'\n\nmodule.exports =\nclass MarkdownPreviewView extends Sc... | coffeescript | chosen |
[
{
"from": "system",
"value": "Replace on ajax:sucess triggers replace:success\n\nThis makes the comment box resize correctly after a new comment is\nposted.\n"
},
{
"from": "human",
"value": "$(document).on 'ajax:success', '[data-replace-self-on-ajax-success]', (event, data, status, xhr) ->\n $... | coffeescript | chosen |
[
{
"from": "system",
"value": "Remove unused $scope attributes from Checkout controller\n"
},
{
"from": "human",
"value": "Sprangular.controller 'CheckoutCtrl', (\n $scope,\n $location,\n countries,\n order,\n Status,\n Account,\n Cart,\n Checkout,\n Angularytics,\n Env,\n $translate\n... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add bootsrap.js to SearchView dependencies.\n"
},
{
"from": "human",
"value": "define ['jquery', 'underscore', 'backbone'], ($, _, Backbone) ->\n class SearchView extends Backbone.View\n\n el: $('#search')\n\n events:\n 'submit form': 'searchRoute'\n\n ... | coffeescript | chosen |
[
{
"from": "system",
"value": "Comment symbol to allow toggling comments"
},
{
"from": "human",
"value": "'.source.haskell':\n 'editor':\n 'increaseIndentPattern': '((^.*(=|\\\\bdo|\\\\bwhere|\\\\bthen|\\\\belse|\\\\bof)\\\\s*$)|(^.*\\\\bif(?!.*\\\\bthen\\\\b.*\\\\belse\\\\b.*).*$))'\n 'de... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add redirect in main route\n\n[#94794346]\n"
},
{
"from": "human",
"value": "`import Ember from 'ember'`\n\nApplication = Ember.Route.extend\n setupController: (controller, model)->\n controller.set('current_user', @store.find('user', 'me'))\n\n`export default A... | coffeescript | chosen |
[
{
"from": "system",
"value": "Make new tasks appear at the top of the list.\n"
},
{
"from": "human",
"value": "angular.module('todoApp').controller \"TodoListController\", ($scope, Task) ->\n $scope.init = (taskListId) ->\n @taskService = new Task(taskListId)\n $scope.tasks = @taskService... | coffeescript | chosen |
[
{
"from": "system",
"value": "Make \"original-fs\" available as built-in module\n"
},
{
"from": "human",
"value": "return (process, require, asarSource) ->\n {createArchive} = process.binding 'atom_common_asar'\n\n # Make asar.coffee accessible via \"require\".\n process.binding('natives').AT... | coffeescript | chosen |
[
{
"from": "system",
"value": "Truncate title for blocks and channels\n"
},
{
"from": "human",
"value": "module.exports = \n \"\"\"\n query user($id: ID! $per: Int, $page: Int, $perBlocks: Int, $q: String) {\n user(id: $id) {\n contents(per: $per, type: \"channel\", page: $page, q: $q) ... | coffeescript | chosen |
[
{
"from": "system",
"value": "Disable background-tips, exception reporting and metrics plugins, cleanup\n"
},
{
"from": "human",
"value": "\"*\":\n editor:\n fontFamily: \"PragmataPro\"\n showInvisibles: true\n showIndentGuide: true\n invisibles: {}\n fontSize: 16\n core:\n d... | coffeescript | chosen |
[
{
"from": "system",
"value": "Remove java-specific wrap guide, add 120\n"
},
{
"from": "human",
"value": "\"*\":\n \"exception-reporting\":\n userId: \"f3cfa406-9a70-3680-f858-0c412c97f37e\"\n welcome:\n showOnStartup: false\n metrics:\n userId: \"a22f0efc-41ce-ed43-e5c0-88884b9fac7c... | coffeescript | chosen |
[
{
"from": "system",
"value": "Refactor assignedTasks property on Paper Controller\n\n- Removed underscore.js method. Ember provides a lot of enumerable\n methods so we should be able to remove underscore.\n"
},
{
"from": "human",
"value": "ETahi.PaperController = Ember.ObjectController.extend\n... | coffeescript | chosen |
[
{
"from": "system",
"value": "Fix Backbone app to use data-revision-id on edit_revision_panel\n"
},
{
"from": "human",
"value": "class Georgia.Routers.EditPagePanel extends Backbone.Router\n routes:\n \"\": \"index\"\n\n initialize: ->\n @images = new Georgia.Collections.Images()\n @i... | coffeescript | chosen |
[
{
"from": "system",
"value": ":bug: Use SetPaths to support older Atom versions\n"
},
{
"from": "human",
"value": "\n\nFS = require('fs')\nmodule.exports =\n Save:->\n try\n Files = []\n ActiveEditor = atom.workspace.getActiveEditor()\n atom.workspace.eachEditor (editor)->\n ... | coffeescript | chosen |
[
{
"from": "system",
"value": "Make enter key trigger click on IE and Chrome\n"
},
{
"from": "human",
"value": "Species.ElibrarySearchFormView = Ember.View.extend\n templateName: 'species/elibrary_search_form'\n classNames: ['search-block']\n\n keyDown: (event) ->\n if event.keyCode == 13\n... | coffeescript | chosen |
[
{
"from": "system",
"value": "Fix throwing error for editor pane.\n"
},
{
"from": "human",
"value": "class EditorPane extends Pane\n\n constructor: (options = {}, data) ->\n\n options.cssClass = KD.utils.curry \"editor-pane\", options.cssClass\n\n super options, data\n\n @createEditor(... | coffeescript | chosen |
[
{
"from": "system",
"value": "ENHANCE: Change name to teaching period to rollover\n"
},
{
"from": "human",
"value": "angular.module('doubtfire.teaching-periods.states.edit.directives.teaching-period-units', [])\n\n.directive('teachingPeriodUnits', ->\n replace: true\n restrict: 'E'\n template... | coffeescript | chosen |
[
{
"from": "system",
"value": "Allow SMTP server with no login\n\nOnly require smtp host to be present. And include username and password if they are provided."
},
{
"from": "human",
"value": "buildMailURL = _.debounce ->\n\tconsole.log 'Updating process.env.MAIL_URL'\n\tif RocketChat.settings.ge... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add demo user api key to URL if not specified\n"
},
{
"from": "human",
"value": "class Workbench.Routers.WorkbenchRouter extends Backbone.Router\n initialize: (options) ->\n if (location.search.length < 1)\n # Demo user read-only key\n apiKey = \"3359a... | coffeescript | chosen |
[
{
"from": "system",
"value": "Update helper method to user Ember.Handlebars.helper\n"
},
{
"from": "human",
"value": "Ember.Handlebars.registerBoundHelper('date', (dateString) ->\n if dateString && Ember.typeOf(dateString) == 'string'\n date = new Date(dateString.toString())\n date.toLoca... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add San Francisco to list of cities on /collect\n"
},
{
"from": "human",
"value": "module.exports = \n fullyQualifiedLocations: [\n 'New York, NY, USA',\n 'London, United Kingdom',\n 'Los Angeles, CA, USA',\n 'Paris, France',\n 'Berlin, Germany',\n ... | coffeescript | chosen |
[
{
"from": "system",
"value": "Fix fixture to contain .editor instead of .text-editor"
},
{
"from": "human",
"value": "'context-menu':\n '.text-editor':\n 'The Command': \"the-namespace:the-command\"\n"
},
{
"from": "gpt",
"value": "'context-menu':\n '.editor':\n 'The Command'... | coffeescript | chosen |
[
{
"from": "system",
"value": "Make sure all DomainEvents are stored before calling the callback\n"
},
{
"from": "human",
"value": "_ = require 'underscore'\nBackbone = require 'backbone'\n\nclass DomainEventService\n\n _.extend @prototype, Backbone.Events\n\n constructor: (@_eventStore) ->\n\n... | coffeescript | chosen |
[
{
"from": "system",
"value": "Comment specs back in but pend them\n"
},
{
"from": "human",
"value": "# StorageManager = require '../src/storage-manager'\n#\n# # This spec file cannot be included with other specs because it requires a pristine\n# # StorageManager singleton instance. Instead, ensu... | coffeescript | chosen |
[
{
"from": "system",
"value": "Make sure the backbone extensions are only loaded once\n"
},
{
"from": "human",
"value": "ti = require 'tb/lib/ti'\n\nmodule.exports =\n\n load: ->\n\n Backbone.$ = ti.$\n\n @extendView()\n\n extendView: ->\n\n # The default `viewName` for a View is `\"Vi... | coffeescript | chosen |
[
{
"from": "system",
"value": "Fix bug with opt out of add to home screen\n"
},
{
"from": "human",
"value": "# Manages add to home screen button.\nGather.Views.AddToHomeScreenView = Backbone.View.extend\n initialize: (options) ->\n @options = options\n window.addEventListener('beforeinstal... | coffeescript | chosen |
[
{
"from": "system",
"value": "FIX: Correct error message on failed enrol student\n"
},
{
"from": "human",
"value": "angular.module('doubtfire.units.modals.unit-student-enrolment-modal', [])\n#\n# Modal to enrol a student in the given tutorial\n#\n.factory('UnitStudentEnrolmentModal', ($modal) ->... | coffeescript | chosen |
[
{
"from": "system",
"value": "Update local setup to alert on command execution\n"
},
{
"from": "human",
"value": "require [\n \"jquery\"\n \"app\"\n \"../extension/hotkey\"\n], (\n $\n App\n) ->\n class LocalSetup\n constructor: ->\n @loadCommands()\n App.on \"execute.commands... | coffeescript | chosen |
[
{
"from": "system",
"value": "Drop need for document ready\nConsistent quoting\n"
},
{
"from": "human",
"value": "$ ->\n showOrderDialog = (orderId) ->\n $.ajax\n url: \"/orders/#{orderId}/show_order_dialog\"\n type: 'POST'\n dataType: 'json'\n success: (response) ->\n ... | coffeescript | chosen |
[
{
"from": "system",
"value": "Support dismissing the dialog just with Enter.\n"
},
{
"from": "human",
"value": "define [\n\t\"base\"\n], (App) ->\n\tApp.controller \"FeatureOnboardingController\", ($scope, settings) ->\n\t\t$scope.innerStep = 1\n\n\t\t$scope.turnCodeCheckOn = () ->\n\t\t\tsettin... | coffeescript | chosen |
[
{
"from": "system",
"value": "Use function instead of instance variable in helper methods\n"
},
{
"from": "human",
"value": "Backbone.Factlink ||= {}\nclass Backbone.Factlink.Collection extends Backbone.Collection\n constructor: (args...) ->\n super args...\n @_loading = false\n @on 'b... | coffeescript | chosen |
[
{
"from": "system",
"value": "Allow empty results prop to MainAreaBottom\n"
},
{
"from": "human",
"value": "#= require ./start/start_main\n#= require ./results/results_main\n\n###* @jsx React.DOM ###\n\nwindow.MainAreaBottom = React.createClass\n propTypes:\n store: React.PropTypes.object.is... | coffeescript | chosen |
[
{
"from": "system",
"value": "Remove grid version of Turtle\n"
},
{
"from": "human",
"value": "exports.draw_grid = (S, grid_size, cell_size) ->\n draw_leg = (x, y) ->\n size = cell_size * 0.5\n S.rect {\n x: x\n y: y\n height: size \n width: size / 2\n fill: \"#00... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add rendering of rails flash messages in ember.\n"
},
{
"from": "human",
"value": "Wheelmap.FlashMessagesController = Ember.ArrayController.extend\n pushMessage: (type, message)->\n @pushObject Wheelmap.FlashMessage.create\n type: type\n message: messa... | coffeescript | chosen |
[
{
"from": "system",
"value": "Use Token as the token header key\n"
},
{
"from": "human",
"value": "Dashboard.Auth = Ember.Auth.extend\n request: 'jquery'\n response: 'json'\n strategy: 'token'\n session: 'cookie'\n\n modules: [\n 'emberData'\n 'authRedirectable'\n 'actionRedirectab... | coffeescript | chosen |
[
{
"from": "system",
"value": "Remove unused logger, so Signal actually works\n"
},
{
"from": "human",
"value": "define [\n\t'dispatcher'\n\t'action-manager'\n\t'store'\n\t'invariant'\n\t'signals'\n], (dispatcher, actionManager, Store, invariant, logger, {Signal}) ->\n\n\treturn {\n\t\tdispatcher... | coffeescript | chosen |
[
{
"from": "system",
"value": "Allow imported users to register themselves\n"
},
{
"from": "human",
"value": "Meteor.methods\n\tregisterUser: (formData) ->\n\n\t\tcheck formData, Object\n\n\t\tif RocketChat.settings.get('Accounts_RegistrationForm') is 'Disabled'\n\t\t\tthrow new Meteor.Error 'err... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add subscription for session data context and autosave on change"
},
{
"from": "human",
"value": "define [\n 'environ'\n 'mediator'\n 'underscore'\n 'serrano'\n], (environ, mediator, _, Serrano) ->\n\n class DataContexts extends Serrano.DataContexts\n... | coffeescript | chosen |
[
{
"from": "system",
"value": "Use TestHelper instead of TaskHelper\n"
},
{
"from": "human",
"value": "selenium = require 'selenium-webdriver'\n{TaskHelper} = require './task'\n\nclass CourseSelect extends TaskHelper\n\n goTo: (category) ->\n # Go to the bio dashboard\n switch category\n ... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add description view option to stack template editor view\n"
},
{
"from": "human",
"value": "BaseStackEditorView = require './basestackeditorview'\n\n\nmodule.exports = class StackTemplateEditorView extends BaseStackEditorView\n\n\n constructor: (options = {}, data... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add de and fr translations."
},
{
"from": "human",
"value": "I18n.translations ||=\n en:\n readmore:\n button_text:\n open: 'Read more'\n close: 'Read less'\n\n de:\n readmore:\n button_text:\n open: 'Open'\n close: 'Clo... | coffeescript | chosen |
[
{
"from": "system",
"value": "Tidy up mobile select group manager\n"
},
{
"from": "human",
"value": "define ['jsmin'], ($) ->\n\n class SelectGroup\n\n constructor: (@parent = null, @callback = false) ->\n @selectParent = (if @parent != null then $(@parent) else $('.js-select-group'))\n... | coffeescript | chosen |
[
{
"from": "system",
"value": "Disable display of anchoring pips in sidebar\n"
},
{
"from": "human",
"value": "Guest = require('../../../../../h/h/static/scripts/annotator/guest.coffee');\nextend = require('extend')\nAnnotator = require('annotator')\n$ = Annotator.$\n\nclass GuestExt extends Gue... | coffeescript | chosen |
[
{
"from": "system",
"value": "Use correct github auth behaviour in test\n"
},
{
"from": "human",
"value": "AppConfig = require('../initializers/config')\nDeploy = require('../lib/deploy')\nrange_check = require('range_check')\n\ntagRefersToServer = (tag, serverName) ->\n return new RegExp(\"^#{... | coffeescript | chosen |
[
{
"from": "system",
"value": "Verify selection on key up\n"
},
{
"from": "human",
"value": "# Copyright (c) 2012 Mattes Groeger\n#\n# Permission is hereby granted, free of charge, to any person obtaining a copy\n# of this software and associated documentation files (the \"Software\"), to deal\n#... | coffeescript | chosen |
[
{
"from": "system",
"value": "Update description of the hubot integration.\n\nSigned-off-by: François de Metz <5187da0b934cc25eb2201a3ec9206c24b13cb23b@stormz.me>\n"
},
{
"from": "human",
"value": "# Description:\n# Allows Hubot interact with mercure\n#\n# Commands:\n# hubot download me <url... | coffeescript | chosen |
[
{
"from": "system",
"value": "Use ffmpeg for wav file conversion\n"
},
{
"from": "human",
"value": "FileEditorView = require './file-editor-view'\n\nexec = require('child_process').execSync\n\nmodule.exports =\nclass WAVEditorView extends FileEditorView\n @content: ->\n @div class: 'xoreos-e... | coffeescript | chosen |
[
{
"from": "system",
"value": "Remove redundent doc in comment\n"
},
{
"from": "human",
"value": "###\ngrunt-commonjs-coffee\nhttps://github.com/tuxracer/grunt-commonjs-coffee\n\nCopyright (c) 2013 Team Delicious, AVOS Systems Inc.\nLicensed under the MIT license.\n###\npath = require 'path'\ngru... | coffeescript | chosen |
[
{
"from": "system",
"value": "Use proper createRecord function call\n"
},
{
"from": "human",
"value": "Review.PermissionCellComponent = Ember.Component.extend\n tagName: 'th'\n classNames: ['permissions', 'text-center']\n classNameBindings: ['permission.isAllowed:success:danger']\n\n permiss... | coffeescript | chosen |
[
{
"from": "system",
"value": "Set the y axis to a minimum of 0.\n"
},
{
"from": "human",
"value": "$(document).ready ->\n chart = new Highcharts.Chart\n chart:\n renderTo: 'weekly-performance-graph',\n defaultSeriesType: 'spline',\n backgroundColor: '#f7f7f7',\n width: 60... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add auto scroll on question selection to user graph\n"
},
{
"from": "human",
"value": "window.GraphQuestionList = React.createClass\r\n\tpropTypes:\r\n\t\tquestions: React.PropTypes.array.isRequired\r\n\t\tactiveQuestion: React.PropTypes.number.isRequired\r\n\t\tans... | coffeescript | chosen |
[
{
"from": "system",
"value": "Fix focusing input with content (focus at end)\n"
},
{
"from": "human",
"value": "Marbles.Views.MentionsAutoCompleteTextarea = class MentionsAutoCompleteTextareaView extends Marbles.View\n @view_name: 'mentions_autocomplete_textarea'\n\n constructor: (options = {}... | coffeescript | chosen |
[
{
"from": "system",
"value": "Move back to Firefox by default\n"
},
{
"from": "human",
"value": "config = require('../../src/protractor.conf.coffee').config\n\nconfig.capabilities =\n browserName: 'chrome'\n\nconfig.framework = 'mocha'\nconfig.specs = '../**/*.spec.coffee'\nconfig.allScriptsTim... | coffeescript | chosen |
[
{
"from": "system",
"value": "Fix app file on duppy app\n"
},
{
"from": "human",
"value": "#= require_self\n#= require_tree .\n\nwindow.Dummy =\n Common:\n initPage: ->\n # If you're using the Turbolinks and you need run a code only one time, put something here.\n # if you're not u... | coffeescript | chosen |
[
{
"from": "system",
"value": "Fix trigger \"select\" with event & atom (dispatcher)\n"
},
{
"from": "human",
"value": "class Atoms.Molecule.Navigation extends Atoms.Core.Class.Molecule\n\n template: \"\"\"\n <nav molecule-class=\"{{className}}\" class=\"{{style}}\"></nav>\n \"\"\"\n\n bind... | coffeescript | chosen |
[
{
"from": "system",
"value": "Set color by the severity\n"
},
{
"from": "human",
"value": "NotificationPlugin = require \"../../notification-plugin.js\"\n\nclass Slack extends NotificationPlugin\n @errorAttachment = (event) ->\n fallback: \"Something happened\",\n fields: [\n {\n ... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add more event emitter wildcard tests\n"
},
{
"from": "human",
"value": "should = require 'should'\nsinon = require 'sinon'\nshouldSinon = require 'should-sinon'\nKDEventEmitterWildcard = require '../../lib/core/eventemitterwildcard'\n\n\ndescribe 'KDEventEmitterWil... | coffeescript | chosen |
[
{
"from": "system",
"value": "Remove forgotten console.log in EmailValidator :-/\n"
},
{
"from": "human",
"value": "#= require ./validators\n\nclass Batman.EmailValidator extends Batman.Validator\n @triggers 'email'\n\n # WebKit's email validation regexp\n emailRegexp: /[a-z0-9!#$%&'*+\\/=?^_... | coffeescript | chosen |
[
{
"from": "system",
"value": "Use Time component for displaying when task was last worked\n"
},
{
"from": "human",
"value": "React = require 'react'\nmoment = require 'moment'\n\nCellStatusMixin = require './cell-status-mixin'\n\nConceptCoachCell = React.createClass\n\n mixins: [CellStatusMixi... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add MessageSerializer; Messages relation to Room; change createdAt to string for date\n"
},
{
"from": "human",
"value": "App.User = DS.Model.extend\n firstName: DS.attr(\"string\")\n lastName: DS.attr(\"string\")\n email: DS.attr(\"string\")\n role: DS.attr(... | coffeescript | chosen |
[
{
"from": "system",
"value": "Fix file input not adding new field after change bug.\n\nFile input now use change to trigger addition.\nThis is okay because use has time to react to change\nand probably won’t be able to click the submit button\nbefore dom change.\n"
},
{
"from": "human",
"value":... | coffeescript | chosen |
[
{
"from": "system",
"value": "Load and initialize epic editor on question form\n"
},
{
"from": "human",
"value": "# 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 ... | coffeescript | chosen |
[
{
"from": "system",
"value": "Support focus & checked psuedo classes\n"
},
{
"from": "human",
"value": "# This class scans your stylesheets for pseudo classes, then inserts a new CSS\n# rule with the same properties, but named 'psuedo-class-{{name}}'.\n#\n# Supported pseudo classes: hover, disab... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add event to post message\n"
},
{
"from": "human",
"value": "# 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://coffeescri... | coffeescript | chosen |
[
{
"from": "system",
"value": "Switch to using jQuery's on() function instead of live for tandem_content events."
},
{
"from": "human",
"value": "# Place all the behaviors and hooks related to the matching controller here.\n# All this logic will automatically be available in application.js.\n\n$(... | coffeescript | chosen |
[
{
"from": "system",
"value": "Support for logging all errors to console\n"
},
{
"from": "human",
"value": "noflo = require 'noflo'\ndebugAction = require('debug') 'noflo-ui:action'\ndebugActionFull = require('debug') 'noflo-ui:action:full'\n\nsendEvent = (label, action = 'click', category = 'men... | coffeescript | chosen |
[
{
"from": "system",
"value": "Update to be more idiomatic"
},
{
"from": "human",
"value": "define [\n '../core'\n], (c) ->\n\n class Model extends c.Backbone.Model\n url: ->\n if @isNew() then super else @links.self\n\n constructor: (attrs, options) ->\n ... | coffeescript | chosen |
[
{
"from": "system",
"value": "Add a row with bigger height in demo\n"
},
{
"from": "human",
"value": "\nmodule.exports =\n\n config:\n undefinedDisplay:\n type: 'string'\n default: ''\n\n activate: (state) ->\n atom.workspaceView.command 'table-edit:demo', => @openDemo()\n @... | coffeescript | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.