entities listlengths 1 8.61k | max_stars_repo_path stringlengths 7 172 | max_stars_repo_name stringlengths 5 89 | max_stars_count int64 0 82k | content stringlengths 14 1.05M | id stringlengths 2 6 | new_content stringlengths 15 1.05M | modified bool 1
class | references stringlengths 29 1.05M |
|---|---|---|---|---|---|---|---|---|
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999116659164429,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/profile-page/stats.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { div, dd, dl, dt } from 'react-dom-factories'
el = React.createElement
export class Stats extends React.... | 97700 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { div, dd, dl, dt } from 'react-dom-factories'
el = React.createElement
export class Stats extends React.PureCom... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { div, dd, dl, dt } from 'react-dom-factories'
el = React.createElement
export class Stats extend... |
[
{
"context": "{\n name: 'Double Ambassador'\n author: 'rspeer'\n requires: ['Amba",
"end": 17,
"score": 0.829471230506897,
"start": 11,
"tag": "NAME",
"value": "Double"
},
{
"context": "{\n name: 'Double Ambassador'\n author: 'rspeer'\n requires: ['Ambassador']\n gainPriority:... | strategies/DoubleAmbassador.coffee | rspeer/dominiate | 65 | {
name: 'Double Ambassador'
author: 'rspeer'
requires: ['Ambassador']
gainPriority: (state, my) -> [
"Colony" if my.countInDeck("Platinum") > 0
"Province" if state.countInSupply("Colony") <= 6
"Duchy" if 0 < state.gainsToEndGame() <= 5
"Estate" if 0 < state.gainsToEndGame() <= 2
"Platinum"
... | 199918 | {
name: '<NAME> Ambassador'
author: 'rspeer'
requires: ['Ambassador']
gainPriority: (state, my) -> [
"Colony" if my.countInDeck("Platinum") > 0
"Province" if state.countInSupply("Colony") <= 6
"Duchy" if 0 < state.gainsToEndGame() <= 5
"Estate" if 0 < state.gainsToEndGame() <= 2
"Platinum"
... | true | {
name: 'PI:NAME:<NAME>END_PI Ambassador'
author: 'rspeer'
requires: ['Ambassador']
gainPriority: (state, my) -> [
"Colony" if my.countInDeck("Platinum") > 0
"Province" if state.countInSupply("Colony") <= 6
"Duchy" if 0 < state.gainsToEndGame() <= 5
"Estate" if 0 < state.gainsToEndGame() <= 2
... |
[
{
"context": "ter\">\n <p className=\"pull-left\">Made By David Wetterau</p>\n <ul className=\"pull-right list-in",
"end": 967,
"score": 0.999896228313446,
"start": 953,
"tag": "NAME",
"value": "David Wetterau"
},
{
"context": "e\">\n <li><a href=\"... | src/components/app/layout.coffee | dwetterau/base-node-app | 0 | React = require 'react'
Router = require 'react-router'
RouteHandler = Router.RouteHandler
{AppBar, AppCanvas} = require 'material-ui'
LeftNavigation = require './navigation/left_navigation'
Layout = React.createClass
mixins: [Router.State]
_onMenuIconButtonTouchTap: ->
@refs.leftNavigation.toggle()
render... | 201703 | React = require 'react'
Router = require 'react-router'
RouteHandler = Router.RouteHandler
{AppBar, AppCanvas} = require 'material-ui'
LeftNavigation = require './navigation/left_navigation'
Layout = React.createClass
mixins: [Router.State]
_onMenuIconButtonTouchTap: ->
@refs.leftNavigation.toggle()
render... | true | React = require 'react'
Router = require 'react-router'
RouteHandler = Router.RouteHandler
{AppBar, AppCanvas} = require 'material-ui'
LeftNavigation = require './navigation/left_navigation'
Layout = React.createClass
mixins: [Router.State]
_onMenuIconButtonTouchTap: ->
@refs.leftNavigation.toggle()
render... |
[
{
"context": "ypes.OBSERVABLE\n <RecursiveOperator key={index} id={@props.operator.id} observable={arg.observab",
"end": 2143,
"score": 0.7113072872161865,
"start": 2138,
"tag": "KEY",
"value": "index"
}
] | assets/javascripts/react/components/operator_component.coffee | urmastalimaa/rx-visualize | 10 | R = require 'ramda'
React = require 'react'
Operators = require '../../descriptors/operators'
getDocLink = require('../../documentation_provider').getDocLink
argTypes = require '../../descriptors/argument_types'
exampleObservable = require('../../../../example_observables')[0].observable
classificator = require '../../... | 74178 | R = require 'ramda'
React = require 'react'
Operators = require '../../descriptors/operators'
getDocLink = require('../../documentation_provider').getDocLink
argTypes = require '../../descriptors/argument_types'
exampleObservable = require('../../../../example_observables')[0].observable
classificator = require '../../... | true | R = require 'ramda'
React = require 'react'
Operators = require '../../descriptors/operators'
getDocLink = require('../../documentation_provider').getDocLink
argTypes = require '../../descriptors/argument_types'
exampleObservable = require('../../../../example_observables')[0].observable
classificator = require '../../... |
[
{
"context": "thods for managing Parse.User attributes\n# @author Michael Lin, Snaphappi Inc.\n###\nangular.module('starter')\n.fa",
"end": 135,
"score": 0.9996695518493652,
"start": 124,
"tag": "NAME",
"value": "Michael Lin"
},
{
"context": " dirty : ()->\n return $rootSc... | app/js/controllers/user.coffee | mixersoft/ionic-parse-facebook-scaffold | 5 | 'use strict'
###*
# @ngdoc function
# @name appProfile
# @description methods for managing Parse.User attributes
# @author Michael Lin, Snaphappi Inc.
###
angular.module('starter')
.factory 'appProfile', [
'$rootScope', '$q', 'appParse', 'ngFB', 'exportDebug'
($rootScope, $q, appParse, ngFB, exportDebug)->
_u... | 118701 | 'use strict'
###*
# @ngdoc function
# @name appProfile
# @description methods for managing Parse.User attributes
# @author <NAME>, Snaphappi Inc.
###
angular.module('starter')
.factory 'appProfile', [
'$rootScope', '$q', 'appParse', 'ngFB', 'exportDebug'
($rootScope, $q, appParse, ngFB, exportDebug)->
_userna... | true | 'use strict'
###*
# @ngdoc function
# @name appProfile
# @description methods for managing Parse.User attributes
# @author PI:NAME:<NAME>END_PI, Snaphappi Inc.
###
angular.module('starter')
.factory 'appProfile', [
'$rootScope', '$q', 'appParse', 'ngFB', 'exportDebug'
($rootScope, $q, appParse, ngFB, exportDebug)-... |
[
{
"context": "bj[string] if keys.length == 1\n key = keys.shift()\n f.recursiveLocalization obj[key], keys.",
"end": 593,
"score": 0.6829356551170349,
"start": 588,
"tag": "KEY",
"value": "shift"
}
] | app/assets/javascripts/manage/spa/app/factories/localization.coffee | openteam-tusur/aspirant-site | 0 | angular
.module('dashboard')
.factory('localization', ['$http',
($http) ->
f = {}
f.getLocalization = () ->
$http
.get '/manage/angular/get_locale_hash'
.success (data) ->
f.locale = data.locale
f.l = (string) ->
return string unless f.locale
... | 75599 | angular
.module('dashboard')
.factory('localization', ['$http',
($http) ->
f = {}
f.getLocalization = () ->
$http
.get '/manage/angular/get_locale_hash'
.success (data) ->
f.locale = data.locale
f.l = (string) ->
return string unless f.locale
... | true | angular
.module('dashboard')
.factory('localization', ['$http',
($http) ->
f = {}
f.getLocalization = () ->
$http
.get '/manage/angular/get_locale_hash'
.success (data) ->
f.locale = data.locale
f.l = (string) ->
return string unless f.locale
... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9994612336158752,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-vm-harmony-symbols.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | 29089 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "bileResetPassword\n data:\n newPassword: password\n success: (resp) =>\n controllers.rout",
"end": 3481,
"score": 0.9988001585006714,
"start": 3473,
"tag": "PASSWORD",
"value": "password"
}
] | talk-account/client/app/forgot-password.coffee | ikingye/talk-os | 3,084 |
React = require 'react'
Immutable = require 'immutable'
ajax = require '../ajax'
detect = require '../util/detect'
locales = require '../locales'
controllers = require '../controllers'
Space = React.createFactory require 'react-lite-space'
MobileInput = React.createFactory require './mobile-input'
VerifyMobile = Rea... | 141837 |
React = require 'react'
Immutable = require 'immutable'
ajax = require '../ajax'
detect = require '../util/detect'
locales = require '../locales'
controllers = require '../controllers'
Space = React.createFactory require 'react-lite-space'
MobileInput = React.createFactory require './mobile-input'
VerifyMobile = Rea... | true |
React = require 'react'
Immutable = require 'immutable'
ajax = require '../ajax'
detect = require '../util/detect'
locales = require '../locales'
controllers = require '../controllers'
Space = React.createFactory require 'react-lite-space'
MobileInput = React.createFactory require './mobile-input'
VerifyMobile = Rea... |
[
{
"context": "ns under the License.\n\n# for Terraform modified by Antonin Hildebrand\n\n# class TreeMirror\n# constructor: (root, deleg",
"end": 622,
"score": 0.9998824000358582,
"start": 604,
"tag": "NAME",
"value": "Antonin Hildebrand"
}
] | src/includes/mirror.coffee | darwin/terraform | 2 | # Copyright 2011 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | 211493 | # Copyright 2011 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | true | # Copyright 2011 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... |
[
{
"context": "ntry helper \n# @date 2016-06-27 10:21:19\n# @author Allenice <994298628@qq.com>\n# @link http://www.allenice233",
"end": 67,
"score": 0.994182825088501,
"start": 59,
"tag": "NAME",
"value": "Allenice"
},
{
"context": " \n# @date 2016-06-27 10:21:19\n# @author Allenice ... | tool/entryHelper.coffee | Phlen/fui-template | 0 | ###*
# entry helper
# @date 2016-06-27 10:21:19
# @author Allenice <994298628@qq.com>
# @link http://www.allenice233.com
###
'use strict'
fs = require 'fs'
path = require 'path'
module.exports =
###*
* 获取入口文件
* @param {String} entryPath 入口文件夹的绝对路径
* @return {Object} {entryName1: entryP... | 201092 | ###*
# entry helper
# @date 2016-06-27 10:21:19
# @author <NAME> <<EMAIL>>
# @link http://www.allenice233.com
###
'use strict'
fs = require 'fs'
path = require 'path'
module.exports =
###*
* 获取入口文件
* @param {String} entryPath 入口文件夹的绝对路径
* @return {Object} {entryName1: entryPath1 ...}
... | true | ###*
# entry helper
# @date 2016-06-27 10:21:19
# @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# @link http://www.allenice233.com
###
'use strict'
fs = require 'fs'
path = require 'path'
module.exports =
###*
* 获取入口文件
* @param {String} entryPath 入口文件夹的绝对路径
* @return {Object} {... |
[
{
"context": " return\n if bothThere\n me.set('password', password1)\n\n grabOtherData: ->\n me.set('name', $('#name",
"end": 4139,
"score": 0.8514211177825928,
"start": 4130,
"tag": "PASSWORD",
"value": "password1"
}
] | app/views/account/settings_view.coffee | cochee/codecombat | 1 | View = require 'views/kinds/RootView'
template = require 'templates/account/settings'
{me} = require('lib/auth')
forms = require('lib/forms')
User = require('models/User')
module.exports = class SettingsView extends View
id: 'account-settings-view'
template: template
events:
'click #save-button': 'save'
... | 204702 | View = require 'views/kinds/RootView'
template = require 'templates/account/settings'
{me} = require('lib/auth')
forms = require('lib/forms')
User = require('models/User')
module.exports = class SettingsView extends View
id: 'account-settings-view'
template: template
events:
'click #save-button': 'save'
... | true | View = require 'views/kinds/RootView'
template = require 'templates/account/settings'
{me} = require('lib/auth')
forms = require('lib/forms')
User = require('models/User')
module.exports = class SettingsView extends View
id: 'account-settings-view'
template: template
events:
'click #save-button': 'save'
... |
[
{
"context": "factor authentication is not supported.\n\nAuthor:\n saihoooooooo <saihoooooooo@gmail.com>\n###\n\nfs = require 'fs'\np",
"end": 683,
"score": 0.9996926784515381,
"start": 671,
"tag": "USERNAME",
"value": "saihoooooooo"
},
{
"context": "cation is not supported.\n\nAuth... | src/stamp.coffee | splathon/hubot-slack-stamp | 8 | ###
Description:
Provides stamps (stickers) like LINE in slack.
Dependencies:
"del": "^2.2.0"
"request-promise": "^1.0.2"
"bluebird": "^3.1.1"
"imagemagick": "^0.1.3"
"glob": "^6.0.1"
"node-horseman": "^2.8.2"
Configuration:
HUBOT_SLACK_STAMP_TEAM_NAME - Slack team name
HUBOT_SLACK_STAMP_EMAIL - Ema... | 180502 | ###
Description:
Provides stamps (stickers) like LINE in slack.
Dependencies:
"del": "^2.2.0"
"request-promise": "^1.0.2"
"bluebird": "^3.1.1"
"imagemagick": "^0.1.3"
"glob": "^6.0.1"
"node-horseman": "^2.8.2"
Configuration:
HUBOT_SLACK_STAMP_TEAM_NAME - Slack team name
HUBOT_SLACK_STAMP_EMAIL - Ema... | true | ###
Description:
Provides stamps (stickers) like LINE in slack.
Dependencies:
"del": "^2.2.0"
"request-promise": "^1.0.2"
"bluebird": "^3.1.1"
"imagemagick": "^0.1.3"
"glob": "^6.0.1"
"node-horseman": "^2.8.2"
Configuration:
HUBOT_SLACK_STAMP_TEAM_NAME - Slack team name
HUBOT_SLACK_STAMP_EMAIL - Ema... |
[
{
"context": "\n###\nTest CSV - Copyright David Worms <open@adaltas.com> (BSD Licensed)\n###\n\nrequire 'c",
"end": 37,
"score": 0.9998329281806946,
"start": 26,
"tag": "NAME",
"value": "David Worms"
},
{
"context": "\n###\nTest CSV - Copyright David Worms <open@adaltas.com> (BSD Lic... | Tools/phantalyzer-master/node_modules/csv/test/to.coffee | pianomanx/watchdog | 377 |
###
Test CSV - Copyright David Worms <open@adaltas.com> (BSD Licensed)
###
require 'coffee-script'
fs = require 'fs'
stream = require 'stream'
should = require 'should'
csv = if process.env.CSV_COV then require '../lib-cov' else require '../src'
describe 'to', ->
describe 'auto', ->
it 'should write to a pat... | 207698 |
###
Test CSV - Copyright <NAME> <<EMAIL>> (BSD Licensed)
###
require 'coffee-script'
fs = require 'fs'
stream = require 'stream'
should = require 'should'
csv = if process.env.CSV_COV then require '../lib-cov' else require '../src'
describe 'to', ->
describe 'auto', ->
it 'should write to a path', (next) ->
... | true |
###
Test CSV - Copyright PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> (BSD Licensed)
###
require 'coffee-script'
fs = require 'fs'
stream = require 'stream'
should = require 'should'
csv = if process.env.CSV_COV then require '../lib-cov' else require '../src'
describe 'to', ->
describe 'auto', ->
it 'should... |
[
{
"context": " p = method o, bodyFn\n o.frob = 'nard'\n waitsFor (-> p.isResolved()), 'task ",
"end": 3935,
"score": 0.6918247938156128,
"start": 3931,
"tag": "NAME",
"value": "nard"
},
{
"context": " fiz: 'biz'\n frob: 'nard'... | specsrc/iteration.coffee | lawnsea/backburner | 0 | root = this
root.backburner ?= {}
{trackCalls} = require 'spec-utils'
WAIT_TIME = 1000
backburner = require 'backburner'
describeIterationMethod = (method, name) ->
if name isnt ''
name += ' '
describe name + 'mimics the ES5 Array iteration methods', ->
afterEach ->
backburner.kil... | 168976 | root = this
root.backburner ?= {}
{trackCalls} = require 'spec-utils'
WAIT_TIME = 1000
backburner = require 'backburner'
describeIterationMethod = (method, name) ->
if name isnt ''
name += ' '
describe name + 'mimics the ES5 Array iteration methods', ->
afterEach ->
backburner.kil... | true | root = this
root.backburner ?= {}
{trackCalls} = require 'spec-utils'
WAIT_TIME = 1000
backburner = require 'backburner'
describeIterationMethod = (method, name) ->
if name isnt ''
name += ' '
describe name + 'mimics the ES5 Array iteration methods', ->
afterEach ->
backburner.kil... |
[
{
"context": "\n if not DEV and (!api_key or api_key.indexOf(\"djtXZrSIEfDa3Dex9FQ9AR\") == -1)\n log.debug \"Mismatched API key: #",
"end": 920,
"score": 0.9979294538497925,
"start": 898,
"tag": "KEY",
"value": "djtXZrSIEfDa3Dex9FQ9AR"
}
] | node/original_text.coffee | starsep/NewsBlur | 1 | Mercury = require('@postlight/mercury-parser')
app = require('express')()
server = require('http').Server(app)
log = require './log.js'
DEV = process.env.NODE_ENV == 'development'
log.debug "Starting NewsBlur Original Text Fetcher / Mercury Parser..."
if !DEV and !process.env.NODE_ENV
log.debug "Specify NODE_E... | 165474 | Mercury = require('@postlight/mercury-parser')
app = require('express')()
server = require('http').Server(app)
log = require './log.js'
DEV = process.env.NODE_ENV == 'development'
log.debug "Starting NewsBlur Original Text Fetcher / Mercury Parser..."
if !DEV and !process.env.NODE_ENV
log.debug "Specify NODE_E... | true | Mercury = require('@postlight/mercury-parser')
app = require('express')()
server = require('http').Server(app)
log = require './log.js'
DEV = process.env.NODE_ENV == 'development'
log.debug "Starting NewsBlur Original Text Fetcher / Mercury Parser..."
if !DEV and !process.env.NODE_ENV
log.debug "Specify NODE_E... |
[
{
"context": "lse :)\n # @login.context.user.email = 'email@hubspot.com'\n\n # Get employees before\n ",
"end": 431,
"score": 0.9999213218688965,
"start": 414,
"tag": "EMAIL",
"value": "email@hubspot.com"
}
] | app/application.coffee | kashyapmukkamala/Test | 63 | Login = require 'lib/login'
Router = require 'lib/router'
Employees = require 'collections/employees'
HighScores = require 'collections/highScores'
class Application
initialize: =>
@login = new Login env
@views = {}
@collections = {}
@setupStyles()
@login.verifyUser (dat... | 173680 | Login = require 'lib/login'
Router = require 'lib/router'
Employees = require 'collections/employees'
HighScores = require 'collections/highScores'
class Application
initialize: =>
@login = new Login env
@views = {}
@collections = {}
@setupStyles()
@login.verifyUser (dat... | true | Login = require 'lib/login'
Router = require 'lib/router'
Employees = require 'collections/employees'
HighScores = require 'collections/highScores'
class Application
initialize: =>
@login = new Login env
@views = {}
@collections = {}
@setupStyles()
@login.verifyUser (dat... |
[
{
"context": " for <something> - For <something>\n#\n# Author:\n# Ben Armston\n\nmodule.exports = (robot) ->\n robot.respond /tak",
"end": 241,
"score": 0.9998286366462708,
"start": 230,
"tag": "NAME",
"value": "Ben Armston"
}
] | src/scripts/take-the-blame.coffee | Reelhouse/hubot-scripts | 1,450 | # Description:
# Blame hubot for anything
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot take the blame - For everything
# hubot take the blame for <something> - For <something>
#
# Author:
# Ben Armston
module.exports = (robot) ->
robot.respond /take the blame/i, (msg) ->
#... | 212007 | # Description:
# Blame hubot for anything
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot take the blame - For everything
# hubot take the blame for <something> - For <something>
#
# Author:
# <NAME>
module.exports = (robot) ->
robot.respond /take the blame/i, (msg) ->
# Hubo... | true | # Description:
# Blame hubot for anything
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot take the blame - For everything
# hubot take the blame for <something> - For <something>
#
# Author:
# PI:NAME:<NAME>END_PI
module.exports = (robot) ->
robot.respond /take the blame/i, (msg)... |
[
{
"context": "###\nThe MIT License\n\nCopyright (c) 2015 Michalis Korakakis, Inc. https://github.com/mkorakakis.\n\nPermission ",
"end": 58,
"score": 0.9998841285705566,
"start": 40,
"tag": "NAME",
"value": "Michalis Korakakis"
},
{
"context": " 2015 Michalis Korakakis, Inc. https://... | lib/dynamic-list.coffee | jviotti/inquirer-dynamic-list | 2 | ###
The MIT License
Copyright (c) 2015 Michalis Korakakis, Inc. https://github.com/mkorakakis.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation th... | 74620 | ###
The MIT License
Copyright (c) 2015 <NAME>, Inc. https://github.com/mkorakakis.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to ... | true | ###
The MIT License
Copyright (c) 2015 PI:NAME:<NAME>END_PI, Inc. https://github.com/mkorakakis.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation ... |
[
{
"context": "@constructor.name, @data )\n\n store_key: ->\n \"tag-#{@data.key}\"\n\n template: ( data ) ->\n tpl =\n ",
"end": 251,
"score": 0.8401077389717102,
"start": 245,
"tag": "KEY",
"value": "tag-#{"
}
] | src/tag/abstract.coffee | mikesimons/nibbana | 12 | jq = require( 'jquery' )
util = require( '../util' )
class AbstractTag
constructor: ( data ) ->
@data = @template( data )
@dirty = []
get_data: ->
jq.extend( "__internal_type": @constructor.name, @data )
store_key: ->
"tag-#{@data.key}"
template: ( data ) ->
tpl =
key: ""
ty... | 107817 | jq = require( 'jquery' )
util = require( '../util' )
class AbstractTag
constructor: ( data ) ->
@data = @template( data )
@dirty = []
get_data: ->
jq.extend( "__internal_type": @constructor.name, @data )
store_key: ->
"<KEY>@data.key}"
template: ( data ) ->
tpl =
key: ""
typ... | true | jq = require( 'jquery' )
util = require( '../util' )
class AbstractTag
constructor: ( data ) ->
@data = @template( data )
@dirty = []
get_data: ->
jq.extend( "__internal_type": @constructor.name, @data )
store_key: ->
"PI:KEY:<KEY>END_PI@data.key}"
template: ( data ) ->
tpl =
key:... |
[
{
"context": "ttributeString} The Account's email address\n(ie: `ben@nylas.com`). Queryable.\n\n`organizationUnit`: {AttributeStri",
"end": 697,
"score": 0.9999189972877502,
"start": 684,
"tag": "EMAIL",
"value": "ben@nylas.com"
},
{
"context": "eturn new Contact\n accountId: @i... | app/src/flux/models/account.coffee | immershy/nodemail | 0 | ModelWithMetadata = require './model-with-metadata'
Attributes = require '../attributes'
_ = require 'underscore'
CategoryStore = null
Contact = null
###
Public: The Account model represents a Account served by the Nylas Platform API.
Every object on the Nylas platform exists within a Account, which typically represen... | 192034 | ModelWithMetadata = require './model-with-metadata'
Attributes = require '../attributes'
_ = require 'underscore'
CategoryStore = null
Contact = null
###
Public: The Account model represents a Account served by the Nylas Platform API.
Every object on the Nylas platform exists within a Account, which typically represen... | true | ModelWithMetadata = require './model-with-metadata'
Attributes = require '../attributes'
_ = require 'underscore'
CategoryStore = null
Contact = null
###
Public: The Account model represents a Account served by the Nylas Platform API.
Every object on the Nylas platform exists within a Account, which typically represen... |
[
{
"context": "erview Enforces capitalized class names.\n# @author Julian Rosse\n###\n'use strict'\n\ncapitalizedRegex = /^_*[A-Z]/\ni",
"end": 77,
"score": 0.9998638033866882,
"start": 65,
"tag": "NAME",
"value": "Julian Rosse"
}
] | src/rules/capitalized-class-names.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Enforces capitalized class names.
# @author Julian Rosse
###
'use strict'
capitalizedRegex = /^_*[A-Z]/
isCapitalized = (name) -> capitalizedRegex.test name
#------------------------------------------------------------------------------
# Rule Definition
#-----------------------------------------... | 113630 | ###*
# @fileoverview Enforces capitalized class names.
# @author <NAME>
###
'use strict'
capitalizedRegex = /^_*[A-Z]/
isCapitalized = (name) -> capitalizedRegex.test name
#------------------------------------------------------------------------------
# Rule Definition
#-----------------------------------------------... | true | ###*
# @fileoverview Enforces capitalized class names.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
capitalizedRegex = /^_*[A-Z]/
isCapitalized = (name) -> capitalizedRegex.test name
#------------------------------------------------------------------------------
# Rule Definition
#---------------------------------... |
[
{
"context": "###\n# Copyright (C) 2014-2018 Taiga Agile LLC <taiga@taiga.io>\n#\n# This program is free software: you can redis",
"end": 61,
"score": 0.9999279379844666,
"start": 47,
"tag": "EMAIL",
"value": "taiga@taiga.io"
}
] | app/modules/components/tasks-sortable/tasks-sortable.directive.coffee | threefoldtech/Threefold-Circles-front | 0 | ###
# Copyright (C) 2014-2018 Taiga Agile LLC <taiga@taiga.io>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
... | 225404 | ###
# Copyright (C) 2014-2018 Taiga Agile LLC <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# Thi... | true | ###
# Copyright (C) 2014-2018 Taiga Agile LLC <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later v... |
[
{
"context": "rary\" : {\n \"identifier\" : {\n \"id\" : \"TestSnippet\",\n \"version\" : \"1\"\n },\n ",
"end": 384,
"score": 0.9734569787979126,
"start": 380,
"tag": "NAME",
"value": "Test"
},
{
"context": "s\" : {\n \"def\" : [ {\n ... | Src/coffeescript/cql-execution/test/elm/nullological/data.coffee | MeasureAuthoringTool/clinical_quality_language | 2 | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### Nil
library TestSnippet version '1'
using QUICK
context Patient
define Nil: null
###
module.exports['Nil'] =... | 87455 | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### Nil
library TestSnippet version '1'
using QUICK
context Patient
define Nil: null
###
module.exports['Nil'] =... | true | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### Nil
library TestSnippet version '1'
using QUICK
context Patient
define Nil: null
###
module.exports['Nil'] =... |
[
{
"context": "properties do not have those attributes.\n# @author Ethan Cohen\n###\n\n# ------------------------------------------",
"end": 175,
"score": 0.9998781085014343,
"start": 164,
"tag": "NAME",
"value": "Ethan Cohen"
}
] | src/tests/rules/aria-unsupported-elements.coffee | danielbayley/eslint-plugin-coffee | 21 | ### eslint-env jest ###
###*
# @fileoverview Enforce that elements that do not support ARIA roles,
# states and properties do not have those attributes.
# @author Ethan Cohen
###
# -----------------------------------------------------------------------------
# Requirements
# ------------------------------------------... | 70370 | ### eslint-env jest ###
###*
# @fileoverview Enforce that elements that do not support ARIA roles,
# states and properties do not have those attributes.
# @author <NAME>
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------... | true | ### eslint-env jest ###
###*
# @fileoverview Enforce that elements that do not support ARIA roles,
# states and properties do not have those attributes.
# @author PI:NAME:<NAME>END_PI
###
# -----------------------------------------------------------------------------
# Requirements
# ---------------------------------... |
[
{
"context": "tanceType\" : \"512mb\",\n \"credential\" : \"dce2e21086218f7eb83b865d63cd50b6\",\n \"provisioners\" : [\n ",
"end": 15319,
"score": 0.9296537637710571,
"start": 15287,
"tag": "KEY",
"value": "dce2e21086218f7eb83b865d63cd50b6"
},
{
"... | workers/social/lib/social/models/computeproviders/stacktemplate.coffee | ezgikaysi/koding | 1 | { ObjectId, signature } = require 'bongo'
{ Module, Relationship } = require 'jraphical'
KodingError = require '../../error'
helpers = require './helpers'
async = require 'async'
module.exports = class JStackTemplate extends Module
{ permit } = require '../group/... | 116419 | { ObjectId, signature } = require 'bongo'
{ Module, Relationship } = require 'jraphical'
KodingError = require '../../error'
helpers = require './helpers'
async = require 'async'
module.exports = class JStackTemplate extends Module
{ permit } = require '../group/... | true | { ObjectId, signature } = require 'bongo'
{ Module, Relationship } = require 'jraphical'
KodingError = require '../../error'
helpers = require './helpers'
async = require 'async'
module.exports = class JStackTemplate extends Module
{ permit } = require '../group/... |
[
{
"context": "y sisters' friends' investments\\\\\n (c) 2017 Alexander Schilling\\\\\n 2013 Intel (R); 2013 Intel (TM)\\\\\n ",
"end": 723,
"score": 0.9989720582962036,
"start": 704,
"tag": "NAME",
"value": "Alexander Schilling"
},
{
"context": "..bar\\\\\n f... | test/mocha/element/text.coffee | alinex/node-report | 1 | chai = require 'chai'
expect = chai.expect
### eslint-env node, mocha ###
test = require '../test'
async = require 'async'
Report = require '../../../src'
before (cb) -> Report.init cb
describe "text", ->
describe "examples", ->
@timeout 30000
it "should make examples", (cb) ->
test.markdown 'text/s... | 174270 | chai = require 'chai'
expect = chai.expect
### eslint-env node, mocha ###
test = require '../test'
async = require 'async'
Report = require '../../../src'
before (cb) -> Report.init cb
describe "text", ->
describe "examples", ->
@timeout 30000
it "should make examples", (cb) ->
test.markdown 'text/s... | true | chai = require 'chai'
expect = chai.expect
### eslint-env node, mocha ###
test = require '../test'
async = require 'async'
Report = require '../../../src'
before (cb) -> Report.init cb
describe "text", ->
describe "examples", ->
@timeout 30000
it "should make examples", (cb) ->
test.markdown 'text/s... |
[
{
"context": "me, \"timbres\", \"acoustic_grand_piano-ogg\"))\n \"Marimba\": require(path.join(__dirname, \"timbres\", \"mari",
"end": 259,
"score": 0.6500803232192993,
"start": 257,
"tag": "NAME",
"value": "im"
},
{
"context": "\n\n noteOn: (event) =>\n if @readyTimbres isnt @t... | lib/atom-code-music.coffee | AlynxZhou/atom-code-music | 7 | fs = require("fs")
path = require("path")
CompositeDisposable = require("atom").CompositeDisposable
base64Binary = require(path.join(__dirname, "base64binary"))
timbres =
"Piano": require(path.join(__dirname, "timbres", "acoustic_grand_piano-ogg"))
"Marimba": require(path.join(__dirname, "timbres", "marimba-ogg"))
... | 188920 | fs = require("fs")
path = require("path")
CompositeDisposable = require("atom").CompositeDisposable
base64Binary = require(path.join(__dirname, "base64binary"))
timbres =
"Piano": require(path.join(__dirname, "timbres", "acoustic_grand_piano-ogg"))
"Mar<NAME>ba": require(path.join(__dirname, "timbres", "marimba-ogg... | true | fs = require("fs")
path = require("path")
CompositeDisposable = require("atom").CompositeDisposable
base64Binary = require(path.join(__dirname, "base64binary"))
timbres =
"Piano": require(path.join(__dirname, "timbres", "acoustic_grand_piano-ogg"))
"MarPI:NAME:<NAME>END_PIba": require(path.join(__dirname, "timbres"... |
[
{
"context": "eak style of two types: after and before\n# @author Benoît Zugmeyer\n###\n\n'use strict'\n\n#-----------------------------",
"end": 132,
"score": 0.9998599290847778,
"start": 117,
"tag": "NAME",
"value": "Benoît Zugmeyer"
}
] | src/rules/operator-linebreak.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Operator linebreak - enforces operator linebreak style of two types: after and before
# @author Benoît Zugmeyer
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------... | 207855 | ###*
# @fileoverview Operator linebreak - enforces operator linebreak style of two types: after and before
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
a... | true | ###*
# @fileoverview Operator linebreak - enforces operator linebreak style of two types: after and before
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#-------------------------------------------------------------------... |
[
{
"context": "###\n© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com> \n\nLicensed under the A",
"end": 39,
"score": 0.9998915791511536,
"start": 26,
"tag": "NAME",
"value": "Stephan Jorek"
},
{
"context": "###\n© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com... | src/Action/Outer.coffee | sjorek/goatee.js | 0 | ###
© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
<http://www.apache.org/licenses/LICENSE-2.0>
Unless required by applicable law o... | 83726 | ###
© Copyright 2013-2014 <NAME> <<EMAIL>>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
<http://www.apache.org/licenses/LICENSE-2.0>
Unless required by applicable law or agreed to in writing,... | true | ###
© Copyright 2013-2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
<http://www.apache.org/licenses/LICENSE-2.0>
Unless required by applicable... |
[
{
"context": " user's password\", (done) ->\n username = \"paulbjensen\"\n email = \"paulbjensen@gmail.com\"\n ",
"end": 487,
"score": 0.99968022108078,
"start": 476,
"tag": "USERNAME",
"value": "paulbjensen"
},
{
"context": " username = \"paulbjensen\"\n ... | test/server/models/user_test.coffee | paulbjensen/shogun | 1 | assert = require 'assert'
require "#{__dirname}/../../../server/db.coffee"
# TODO - figure out way to not have to manually require the user and project models
require "#{__dirname}/../../../server/models/user.coffee"
require "#{__dirname}/../../../server/models/project.coffee"
describe User, ->
afterEach (done) ->... | 224648 | assert = require 'assert'
require "#{__dirname}/../../../server/db.coffee"
# TODO - figure out way to not have to manually require the user and project models
require "#{__dirname}/../../../server/models/user.coffee"
require "#{__dirname}/../../../server/models/project.coffee"
describe User, ->
afterEach (done) ->... | true | assert = require 'assert'
require "#{__dirname}/../../../server/db.coffee"
# TODO - figure out way to not have to manually require the user and project models
require "#{__dirname}/../../../server/models/user.coffee"
require "#{__dirname}/../../../server/models/project.coffee"
describe User, ->
afterEach (done) ->... |
[
{
"context": "ion\n[](https://travis-ci.org",
"end": 111,
"score": 0.9855454564094543,
"start": 100,
"tag": "USERNAME",
"value": "adrianlee44"
},
{
"context": "chalkboard.svg?style=flat)](https://travi... | src/chalkboard.coffee | adrianlee44/chalkboard | 1 | ###
@chalk overview
@name Chalkboard.js
@description
[](https://travis-ci.org/adrianlee44/chalkboard)
An npm package that generate better documentation
@author Adrian Lee
@email adrian@adrianlee.me
@copyright 2014 Adrian Lee
@url http... | 56464 | ###
@chalk overview
@name Chalkboard.js
@description
[](https://travis-ci.org/adrianlee44/chalkboard)
An npm package that generate better documentation
@author <NAME>
@email <EMAIL>
@copyright 2014 <NAME>
@url https://github.com/adria... | true | ###
@chalk overview
@name Chalkboard.js
@description
[](https://travis-ci.org/adrianlee44/chalkboard)
An npm package that generate better documentation
@author PI:NAME:<NAME>END_PI
@email PI:EMAIL:<EMAIL>END_PI
@copyright 2014 PI:NAME... |
[
{
"context": "etched directly\n after initialize.\n\n @author Sebastian Sachtleben\n###\nclass Me extends Backbone.Model \n\n\t###\n\t\tOve",
"end": 223,
"score": 0.9998906254768372,
"start": 203,
"tag": "NAME",
"value": "Sebastian Sachtleben"
}
] | app/assets/javascripts/shared/models/ui/me.coffee | ssachtleben/herowar | 1 | app = require 'application'
db = require 'database'
###
The Me model contains important informations about the current logged in user and will be fetched directly
after initialize.
@author Sebastian Sachtleben
###
class Me extends Backbone.Model
###
Override initialize to fetch informations.
@par... | 34573 | app = require 'application'
db = require 'database'
###
The Me model contains important informations about the current logged in user and will be fetched directly
after initialize.
@author <NAME>
###
class Me extends Backbone.Model
###
Override initialize to fetch informations.
@param {Object} Th... | true | app = require 'application'
db = require 'database'
###
The Me model contains important informations about the current logged in user and will be fetched directly
after initialize.
@author PI:NAME:<NAME>END_PI
###
class Me extends Backbone.Model
###
Override initialize to fetch informations.
@par... |
[
{
"context": "ntent\">\n <p>\n <strong>John Smith</strong> <small>@johnsmith</small> <small>31m</sm",
"end": 632,
"score": 0.9991379976272583,
"start": 622,
"tag": "NAME",
"value": "John Smith"
},
{
"context": " <strong>John Smith</strong> <... | snippets/bulma_elements.cson | kikoseijo/atom-bootstrap-snippets | 0 | '.text.html.php.blade, .text.html, .text.html.php, .text.html.hack':
'Bulma element - Box':
prefix: 'bulma:box'
leftLabelHTML: '<span style="color:#1B81B6">Ⓢ</span>'
rightLabelHTML: '<span style="color:#00d1b2">Bulma.io</span> Box'
body: """
<div class="box">
<article class="media">
... | 39492 | '.text.html.php.blade, .text.html, .text.html.php, .text.html.hack':
'Bulma element - Box':
prefix: 'bulma:box'
leftLabelHTML: '<span style="color:#1B81B6">Ⓢ</span>'
rightLabelHTML: '<span style="color:#00d1b2">Bulma.io</span> Box'
body: """
<div class="box">
<article class="media">
... | true | '.text.html.php.blade, .text.html, .text.html.php, .text.html.hack':
'Bulma element - Box':
prefix: 'bulma:box'
leftLabelHTML: '<span style="color:#1B81B6">Ⓢ</span>'
rightLabelHTML: '<span style="color:#00d1b2">Bulma.io</span> Box'
body: """
<div class="box">
<article class="media">
... |
[
{
"context": "\nchain :\n user : \"zapu\"\n ctime : \"1000\"\n expire_in : 10000000\n links ",
"end": 23,
"score": 0.9995054006576538,
"start": 19,
"tag": "USERNAME",
"value": "zapu"
},
{
"context": " generated: \"+200\"\n }\n\n userid: \"zapu <zapu@keybase.io>\"... | examples/4.cson | keybase/node-test-sigchain | 6 |
chain :
user : "zapu"
ctime : "1000"
expire_in : 10000000
links : [
{
# ctime implied from chain ctime = 1000
type : "eldest"
label : "e"
key : {
gen : "pgp_ecc"
# Will result in generation time of 1200, but not affect
# "current time". So it simulates som... | 184171 |
chain :
user : "zapu"
ctime : "1000"
expire_in : 10000000
links : [
{
# ctime implied from chain ctime = 1000
type : "eldest"
label : "e"
key : {
gen : "pgp_ecc"
# Will result in generation time of 1200, but not affect
# "current time". So it simulates som... | true |
chain :
user : "zapu"
ctime : "1000"
expire_in : 10000000
links : [
{
# ctime implied from chain ctime = 1000
type : "eldest"
label : "e"
key : {
gen : "pgp_ecc"
# Will result in generation time of 1200, but not affect
# "current time". So it simulates som... |
[
{
"context": "->\n cars = [\n { color: 'red', owner: 'Jon' },\n { color: 'green', owner: 'Jane' }\n ",
"end": 119,
"score": 0.9998672604560852,
"start": 116,
"tag": "NAME",
"value": "Jon"
},
{
"context": "owner: 'Jon' },\n { color: 'green', owner: 'Jane' }... | spec/src/utils_spec.coffee | andrewberls/kona | 4 | Kona.ready ->
describe "Kona.Utils", ->
describe "::find", ->
cars = [
{ color: 'red', owner: 'Jon' },
{ color: 'green', owner: 'Jane' }
{ color: 'red', owner: 'Bob' }
]
it "returns first match", ->
expect(Kona.Utils.find(cars, { 'color': 'red' })).toEqual({ col... | 39657 | Kona.ready ->
describe "Kona.Utils", ->
describe "::find", ->
cars = [
{ color: 'red', owner: '<NAME>' },
{ color: 'green', owner: '<NAME>' }
{ color: 'red', owner: '<NAME>' }
]
it "returns first match", ->
expect(Kona.Utils.find(cars, { 'color': 'red' })).toEqu... | true | Kona.ready ->
describe "Kona.Utils", ->
describe "::find", ->
cars = [
{ color: 'red', owner: 'PI:NAME:<NAME>END_PI' },
{ color: 'green', owner: 'PI:NAME:<NAME>END_PI' }
{ color: 'red', owner: 'PI:NAME:<NAME>END_PI' }
]
it "returns first match", ->
expect(Kona.U... |
[
{
"context": "ocomplete_searchbox\"\n input.sendKeys \"gå\"\n \n autocompleteMenu = elem",
"end": 240,
"score": 0.5708285570144653,
"start": 239,
"tag": "NAME",
"value": "å"
},
{
"context": "ocomplete_searchbox\"\n input.sendKeys \"gå\"\n ... | test/e2e/spec/autocomplete.coffee | CSCfi/Kielipankki-korp-frontend | 0 | describe "lemgram autocomplete", () ->
it "should show for default mode", () ->
browser.get(browser.params.url).then () ->
input = element By.css "#simple_text .autocomplete_searchbox"
input.sendKeys "gå"
autocompleteMenu = element(By.css 'ul.dropdown-menu')... | 163123 | describe "lemgram autocomplete", () ->
it "should show for default mode", () ->
browser.get(browser.params.url).then () ->
input = element By.css "#simple_text .autocomplete_searchbox"
input.sendKeys "g<NAME>"
autocompleteMenu = element(By.css 'ul.dropdown-m... | true | describe "lemgram autocomplete", () ->
it "should show for default mode", () ->
browser.get(browser.params.url).then () ->
input = element By.css "#simple_text .autocomplete_searchbox"
input.sendKeys "gPI:NAME:<NAME>END_PI"
autocompleteMenu = element(By.css ... |
[
{
"context": "ser'\nassert = require 'assert'\n\n\nuser = new User \"Fake User\", {name: 'fake', type: \"groupchat\"}\nassert.equal ",
"end": 83,
"score": 0.705238938331604,
"start": 74,
"tag": "USERNAME",
"value": "Fake User"
},
{
"context": "e 'assert'\n\n\nuser = new User \"Fake U... | test/user_test.coffee | Acidburn0zzz/hubot | 8 | User = require '../src/user'
assert = require 'assert'
user = new User "Fake User", {name: 'fake', type: "groupchat"}
assert.equal "Fake User", user.id
assert.equal "groupchat", user.type
assert.equal "fake", user.name
user = new User "Fake User", {room: "chat@room.jabber", type: "groupchat"}
assert.equal "Fake User... | 118853 | User = require '../src/user'
assert = require 'assert'
user = new User "Fake User", {name: 'fake', type: "groupchat"}
assert.equal "Fake User", user.id
assert.equal "groupchat", user.type
assert.equal "fake", user.name
user = new User "Fake User", {room: "<EMAIL>", type: "groupchat"}
assert.equal "Fake User", user.i... | true | User = require '../src/user'
assert = require 'assert'
user = new User "Fake User", {name: 'fake', type: "groupchat"}
assert.equal "Fake User", user.id
assert.equal "groupchat", user.type
assert.equal "fake", user.name
user = new User "Fake User", {room: "PI:EMAIL:<EMAIL>END_PI", type: "groupchat"}
assert.equal "Fak... |
[
{
"context": "#!\n--- yomano ---\n\nReleased under MIT license.\n\nby Gustavo Vargas - @xgvargas - 2016\n\nOriginal coffee code and issu",
"end": 67,
"score": 0.9998698234558105,
"start": 53,
"tag": "NAME",
"value": "Gustavo Vargas"
},
{
"context": "\n\nReleased under MIT license.\n\... | src/yomano.coffee | Yomano/yomano | 0 | ###!
--- yomano ---
Released under MIT license.
by Gustavo Vargas - @xgvargas - 2016
Original coffee code and issues at: https://github.com/Yomano/yomano
###
chalk = require 'chalk'
ejs = require 'ejs'
{execSync} = require 'child_process'
fs = require 'fs'
globby = require 'globby'
inquirer ... | 6037 | ###!
--- yomano ---
Released under MIT license.
by <NAME> - @xgvargas - 2016
Original coffee code and issues at: https://github.com/Yomano/yomano
###
chalk = require 'chalk'
ejs = require 'ejs'
{execSync} = require 'child_process'
fs = require 'fs'
globby = require 'globby'
inquirer = requ... | true | ###!
--- yomano ---
Released under MIT license.
by PI:NAME:<NAME>END_PI - @xgvargas - 2016
Original coffee code and issues at: https://github.com/Yomano/yomano
###
chalk = require 'chalk'
ejs = require 'ejs'
{execSync} = require 'child_process'
fs = require 'fs'
globby = require 'globby'
inq... |
[
{
"context": "'current-password', 'new-password', 'new-password-confirmation']\n \n User.get id: CurrentSession.get().id, ",
"end": 302,
"score": 0.5832901000976562,
"start": 290,
"tag": "PASSWORD",
"value": "confirmation"
}
] | html-app/app/scripts/controllers/manage-profile/password.coffee | flyingmachine/gratefulplace2 | 28 | 'use strict'
angular.module('gratefulplaceApp')
.controller 'ManageProfilePasswordCtrl', ($scope, User, CurrentSession, Authorize) ->
Authorize.requireLogin()
$scope.password = {}
$scope.editing = false
passwordFields = ['current-password', 'new-password', 'new-password-confirmation']
User.g... | 75106 | 'use strict'
angular.module('gratefulplaceApp')
.controller 'ManageProfilePasswordCtrl', ($scope, User, CurrentSession, Authorize) ->
Authorize.requireLogin()
$scope.password = {}
$scope.editing = false
passwordFields = ['current-password', 'new-password', 'new-password-<PASSWORD>']
User.get... | true | 'use strict'
angular.module('gratefulplaceApp')
.controller 'ManageProfilePasswordCtrl', ($scope, User, CurrentSession, Authorize) ->
Authorize.requireLogin()
$scope.password = {}
$scope.editing = false
passwordFields = ['current-password', 'new-password', 'new-password-PI:PASSWORD:<PASSWORD>END_PI']... |
[
{
"context": "element of each contained array\", ->\n key = R('foobar')\n o =\n equals: (other) -> other.equals('",
"end": 824,
"score": 0.7640523314476013,
"start": 818,
"tag": "KEY",
"value": "foobar"
},
{
"context": "ned but speficically the second\", ->\n key = R('f... | spec/lib/corelib/array/rassoc_spec.coffee | hasclass/core-lib | 1 | describe "Array#rassoc", ->
it "returns the first contained array whose second element is == object", ->
ary = R.$Array_r([[1, "a", 0.5], [2, "b"], [3, "b"], [4, "c"], [], [5], [6, "d"]])
expect( ary.rassoc("a") ).toEqual R([1, "a", 0.5])
expect( ary.rassoc("b") ).toEqual R([2, "b"])
expect( ary.rasso... | 174187 | describe "Array#rassoc", ->
it "returns the first contained array whose second element is == object", ->
ary = R.$Array_r([[1, "a", 0.5], [2, "b"], [3, "b"], [4, "c"], [], [5], [6, "d"]])
expect( ary.rassoc("a") ).toEqual R([1, "a", 0.5])
expect( ary.rassoc("b") ).toEqual R([2, "b"])
expect( ary.rasso... | true | describe "Array#rassoc", ->
it "returns the first contained array whose second element is == object", ->
ary = R.$Array_r([[1, "a", 0.5], [2, "b"], [3, "b"], [4, "c"], [], [5], [6, "d"]])
expect( ary.rassoc("a") ).toEqual R([1, "a", 0.5])
expect( ary.rassoc("b") ).toEqual R([2, "b"])
expect( ary.rasso... |
[
{
"context": " += +1\n h_key = \"h-#{h_idx}\"\n meta.h ?= {}\n meta.h.i",
"end": 27469,
"score": 0.8952698707580566,
"start": 27460,
"tag": "KEY",
"value": "h-#{h_idx"
},
{
"context": "rossrefs[ text ] ? 0 ) + 1 ###\n ### ... | src/tex-writer.coffee | loveencounterflow/mingkwai-typesetter | 1 |
############################################################################################################
njs_path = require 'path'
njs_fs = require 'fs'
#...........................................................................................................
CND ... | 79120 |
############################################################################################################
njs_path = require 'path'
njs_fs = require 'fs'
#...........................................................................................................
CND ... | true |
############################################################################################################
njs_path = require 'path'
njs_fs = require 'fs'
#...........................................................................................................
CND ... |
[
{
"context": "iumCookie =\n name: '_testium_'\n value: 'eyJoZWFkZXJzIjp7InNlcnZlciI6Im5vZGUtc3RhdGljLzAuNy4wIiwiY2FjaGUtY29udHJvbCI6Im1heC1hZ2U9MzYwMCIsImV0YWciOiJcIjE1ODI5ODQtMjUyNi0xMzkxNTI5MDM2MDAwXCIiLCJkYXRlIjoiTW9uLCAwMyBNYXIgMjAxNCAwNDo0MDoxNCBHTVQiLCJsYXN0LW1vZGlmaWVkIjoiVHVlLCAwNCBGZWIgMjAxNC... | test/unit/api/cookie_test.coffee | johan/testium | 2 | Cookie = require '../../../lib/api/cookie'
assert = require 'assertive'
describe 'cookie', ->
describe '#setCookie', ->
driver =
setCookie: ->
cookie = Cookie(driver)
it 'fails if cookie is undefined', ->
assert.throws ->
cookie.setCookie(undefined)
it 'fails if cookie does not ... | 31905 | Cookie = require '../../../lib/api/cookie'
assert = require 'assertive'
describe 'cookie', ->
describe '#setCookie', ->
driver =
setCookie: ->
cookie = Cookie(driver)
it 'fails if cookie is undefined', ->
assert.throws ->
cookie.setCookie(undefined)
it 'fails if cookie does not ... | true | Cookie = require '../../../lib/api/cookie'
assert = require 'assertive'
describe 'cookie', ->
describe '#setCookie', ->
driver =
setCookie: ->
cookie = Cookie(driver)
it 'fails if cookie is undefined', ->
assert.throws ->
cookie.setCookie(undefined)
it 'fails if cookie does not ... |
[
{
"context": "# Copyright Vladimir Andreev\n\n# Required modules\n\nHTTPS = require('https')\nIco",
"end": 28,
"score": 0.9998740553855896,
"start": 12,
"tag": "NAME",
"value": "Vladimir Andreev"
}
] | src/client.coffee | tucan/yamoney | 0 | # Copyright Vladimir Andreev
# Required modules
HTTPS = require('https')
Iconv = require('iconv-lite')
QS = require('qs')
# Yandex.Money client
class Client
# Connection default parameters
SERVER_NAME = 'money.yandex.ru'
SERVER_PORT = 443
# Request and response default parameters
REQUEST_CHARSET = 'utf-8'
... | 182281 | # Copyright <NAME>
# Required modules
HTTPS = require('https')
Iconv = require('iconv-lite')
QS = require('qs')
# Yandex.Money client
class Client
# Connection default parameters
SERVER_NAME = 'money.yandex.ru'
SERVER_PORT = 443
# Request and response default parameters
REQUEST_CHARSET = 'utf-8'
# Object ... | true | # Copyright PI:NAME:<NAME>END_PI
# Required modules
HTTPS = require('https')
Iconv = require('iconv-lite')
QS = require('qs')
# Yandex.Money client
class Client
# Connection default parameters
SERVER_NAME = 'money.yandex.ru'
SERVER_PORT = 443
# Request and response default parameters
REQUEST_CHARSET = 'utf-... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9969742894172668,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "perty(prop) will break.\n# See: https://github.com/joyent/node/issues/1707\nhasOwnProperty = (... | lib/querystring.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | 52301 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "plates/user-modal')\n bindings:\n '#username': 'username'\n '#password': 'password'\n save: (e) ->\n e",
"end": 1241,
"score": 0.9987437129020691,
"start": 1233,
"tag": "USERNAME",
"value": "username"
},
{
"context": "gs:\n '#username': 'username'\n '#p... | app/scripts/account-page.coffee | ak64th/IntQuizPages | 0 | BaseModel = require('data/base-model')
BaseCollection = require('data/base-collection')
TableView = require('views/table-view')
PaginationView = require('views/pagination-view')
ModalView = require('views/modal-view')
class User extends BaseModel
urlRoot: '/api/v1/user'
defaults:
username: ''
password: ''
... | 675 | BaseModel = require('data/base-model')
BaseCollection = require('data/base-collection')
TableView = require('views/table-view')
PaginationView = require('views/pagination-view')
ModalView = require('views/modal-view')
class User extends BaseModel
urlRoot: '/api/v1/user'
defaults:
username: ''
password: ''
... | true | BaseModel = require('data/base-model')
BaseCollection = require('data/base-collection')
TableView = require('views/table-view')
PaginationView = require('views/pagination-view')
ModalView = require('views/modal-view')
class User extends BaseModel
urlRoot: '/api/v1/user'
defaults:
username: ''
password: ''
... |
[
{
"context": "oices: [\n choice 'jackieStart',\n 'Jackie, old-school detective'\n 'Mr. Brown hired",
"end": 628,
"score": 0.9968963265419006,
"start": 622,
"tag": "NAME",
"value": "Jackie"
},
{
"context": " 'Jackie, old-school detective'\n 'Mr. ... | src/coffee/game/leads.coffee | arashikou/exper3-2015 | 0 | angular.module 'gameDefinition.leadStories', ['qbn.edsl', 'gameDefinition.enums']
.run (qbnEdsl, enums) ->
{storylet, choice, reqs, consq} = qbnEdsl
{leads} = enums
storylet 'storylines',
'Track down a lead'
'''
You sit down at your desk and pool all your possible leads. Someone out the... | 128472 | angular.module 'gameDefinition.leadStories', ['qbn.edsl', 'gameDefinition.enums']
.run (qbnEdsl, enums) ->
{storylet, choice, reqs, consq} = qbnEdsl
{leads} = enums
storylet 'storylines',
'Track down a lead'
'''
You sit down at your desk and pool all your possible leads. Someone out the... | true | angular.module 'gameDefinition.leadStories', ['qbn.edsl', 'gameDefinition.enums']
.run (qbnEdsl, enums) ->
{storylet, choice, reqs, consq} = qbnEdsl
{leads} = enums
storylet 'storylines',
'Track down a lead'
'''
You sit down at your desk and pool all your possible leads. Someone out the... |
[
{
"context": "($scope)->\n $scope.materials = [{\n name: 'Steel'\n maxStress: 250e6\n }, {\n name: 'Nyl",
"end": 436,
"score": 0.9952160120010376,
"start": 431,
"tag": "NAME",
"value": "Steel"
},
{
"context": "eel'\n maxStress: 250e6\n }, {\n name: '... | src/client/simulation/tension/tension-directive.coffee | DavidSouther/dartmouth-engineering | 0 | angular.module('eau.simulation.tension', [
'simulation.tension.template'
'eau.utilities.scientific'
'eau.arrow'
'graphing.scales'
'graphing.svg'
'ngMaterial'
'eau.navigation'
])
.config ['SimulationNavProvider', (sims)->
sims.sim 'tension',
title: 'Funicular Tension'
]
.directive 'tension', ->
res... | 98894 | angular.module('eau.simulation.tension', [
'simulation.tension.template'
'eau.utilities.scientific'
'eau.arrow'
'graphing.scales'
'graphing.svg'
'ngMaterial'
'eau.navigation'
])
.config ['SimulationNavProvider', (sims)->
sims.sim 'tension',
title: 'Funicular Tension'
]
.directive 'tension', ->
res... | true | angular.module('eau.simulation.tension', [
'simulation.tension.template'
'eau.utilities.scientific'
'eau.arrow'
'graphing.scales'
'graphing.svg'
'ngMaterial'
'eau.navigation'
])
.config ['SimulationNavProvider', (sims)->
sims.sim 'tension',
title: 'Funicular Tension'
]
.directive 'tension', ->
res... |
[
{
"context": "trl', ($scope) ->\n setting = {}\n setting.key = 'limit-entries'\n\n setting.initialize = ->\n return true\n\n se",
"end": 181,
"score": 0.9143330454826355,
"start": 168,
"tag": "KEY",
"value": "limit-entries"
}
] | src/components/widgets-settings/limit-entries/limit-entries.directive.js.coffee | agranado2k/impac-angular | 7 | module = angular.module('impac.components.widgets-settings.limit-entries',[])
module.controller('SettingLimitEntriesCtrl', ($scope) ->
setting = {}
setting.key = 'limit-entries'
setting.initialize = ->
return true
setting.toMetadata = ->
return {limit_entries: $scope.selected}
$scope.parentWidget.... | 105830 | module = angular.module('impac.components.widgets-settings.limit-entries',[])
module.controller('SettingLimitEntriesCtrl', ($scope) ->
setting = {}
setting.key = '<KEY>'
setting.initialize = ->
return true
setting.toMetadata = ->
return {limit_entries: $scope.selected}
$scope.parentWidget.settings... | true | module = angular.module('impac.components.widgets-settings.limit-entries',[])
module.controller('SettingLimitEntriesCtrl', ($scope) ->
setting = {}
setting.key = 'PI:KEY:<KEY>END_PI'
setting.initialize = ->
return true
setting.toMetadata = ->
return {limit_entries: $scope.selected}
$scope.parentWi... |
[
{
"context": "*\n# @fileoverview Detects color literals\n# @author Aaron Greenwald\n###\n\n'use strict'\n\nutil = require 'util'\nComponen",
"end": 69,
"score": 0.9998737573623657,
"start": 54,
"tag": "NAME",
"value": "Aaron Greenwald"
}
] | src/rules/no-color-literals.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Detects color literals
# @author Aaron Greenwald
###
'use strict'
util = require 'util'
Components = require '../util/react/Components'
{StyleSheets, astHelpers} = require '../util/react-native/stylesheet'
module.exports = Components.detect (context) ->
styleSheets = new StyleSheets()
repor... | 118408 | ###*
# @fileoverview Detects color literals
# @author <NAME>
###
'use strict'
util = require 'util'
Components = require '../util/react/Components'
{StyleSheets, astHelpers} = require '../util/react-native/stylesheet'
module.exports = Components.detect (context) ->
styleSheets = new StyleSheets()
reportColorLit... | true | ###*
# @fileoverview Detects color literals
# @author PI:NAME:<NAME>END_PI
###
'use strict'
util = require 'util'
Components = require '../util/react/Components'
{StyleSheets, astHelpers} = require '../util/react-native/stylesheet'
module.exports = Components.detect (context) ->
styleSheets = new StyleSheets()
... |
[
{
"context": "ent} = @splitParentTag(tag.parent)\n key = tag.type + ':' + parent + @splitSymbol + tag.name\n else\n ",
"end": 2965,
"score": 0.673167884349823,
"start": 2951,
"tag": "KEY",
"value": "tag.type + ':'"
},
{
"context": "plitSymbol + tag.name\n else\... | lib/tag-parser.coffee | nicolashainaux/symbols-tree-view | 11 | {Point} = require 'atom'
module.exports =
class TagParser
constructor: (tags, grammar) ->
@tags = tags
@grammar = grammar
#splitSymbol = '::' for c/c++, and '.' for others.
if @grammar == 'source.c++' or @grammar == 'source.c' or
@grammar == 'source.cpp'
@splitSymbol = '... | 102830 | {Point} = require 'atom'
module.exports =
class TagParser
constructor: (tags, grammar) ->
@tags = tags
@grammar = grammar
#splitSymbol = '::' for c/c++, and '.' for others.
if @grammar == 'source.c++' or @grammar == 'source.c' or
@grammar == 'source.cpp'
@splitSymbol = '... | true | {Point} = require 'atom'
module.exports =
class TagParser
constructor: (tags, grammar) ->
@tags = tags
@grammar = grammar
#splitSymbol = '::' for c/c++, and '.' for others.
if @grammar == 'source.c++' or @grammar == 'source.c' or
@grammar == 'source.cpp'
@splitSymbol = '... |
[
{
"context": "example Configuration Parameters\n name : \"kermit\"\n basedir : \"/tmp/sloth\"\n extensions: [] ",
"end": 3528,
"score": 0.7969255447387695,
"start": 3522,
"tag": "NAME",
"value": "kermit"
},
{
"context": " constructor: (config = {}) ->\n @name ... | src/kermit/Crawler.coffee | open-medicine-initiative/webcherries | 6 | {obj, uri, Synchronizer} = require './util/tools'
{Extension} = require './Extension'
{ExtensionPoint, ExtensionPointProvider} = require './Crawler.ExtensionPoints'
{CrawlerContext, ContextAware} = require './Crawler.Context'
{ExtensionPointConnector, RequestItemMapper,
Spooler, Completer, Cleanup, UserAgentProvider} =... | 15144 | {obj, uri, Synchronizer} = require './util/tools'
{Extension} = require './Extension'
{ExtensionPoint, ExtensionPointProvider} = require './Crawler.ExtensionPoints'
{CrawlerContext, ContextAware} = require './Crawler.Context'
{ExtensionPointConnector, RequestItemMapper,
Spooler, Completer, Cleanup, UserAgentProvider} =... | true | {obj, uri, Synchronizer} = require './util/tools'
{Extension} = require './Extension'
{ExtensionPoint, ExtensionPointProvider} = require './Crawler.ExtensionPoints'
{CrawlerContext, ContextAware} = require './Crawler.Context'
{ExtensionPointConnector, RequestItemMapper,
Spooler, Completer, Cleanup, UserAgentProvider} =... |
[
{
"context": "q, res) ->\n res.json [{type: 'bulldozer', name: 'willy'}]\n\napp.get '/machines/:name', (req, res) ->\n re",
"end": 277,
"score": 0.964178204536438,
"start": 272,
"tag": "NAME",
"value": "willy"
}
] | test/fixtures/scripts/dummy-server-ignore-term.coffee | DMG-Cloud-Services/dmg-dredd | 1 | express = require('express')
require('./handle-windows-sigint')()
ignore = ->
console.log('ignoring termination')
process.on('SIGTERM', ignore)
process.on('SIGINT', ignore)
app = express()
app.get '/machines', (req, res) ->
res.json [{type: 'bulldozer', name: 'willy'}]
app.get '/machines/:name', (req, res) ... | 84701 | express = require('express')
require('./handle-windows-sigint')()
ignore = ->
console.log('ignoring termination')
process.on('SIGTERM', ignore)
process.on('SIGINT', ignore)
app = express()
app.get '/machines', (req, res) ->
res.json [{type: 'bulldozer', name: '<NAME>'}]
app.get '/machines/:name', (req, res)... | true | express = require('express')
require('./handle-windows-sigint')()
ignore = ->
console.log('ignoring termination')
process.on('SIGTERM', ignore)
process.on('SIGINT', ignore)
app = express()
app.get '/machines', (req, res) ->
res.json [{type: 'bulldozer', name: 'PI:NAME:<NAME>END_PI'}]
app.get '/machines/:nam... |
[
{
"context": "t_view_id]?.column_width,(val, key)->\n\t\t\tif key == \"_id_checkbox\"\n\t\t\t\tcolumn_width[key] = 60\n\t\t\telse if key == '_i",
"end": 10785,
"score": 0.9499826431274414,
"start": 10772,
"tag": "KEY",
"value": "\"_id_checkbox"
},
{
"context": "kbox\"\n\t\t\t\tcolumn... | creator/packages/steedos-creator/client/views/list_wrapper.coffee | yicone/steedos-platform | 42 |
Template.creator_list_wrapper.onRendered ->
self = this
self.rendered = false
self.autorun ->
if Session.get("list_view_id")
self.$(".btn-filter-list").removeClass("slds-is-selected")
self.$(".filter-list-container").addClass("slds-hide")
if self.rendered
self.$("#grid-search").val('')
self.autorun... | 198439 |
Template.creator_list_wrapper.onRendered ->
self = this
self.rendered = false
self.autorun ->
if Session.get("list_view_id")
self.$(".btn-filter-list").removeClass("slds-is-selected")
self.$(".filter-list-container").addClass("slds-hide")
if self.rendered
self.$("#grid-search").val('')
self.autorun... | true |
Template.creator_list_wrapper.onRendered ->
self = this
self.rendered = false
self.autorun ->
if Session.get("list_view_id")
self.$(".btn-filter-list").removeClass("slds-is-selected")
self.$(".filter-list-container").addClass("slds-hide")
if self.rendered
self.$("#grid-search").val('')
self.autorun... |
[
{
"context": " description: pathTool.RPath.description, owner: 'CommeUnDessein', thumbnailURL: pathTool.RPath.thumbnailURL, acce",
"end": 2104,
"score": 0.9994044303894043,
"start": 2090,
"tag": "USERNAME",
"value": "CommeUnDessein"
},
{
"context": "iv>'+i18next.t('Contact us at')+' ... | coffee/Tools/ToolManager.coffee | arthursw/comme-un-dessein-client | 0 | dependencies = [
'R'
'Utils/Utils'
'Tools/Tool'
'UI/Button'
'Tools/MoveTool'
'Tools/SelectTool'
'Tools/PathTool'
'Tools/EraserTool'
'Tools/ItemTool'
'Tools/Tracer'
'UI/Modal'
'i18next'
# 'Tools/TextTool'
# 'Tools/GradientTool'
]
# if document?
# dependencies.push('Tools/ScreenshotTool')
# dependencies.... | 128326 | dependencies = [
'R'
'Utils/Utils'
'Tools/Tool'
'UI/Button'
'Tools/MoveTool'
'Tools/SelectTool'
'Tools/PathTool'
'Tools/EraserTool'
'Tools/ItemTool'
'Tools/Tracer'
'UI/Modal'
'i18next'
# 'Tools/TextTool'
# 'Tools/GradientTool'
]
# if document?
# dependencies.push('Tools/ScreenshotTool')
# dependencies.... | true | dependencies = [
'R'
'Utils/Utils'
'Tools/Tool'
'UI/Button'
'Tools/MoveTool'
'Tools/SelectTool'
'Tools/PathTool'
'Tools/EraserTool'
'Tools/ItemTool'
'Tools/Tracer'
'UI/Modal'
'i18next'
# 'Tools/TextTool'
# 'Tools/GradientTool'
]
# if document?
# dependencies.push('Tools/ScreenshotTool')
# dependencies.... |
[
{
"context": " (done) ->\n model = new MongoModel({name: 'Bob', type: 'thing'})\n model.save (err) ->\n ",
"end": 791,
"score": 0.9991251826286316,
"start": 788,
"tag": "NAME",
"value": "Bob"
},
{
"context": " (done) ->\n model = new MongoModel({name: 'Bob', ty... | test/unit/dynamic_attributes.coffee | michaelBenin/backbone-mongo | 1 | util = require 'util'
assert = require 'assert'
_ = require 'underscore'
Backbone = require 'backbone'
Queue = require 'backbone-orm/lib/queue'
ModelCache = require('backbone-orm/lib/cache/singletons').ModelCache
module.exports = (options, callback) ->
ModelCache.configure({enabled: !!options.cache, max: 100}) # co... | 67822 | util = require 'util'
assert = require 'assert'
_ = require 'underscore'
Backbone = require 'backbone'
Queue = require 'backbone-orm/lib/queue'
ModelCache = require('backbone-orm/lib/cache/singletons').ModelCache
module.exports = (options, callback) ->
ModelCache.configure({enabled: !!options.cache, max: 100}) # co... | true | util = require 'util'
assert = require 'assert'
_ = require 'underscore'
Backbone = require 'backbone'
Queue = require 'backbone-orm/lib/queue'
ModelCache = require('backbone-orm/lib/cache/singletons').ModelCache
module.exports = (options, callback) ->
ModelCache.configure({enabled: !!options.cache, max: 100}) # co... |
[
{
"context": " 'application/json'\n\t\t\t\t\t\tdata:\n\t\t\t\t\t\t\tpassword: $scope.state.password\n\t\t\t\t\t\tdisableAutoLoginRedirect: true # we want to",
"end": 1536,
"score": 0.8241277933120728,
"start": 1516,
"tag": "PASSWORD",
"value": "scope.state.password"
}
] | public/coffee/main/account-settings.coffee | dtu-compute/web-sharelatex | 0 | define [
"base"
], (App) ->
App.controller "AccountSettingsController", ["$scope", "$http", "$modal", ($scope, $http, $modal) ->
$scope.subscribed = true
$scope.unsubscribe = () ->
$scope.unsubscribing = true
$http({
method: "DELETE"
url: "/user/newsletter/unsubscribe"
headers:
"X-CSRF... | 225272 | define [
"base"
], (App) ->
App.controller "AccountSettingsController", ["$scope", "$http", "$modal", ($scope, $http, $modal) ->
$scope.subscribed = true
$scope.unsubscribe = () ->
$scope.unsubscribing = true
$http({
method: "DELETE"
url: "/user/newsletter/unsubscribe"
headers:
"X-CSRF... | true | define [
"base"
], (App) ->
App.controller "AccountSettingsController", ["$scope", "$http", "$modal", ($scope, $http, $modal) ->
$scope.subscribed = true
$scope.unsubscribe = () ->
$scope.unsubscribing = true
$http({
method: "DELETE"
url: "/user/newsletter/unsubscribe"
headers:
"X-CSRF... |
[
{
"context": "ic Quo Module\n\n@namespace Quo\n@class Base\n\n@author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi\n###\n\"use strict\"\n\nQ",
"end": 79,
"score": 0.9998561143875122,
"start": 58,
"tag": "NAME",
"value": "Javier Jimenez Villar"
},
{
"context": "e Quo\n@class Ba... | source/quo.coffee | TNT-RoX/QuoJS | 1 | ###
Basic Quo Module
@namespace Quo
@class Base
@author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
###
"use strict"
Quo = do ->
EMPTY_ARRAY = []
OBJECT_PROTOTYPE = Object::
IS_HTML_FRAGMENT = /^\s*<(\w+|!)[^>]*>/
ELEMENT_TYPES = [ 1, 9, 11 ]
CLASS_SELECTOR = /^\.([\w-]+)$/
ID_SELECTO... | 111031 | ###
Basic Quo Module
@namespace Quo
@class Base
@author <NAME> <<EMAIL>> || @soyjavi
###
"use strict"
Quo = do ->
EMPTY_ARRAY = []
OBJECT_PROTOTYPE = Object::
IS_HTML_FRAGMENT = /^\s*<(\w+|!)[^>]*>/
ELEMENT_TYPES = [ 1, 9, 11 ]
CLASS_SELECTOR = /^\.([\w-]+)$/
ID_SELECTOR = /^#[\w\d-]+$/... | true | ###
Basic Quo Module
@namespace Quo
@class Base
@author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> || @soyjavi
###
"use strict"
Quo = do ->
EMPTY_ARRAY = []
OBJECT_PROTOTYPE = Object::
IS_HTML_FRAGMENT = /^\s*<(\w+|!)[^>]*>/
ELEMENT_TYPES = [ 1, 9, 11 ]
CLASS_SELECTOR = /^\.([\w-]+)$/
ID_S... |
[
{
"context": "mponents.Modal\n buttons: [\n { title: 'Hello' }\n { title: 'World' }\n ]\n\n expect",
"end": 2314,
"score": 0.9890312552452087,
"start": 2309,
"tag": "NAME",
"value": "Hello"
},
{
"context": "s: [\n { title: 'Hello' }\n { title:... | src/tests/components/modal/test_modal.coffee | dashersw/spark | 1 | goog = goog or goog = require: ->
goog.require 'spark.components.Modal'
describe 'spark.components.Modal', ->
modal = null
overlay = null
fireClick = (element) ->
event = document.createEvent 'MouseEvents'
event.initEvent 'click', yes, yes
element.dispatchEvent event
beforeEach ->
mod... | 7921 | goog = goog or goog = require: ->
goog.require 'spark.components.Modal'
describe 'spark.components.Modal', ->
modal = null
overlay = null
fireClick = (element) ->
event = document.createEvent 'MouseEvents'
event.initEvent 'click', yes, yes
element.dispatchEvent event
beforeEach ->
mod... | true | goog = goog or goog = require: ->
goog.require 'spark.components.Modal'
describe 'spark.components.Modal', ->
modal = null
overlay = null
fireClick = (element) ->
event = document.createEvent 'MouseEvents'
event.initEvent 'click', yes, yes
element.dispatchEvent event
beforeEach ->
mod... |
[
{
"context": "# Copyright (c) Konode. All rights reserved.\n# This source code is subje",
"end": 22,
"score": 0.9872975945472717,
"start": 16,
"tag": "NAME",
"value": "Konode"
}
] | src/clientFilePage/modifyTargetStatusDialog.coffee | LogicalOutcomes/KoNote | 1 | # Copyright (c) Konode. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Dialog to change the status of a section within the client's plan (default/deactivated/completed)
# TODO: Consolidate... | 3783 | # Copyright (c) <NAME>. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Dialog to change the status of a section within the client's plan (default/deactivated/completed)
# TODO: Consolidate... | true | # Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Dialog to change the status of a section within the client's plan (default/deactivated/completed)
# TOD... |
[
{
"context": "deployment =\n apiKey: \"092c90f6-a8f2-11e2-a2b9-7c6d628b25f7\"\n apiRoot: \"//api.mynaweb.com\"\n experiments: [\n",
"end": 60,
"score": 0.9997383952140808,
"start": 24,
"tag": "KEY",
"value": "092c90f6-a8f2-11e2-a2b9-7c6d628b25f7"
},
{
"context": " runs ->\n ... | src/test/init-spec.coffee | myna/myna-js | 2 | deployment =
apiKey: "092c90f6-a8f2-11e2-a2b9-7c6d628b25f7"
apiRoot: "//api.mynaweb.com"
experiments: [
{
id: "experiment1"
subtype: "summary"
typename: "experiment"
uuid: "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
variants: [
{
id: "variant1"
name: "varia... | 202619 | deployment =
apiKey: "<KEY>"
apiRoot: "//api.mynaweb.com"
experiments: [
{
id: "experiment1"
subtype: "summary"
typename: "experiment"
uuid: "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
variants: [
{
id: "variant1"
name: "variant-1"
typename: "vari... | true | deployment =
apiKey: "PI:KEY:<KEY>END_PI"
apiRoot: "//api.mynaweb.com"
experiments: [
{
id: "experiment1"
subtype: "summary"
typename: "experiment"
uuid: "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
variants: [
{
id: "variant1"
name: "variant-1"
ty... |
[
{
"context": "###\n# grunt/copy.coffee\n#\n# © 2014 Dan Nichols\n# See LICENSE for more details\n#\n# Define our cop",
"end": 46,
"score": 0.9996647834777832,
"start": 35,
"tag": "NAME",
"value": "Dan Nichols"
}
] | grunt/copy.coffee | dlnichols/h_media | 0 | ###
# grunt/copy.coffee
#
# © 2014 Dan Nichols
# See LICENSE for more details
#
# Define our copy configuration block for grunt
###
'use strict'
module.exports =
# Copy pre-processed files from app to dist
lib:
files: [
expand: true
src: [
'server.coffee'
'lib/**/*'
]
de... | 107563 | ###
# grunt/copy.coffee
#
# © 2014 <NAME>
# See LICENSE for more details
#
# Define our copy configuration block for grunt
###
'use strict'
module.exports =
# Copy pre-processed files from app to dist
lib:
files: [
expand: true
src: [
'server.coffee'
'lib/**/*'
]
dest: '... | true | ###
# grunt/copy.coffee
#
# © 2014 PI:NAME:<NAME>END_PI
# See LICENSE for more details
#
# Define our copy configuration block for grunt
###
'use strict'
module.exports =
# Copy pre-processed files from app to dist
lib:
files: [
expand: true
src: [
'server.coffee'
'lib/**/*'
]... |
[
{
"context": "w_proxy = null\n tweet = Factory('tweet', {name: 'some name', created_time: '2012-09-07T20:26:48+0000'})",
"end": 285,
"score": 0.6350170373916626,
"start": 281,
"tag": "NAME",
"value": "some"
},
{
"context": "oxy = null\n tweet = Factory('tweet', {name: 'some name', ... | Resources/specs/views/twitter_actions_spec.coffee | roomtoread/HackToHelp | 1 | require('../../specs/helpers/spec_helper')
TweetWin = nrequire('templates/windows/tweet')
Twitter = nrequire('lib/twitter')
TwitterActions = nrequire('templates/views/twitter_actions')
describe("Views/TwitterActions", () ->
view_proxy = null
tweet = Factory('tweet', {name: 'some name', created_time: '2012-09-07T2... | 26208 | require('../../specs/helpers/spec_helper')
TweetWin = nrequire('templates/windows/tweet')
Twitter = nrequire('lib/twitter')
TwitterActions = nrequire('templates/views/twitter_actions')
describe("Views/TwitterActions", () ->
view_proxy = null
tweet = Factory('tweet', {name: '<NAME> name', created_time: '2012-09-07... | true | require('../../specs/helpers/spec_helper')
TweetWin = nrequire('templates/windows/tweet')
Twitter = nrequire('lib/twitter')
TwitterActions = nrequire('templates/views/twitter_actions')
describe("Views/TwitterActions", () ->
view_proxy = null
tweet = Factory('tweet', {name: 'PI:NAME:<NAME>END_PI name', created_tim... |
[
{
"context": "imum 'abcdef').toEqual 'f'\n expect(maximum ['charlie', 'dan', 'adam', 'bob']).toEqual 'dan'\n\n describ",
"end": 11801,
"score": 0.99605393409729,
"start": 11794,
"tag": "NAME",
"value": "charlie"
},
{
"context": "f').toEqual 'f'\n expect(maximum ['charlie',... | test.coffee | xixixao/prelude-ls | 5 | prelude = require './prelude.js'
prelude.installPrelude global
describe "In prelude", ->
describe "each", ->
it "works on empty array", ->
expect(each [], ->).toEqual []
it "changes given array", ->
expect(each [[1, 5], [2, 6]], (l) -> l.pop()).toEqual [[1], [2]]
it "iterates over strings... | 174924 | prelude = require './prelude.js'
prelude.installPrelude global
describe "In prelude", ->
describe "each", ->
it "works on empty array", ->
expect(each [], ->).toEqual []
it "changes given array", ->
expect(each [[1, 5], [2, 6]], (l) -> l.pop()).toEqual [[1], [2]]
it "iterates over strings... | true | prelude = require './prelude.js'
prelude.installPrelude global
describe "In prelude", ->
describe "each", ->
it "works on empty array", ->
expect(each [], ->).toEqual []
it "changes given array", ->
expect(each [[1, 5], [2, 6]], (l) -> l.pop()).toEqual [[1], [2]]
it "iterates over strings... |
[
{
"context": "lper.validElements = [\n {type: 'email' , value: 'tom@creative-workflow.berlin' },\n {type: 'number', value: 42, required: true}",
"end": 241,
"score": 0.9996895790100098,
"start": 213,
"tag": "EMAIL",
"value": "tom@creative-workflow.berlin"
}
] | spec/helper.coffee | creative-workflow/jquery.input.validator | 0 | helper = jasmine.helper = jasmine.helper || {}
helper.printJqueryVersion = ->
console.log "jQuery.version: #{$.fn.jquery} \n\n"
helper.printJqueryVersion()
helper.validElements = [
{type: 'email' , value: 'tom@creative-workflow.berlin' },
{type: 'number', value: 42, required: true}
]
helper.invalidElements = ... | 204302 | helper = jasmine.helper = jasmine.helper || {}
helper.printJqueryVersion = ->
console.log "jQuery.version: #{$.fn.jquery} \n\n"
helper.printJqueryVersion()
helper.validElements = [
{type: 'email' , value: '<EMAIL>' },
{type: 'number', value: 42, required: true}
]
helper.invalidElements = [
{type: 'email' , ... | true | helper = jasmine.helper = jasmine.helper || {}
helper.printJqueryVersion = ->
console.log "jQuery.version: #{$.fn.jquery} \n\n"
helper.printJqueryVersion()
helper.validElements = [
{type: 'email' , value: 'PI:EMAIL:<EMAIL>END_PI' },
{type: 'number', value: 42, required: true}
]
helper.invalidElements = [
{t... |
[
{
"context": "\n * @namespace KINOUT\n * @class Boot\n *\n * @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi\n###\n\nKINOUT.Constan",
"end": 111,
"score": 0.9998855590820312,
"start": 90,
"tag": "NAME",
"value": "Javier Jimenez Villar"
},
{
"context": " @class Boot\n *\n ... | src/Kinout/src/Kinout.Constants.coffee | biojazzard/kirbout | 2 | ###
* Description or Responsability
*
* @namespace KINOUT
* @class Boot
*
* @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
###
KINOUT.Constants =
MARKUP:
GLOW: "<div class='glow'></div>"
COPYRIGHT: "<div class='copyright'><a href='http://biojazzard.github.com/kirbout'>birb<em>ou... | 11667 | ###
* Description or Responsability
*
* @namespace KINOUT
* @class Boot
*
* @author <NAME> <<EMAIL>> || @soyjavi
###
KINOUT.Constants =
MARKUP:
GLOW: "<div class='glow'></div>"
COPYRIGHT: "<div class='copyright'><a href='http://biojazzard.github.com/kirbout'>birb<em>out</em></a>Glued by bioj... | true | ###
* Description or Responsability
*
* @namespace KINOUT
* @class Boot
*
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> || @soyjavi
###
KINOUT.Constants =
MARKUP:
GLOW: "<div class='glow'></div>"
COPYRIGHT: "<div class='copyright'><a href='http://biojazzard.github.com/kirbout'>birb... |
[
{
"context": "###\n# routes.coffee\n#\n# © 2014 Dan Nichols\n# See LICENSE for more details\n#\n# This module de",
"end": 42,
"score": 0.9997920393943787,
"start": 31,
"tag": "NAME",
"value": "Dan Nichols"
}
] | lib/routes.coffee | dlnichols/h_media | 0 | ###
# routes.coffee
#
# © 2014 Dan Nichols
# See LICENSE for more details
#
# This module defines our routes (used by the express router in our middleware
# stack).
###
'use strict'
# External libs
debug = require('debug') 'hMedia:routes'
# Internal libs
env = require './config/environment'
basic ... | 44794 | ###
# routes.coffee
#
# © 2014 <NAME>
# See LICENSE for more details
#
# This module defines our routes (used by the express router in our middleware
# stack).
###
'use strict'
# External libs
debug = require('debug') 'hMedia:routes'
# Internal libs
env = require './config/environment'
basic = req... | true | ###
# routes.coffee
#
# © 2014 PI:NAME:<NAME>END_PI
# See LICENSE for more details
#
# This module defines our routes (used by the express router in our middleware
# stack).
###
'use strict'
# External libs
debug = require('debug') 'hMedia:routes'
# Internal libs
env = require './config/environment'
basic ... |
[
{
"context": "###\nCopyright (c) 2014, Groupon\nAll rights reserved.\n\nRedistribution and use in s",
"end": 31,
"score": 0.9963123798370361,
"start": 24,
"tag": "NAME",
"value": "Groupon"
}
] | src/client/services/sockets.coffee | Mefiso/greenscreen | 729 | ###
Copyright (c) 2014, Groupon
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following discla... | 214948 | ###
Copyright (c) 2014, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclai... | true | ###
Copyright (c) 2014, PI:NAME:<NAME>END_PI
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the fol... |
[
{
"context": "ver, options, next ) ->\n config =\n userName: 'TaylorTest'\n password: 'pa55word'\n server: '10.50.50.1",
"end": 162,
"score": 0.9996858239173889,
"start": 152,
"tag": "USERNAME",
"value": "TaylorTest"
},
{
"context": "onfig =\n userName: 'TaylorTest'\n ... | plugins/mssql.coffee | Hyprtxt/hypr-hapi | 2 | TDS = require('tedious')
Connection = TDS.Connection;
Request = TDS.Request;
exports.register = ( server, options, next ) ->
config =
userName: 'TaylorTest'
password: 'pa55word'
server: '10.50.50.104'
options:
rowCollectionOnDone: true
# useColumnNames: true
conn = new Connection confi... | 87090 | TDS = require('tedious')
Connection = TDS.Connection;
Request = TDS.Request;
exports.register = ( server, options, next ) ->
config =
userName: 'TaylorTest'
password: '<PASSWORD>'
server: '10.50.50.104'
options:
rowCollectionOnDone: true
# useColumnNames: true
conn = new Connection con... | true | TDS = require('tedious')
Connection = TDS.Connection;
Request = TDS.Request;
exports.register = ( server, options, next ) ->
config =
userName: 'TaylorTest'
password: 'PI:PASSWORD:<PASSWORD>END_PI'
server: '10.50.50.104'
options:
rowCollectionOnDone: true
# useColumnNames: true
conn = ... |
[
{
"context": "s for lines-between-class-members rule.\n# @author 薛定谔的猫<hh_2013@foxmail.com>\n###\n\n'use strict'\n\n#--------",
"end": 80,
"score": 0.9997546672821045,
"start": 75,
"tag": "NAME",
"value": "薛定谔的猫"
},
{
"context": "lines-between-class-members rule.\n# @author 薛定谔的猫<hh_... | src/tests/rules/lines-between-class-members.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for lines-between-class-members rule.
# @author 薛定谔的猫<hh_2013@foxmail.com>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../r... | 182267 | ###*
# @fileoverview Tests for lines-between-class-members rule.
# @author <NAME><<EMAIL>>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/lines-... | true | ###*
# @fileoverview Tests for lines-between-class-members rule.
# @author PI:NAME:<NAME>END_PI<PI:EMAIL:<EMAIL>END_PI>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule ... |
[
{
"context": "ent\", ->\n currentItem({ id: \"featured\", name: \"Banksy\" }, fetch).then (result) ->\n result.heading.",
"end": 580,
"score": 0.9989318251609802,
"start": 574,
"tag": "NAME",
"value": "Banksy"
},
{
"context": "d.match(/INSIDE/)\n result.name.should.match... | src/desktop/apps/artist/test/components/current_venice_feature/index.coffee | kanaabe/force | 0 | currentItem = require "../../../components/current_venice_feature"
{ isUndefined } = require "underscore"
Q = require "bluebird-q"
describe "current venice feature", ->
fetch = () -> Q.resolved [
{ slug: "featured", featured: true },
{ slug: "participant", featured: false }
]
it "renders nothing if the ... | 12270 | currentItem = require "../../../components/current_venice_feature"
{ isUndefined } = require "underscore"
Q = require "bluebird-q"
describe "current venice feature", ->
fetch = () -> Q.resolved [
{ slug: "featured", featured: true },
{ slug: "participant", featured: false }
]
it "renders nothing if the ... | true | currentItem = require "../../../components/current_venice_feature"
{ isUndefined } = require "underscore"
Q = require "bluebird-q"
describe "current venice feature", ->
fetch = () -> Q.resolved [
{ slug: "featured", featured: true },
{ slug: "participant", featured: false }
]
it "renders nothing if the ... |
[
{
"context": "oot: '/test-api'\n admin:\n accessToken: 'test'\n\n\nmodule.exports = require('loopback-with-admin'",
"end": 162,
"score": 0.8454211354255676,
"start": 158,
"tag": "KEY",
"value": "test"
}
] | spec/init.coffee | CureApp/loopback-promised | 10 |
models = require(__dirname + '/model-definitions')
config =
server:
port: 4157
restApiRoot: '/test-api'
admin:
accessToken: 'test'
module.exports = require('loopback-with-admin').run(models, config).catch console.log
| 92324 |
models = require(__dirname + '/model-definitions')
config =
server:
port: 4157
restApiRoot: '/test-api'
admin:
accessToken: '<KEY>'
module.exports = require('loopback-with-admin').run(models, config).catch console.log
| true |
models = require(__dirname + '/model-definitions')
config =
server:
port: 4157
restApiRoot: '/test-api'
admin:
accessToken: 'PI:KEY:<KEY>END_PI'
module.exports = require('loopback-with-admin').run(models, config).catch console.log
|
[
{
"context": "k'\n return send DATOM.set d, { key: '^literal-blank', ref: 'blk/cdb1', }\n #.......................",
"end": 2750,
"score": 0.7959667444229126,
"start": 2745,
"tag": "KEY",
"value": "blank"
}
] | src/020-blocks.coffee | loveencounterflow/datamill | 0 |
'use strict'
############################################################################################################
H = require './helpers'
CND = require 'cnd'
rpr = CND.rpr
badge = H.badge_from_filename __filename
debug... | 87991 |
'use strict'
############################################################################################################
H = require './helpers'
CND = require 'cnd'
rpr = CND.rpr
badge = H.badge_from_filename __filename
debug... | true |
'use strict'
############################################################################################################
H = require './helpers'
CND = require 'cnd'
rpr = CND.rpr
badge = H.badge_from_filename __filename
debug... |
[
{
"context": "ain:\n js: \"main.coffee\"\n css: null\n name: \"jQuery Hello World\"\n type: \"library\"\n version: \"1.0.0\"",
"end": 87,
"score": 0.5221521854400635,
"start": 81,
"tag": "NAME",
"value": "jQuery"
}
] | bootstrap/library/config.cson | lessthan3/dobi | 5 | {
id: "bootstrap-library"
main:
js: "main.coffee"
css: null
name: "jQuery Hello World"
type: "library"
version: "1.0.0"
}
| 71746 | {
id: "bootstrap-library"
main:
js: "main.coffee"
css: null
name: "<NAME> Hello World"
type: "library"
version: "1.0.0"
}
| true | {
id: "bootstrap-library"
main:
js: "main.coffee"
css: null
name: "PI:NAME:<NAME>END_PI Hello World"
type: "library"
version: "1.0.0"
}
|
[
{
"context": "PI_URL = 'http://foo/'\nprocess.env.SH2_API_KEY = '123'\nprocess.env.NTB_API_URL = 'http://bar/'\nprocess.",
"end": 153,
"score": 0.9990208745002747,
"start": 150,
"tag": "KEY",
"value": "123"
},
{
"context": "PI_URL = 'http://bar/'\nprocess.env.NTB_API_KEY = 'abc'\n\ns... | test/suite.coffee | Turistforeningen/bifrost | 1 | assert = require 'assert'
request = require 'request'
process.env.SILENT = 'true'
process.env.SH2_API_URL = 'http://foo/'
process.env.SH2_API_KEY = '123'
process.env.NTB_API_URL = 'http://bar/'
process.env.NTB_API_KEY = 'abc'
sentry = require '../src/sentry'
librato = require '../src/librato'
postgres = require... | 76496 | assert = require 'assert'
request = require 'request'
process.env.SILENT = 'true'
process.env.SH2_API_URL = 'http://foo/'
process.env.SH2_API_KEY = '<KEY>'
process.env.NTB_API_URL = 'http://bar/'
process.env.NTB_API_KEY = '<KEY>'
sentry = require '../src/sentry'
librato = require '../src/librato'
postgres = req... | true | assert = require 'assert'
request = require 'request'
process.env.SILENT = 'true'
process.env.SH2_API_URL = 'http://foo/'
process.env.SH2_API_KEY = 'PI:KEY:<KEY>END_PI'
process.env.NTB_API_URL = 'http://bar/'
process.env.NTB_API_KEY = 'PI:KEY:<KEY>END_PI'
sentry = require '../src/sentry'
librato = require '../sr... |
[
{
"context": "e Strategies: Prompts for Programmers\n # by Kevin Lawler, http://kevinlawler.com/prompts\n 'Look for",
"end": 1676,
"score": 0.9992993474006653,
"start": 1664,
"tag": "NAME",
"value": "Kevin Lawler"
},
{
"context": " # Oblique Strategies © 1975, 197... | lib/oblique-strategies.coffee | cmpaul/oblique-strategies | 22 | {CompositeDisposable} = require 'atom'
module.exports = ObliqueStrategies =
# Properties
subscriptions: null
showTimeout: null
enabled: false
strategiesList: []
recentStrategiesList: [],
countdown: 0
# Exported configuration settings
config:
enableOnLoad:
title: 'Enable on load',
de... | 121663 | {CompositeDisposable} = require 'atom'
module.exports = ObliqueStrategies =
# Properties
subscriptions: null
showTimeout: null
enabled: false
strategiesList: []
recentStrategiesList: [],
countdown: 0
# Exported configuration settings
config:
enableOnLoad:
title: 'Enable on load',
de... | true | {CompositeDisposable} = require 'atom'
module.exports = ObliqueStrategies =
# Properties
subscriptions: null
showTimeout: null
enabled: false
strategiesList: []
recentStrategiesList: [],
countdown: 0
# Exported configuration settings
config:
enableOnLoad:
title: 'Enable on load',
de... |
[
{
"context": "io.com\n\nCopyright 2016 Chai Biotechnologies Inc. <info@chaibio.com>\n\nLicensed under the Apache License, Version 2.0 ",
"end": 194,
"score": 0.9999217987060547,
"start": 178,
"tag": "EMAIL",
"value": "info@chaibio.com"
}
] | frontend/javascripts/app/services/experiment.js.coffee | MakerButt/chaipcr | 1 | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <info@chaibio.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the Lic... | 132937 | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <<EMAIL>>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You... | true | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <PI:EMAIL:<EMAIL>END_PI>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with t... |
[
{
"context": "one), tempo\n \n hubotHear = (message, userName = 'momo', tempo = 50) ->\n beforeEach (done) ->\n r",
"end": 553,
"score": 0.9993933439254761,
"start": 549,
"tag": "USERNAME",
"value": "momo"
},
{
"context": "ut (done), tempo\n\n hubot = (message, userName = '... | test/pagerv2_commands_test.coffee | Gandi/hubot-pager-v2 | 6 | require('es6-promise').polyfill()
Helper = require 'hubot-test-helper'
helper = new Helper('../scripts/pagerv2_commands.coffee')
Hubot = require '../node_modules/hubot'
path = require 'path'
nock = require 'nock'
sinon = require 'sinon'
moment = require 'moment'
expect = require('chai').use(require('si... | 69377 | require('es6-promise').polyfill()
Helper = require 'hubot-test-helper'
helper = new Helper('../scripts/pagerv2_commands.coffee')
Hubot = require '../node_modules/hubot'
path = require 'path'
nock = require 'nock'
sinon = require 'sinon'
moment = require 'moment'
expect = require('chai').use(require('si... | true | require('es6-promise').polyfill()
Helper = require 'hubot-test-helper'
helper = new Helper('../scripts/pagerv2_commands.coffee')
Hubot = require '../node_modules/hubot'
path = require 'path'
nock = require 'nock'
sinon = require 'sinon'
moment = require 'moment'
expect = require('chai').use(require('si... |
[
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ",
"end": 38,
"score": 0.9998883008956909,
"start": 25,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright... | public/taiga-front/app/coffee/modules/backlog/main.coffee | mabotech/maboss | 0 | ###
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
# Copyright (C) 2014 Jesús Espino Garcia <jespinog@gmail.com>
# Copyright (C) 2014 David Barragán Merino <bameda@dbarragan.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
... | 161016 | ###
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | true | ###
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gen... |
[
{
"context": "EXPECT_NAME = 3\r\n @STATE_EXPECT_PASSWORD = 4\r\n @STATE_CLIENT_AUTHENTICATED = 5\r\n ",
"end": 2900,
"score": 0.9991008639335632,
"start": 2899,
"tag": "PASSWORD",
"value": "4"
}
] | src/game.coffee | arctic5/Polaris2 | 0 | engine = require("./engine.js")
net = require('net')
buffer = require('buffer')
constants = require("./constants.js")
class exports.GameServer extends engine.Entity
constructor: () ->
super()
@players = []
@sockets = []
@server = net.createServer((socket) ->
... | 113994 | engine = require("./engine.js")
net = require('net')
buffer = require('buffer')
constants = require("./constants.js")
class exports.GameServer extends engine.Entity
constructor: () ->
super()
@players = []
@sockets = []
@server = net.createServer((socket) ->
... | true | engine = require("./engine.js")
net = require('net')
buffer = require('buffer')
constants = require("./constants.js")
class exports.GameServer extends engine.Entity
constructor: () ->
super()
@players = []
@sockets = []
@server = net.createServer((socket) ->
... |
[
{
"context": "# Author: Josh Bass\n\nReact = require(\"react\");\nMoment = require(\"mome",
"end": 19,
"score": 0.999860405921936,
"start": 10,
"tag": "NAME",
"value": "Josh Bass"
}
] | src/client/components/filters/FiltersView.coffee | jbass86/Aroma | 0 | # Author: Josh Bass
React = require("react");
Moment = require("moment");
mathjs = require("mathjs");
DatePicker = require("react-datepicker");
Moment = require("moment");
css = require("./res/styles/filters.scss");
module.exports = React.createClass
getInitialState: ->
{filters: [], show_filters: true};
... | 209376 | # Author: <NAME>
React = require("react");
Moment = require("moment");
mathjs = require("mathjs");
DatePicker = require("react-datepicker");
Moment = require("moment");
css = require("./res/styles/filters.scss");
module.exports = React.createClass
getInitialState: ->
{filters: [], show_filters: true};
ren... | true | # Author: PI:NAME:<NAME>END_PI
React = require("react");
Moment = require("moment");
mathjs = require("mathjs");
DatePicker = require("react-datepicker");
Moment = require("moment");
css = require("./res/styles/filters.scss");
module.exports = React.createClass
getInitialState: ->
{filters: [], show_filters:... |
[
{
"context": "', ()->\r\n\r\n mockUserDoc = \r\n username: 'luzhuoquan'\r\n password: 'luzhuoquan'\r\n phone_n",
"end": 227,
"score": 0.9997185468673706,
"start": 217,
"tag": "USERNAME",
"value": "luzhuoquan"
},
{
"context": " username: 'luzhuoquan'\r\n ... | test/proxy/user.test.coffee | icarusysuper/imageDistribution | 0 | assert = require 'assert'
should = require 'should'
User = require '../../proxy/user'
userModel = require('../../models').User
describe 'proxy User unit test: ', ()->
mockUserDoc =
username: 'luzhuoquan'
password: 'luzhuoquan'
phone_number: 'luzhuoquan'
beforeEach (done... | 115530 | assert = require 'assert'
should = require 'should'
User = require '../../proxy/user'
userModel = require('../../models').User
describe 'proxy User unit test: ', ()->
mockUserDoc =
username: 'luzhuoquan'
password: '<PASSWORD>'
phone_number: 'luzhuoquan'
beforeEach (done... | true | assert = require 'assert'
should = require 'should'
User = require '../../proxy/user'
userModel = require('../../models').User
describe 'proxy User unit test: ', ()->
mockUserDoc =
username: 'luzhuoquan'
password: 'PI:PASSWORD:<PASSWORD>END_PI'
phone_number: 'luzhuoquan'
... |
[
{
"context": "18bc6b6'\n\n jysperm = new User\n name: 'jysperm'\n tokens: [token, token]\n\n jysperm.to",
"end": 746,
"score": 0.999703586101532,
"start": 739,
"tag": "USERNAME",
"value": "jysperm"
},
{
"context": "te document', ->\n User.create\n ... | test/embedded.array.test.coffee | jysperm/Mabolo | 33 | describe 'embedded.array', ->
mabolo = new Mabolo mongodb_uri
describe 'create array of string', ->
Book = mabolo.model 'Book',
name: String
tags: [String]
it 'construct and save', ->
book = new Book
name: 'SICP'
tags: ['lisp', 'scheme']
return book.save()
it ... | 182613 | describe 'embedded.array', ->
mabolo = new Mabolo mongodb_uri
describe 'create array of string', ->
Book = mabolo.model 'Book',
name: String
tags: [String]
it 'construct and save', ->
book = new Book
name: 'SICP'
tags: ['lisp', 'scheme']
return book.save()
it ... | true | describe 'embedded.array', ->
mabolo = new Mabolo mongodb_uri
describe 'create array of string', ->
Book = mabolo.model 'Book',
name: String
tags: [String]
it 'construct and save', ->
book = new Book
name: 'SICP'
tags: ['lisp', 'scheme']
return book.save()
it ... |
[
{
"context": "rver',\n repositoryUrl: 'https://github.com/scrodde/highscore-server',\n ignores: ['.git', 'nod",
"end": 330,
"score": 0.9995906949043274,
"start": 323,
"tag": "USERNAME",
"value": "scrodde"
},
{
"context": "keepReleases: 5\n\n staging:\n serve... | Gruntfile.coffee | scrodde/highscore-server | 1 | module.exports = (grunt) ->
# Do grunt-related things in here
grunt.loadNpmTasks('grunt-shipit')
grunt.initConfig({
pkg: grunt.file.readJSON('package.json')
shipit:
options:
workspace: '.tmp',
deployTo: '/home/scrodde/apps/highscore-server',
repositoryUrl: 'https://github.c... | 64354 | module.exports = (grunt) ->
# Do grunt-related things in here
grunt.loadNpmTasks('grunt-shipit')
grunt.initConfig({
pkg: grunt.file.readJSON('package.json')
shipit:
options:
workspace: '.tmp',
deployTo: '/home/scrodde/apps/highscore-server',
repositoryUrl: 'https://github.c... | true | module.exports = (grunt) ->
# Do grunt-related things in here
grunt.loadNpmTasks('grunt-shipit')
grunt.initConfig({
pkg: grunt.file.readJSON('package.json')
shipit:
options:
workspace: '.tmp',
deployTo: '/home/scrodde/apps/highscore-server',
repositoryUrl: 'https://github.c... |
[
{
"context": " application.auth.signInForTests(id: 1, login: 'drogus')\n# server = new Pretender ->\n# @get('/v3",
"end": 299,
"score": 0.9997192025184631,
"start": 293,
"tag": "USERNAME",
"value": "drogus"
},
{
"context": "# \"id\": 87,\n# \"login... | tests/acceptance/dashboard-test.coffee | 2947721120/travis-web | 0 | `import Ember from 'ember'`
`import startApp from '../helpers/start-app'`
`import Pretender from 'pretender'`
application = null
server = null
#module 'Acceptance: Dashboard',
# setup: ->
# application = startApp()
# Ember.run ->
# application.auth.signInForTests(id: 1, login: 'drogus')
# server = new ... | 75083 | `import Ember from 'ember'`
`import startApp from '../helpers/start-app'`
`import Pretender from 'pretender'`
application = null
server = null
#module 'Acceptance: Dashboard',
# setup: ->
# application = startApp()
# Ember.run ->
# application.auth.signInForTests(id: 1, login: 'drogus')
# server = new ... | true | `import Ember from 'ember'`
`import startApp from '../helpers/start-app'`
`import Pretender from 'pretender'`
application = null
server = null
#module 'Acceptance: Dashboard',
# setup: ->
# application = startApp()
# Ember.run ->
# application.auth.signInForTests(id: 1, login: 'drogus')
# server = new ... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999101758003235,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
},
{
"context": "ctedUserId: @state.selectedUserId\n users: @users()\n\n... | resources/assets/coffee/react/beatmap-discussions/main.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { Discussions } from './discussions'
import { Events } from './events'
import { Header } from './header'
import { ModeSwitcher } from './m... | 84586 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { Discussions } from './discussions'
import { Events } from './events'
import { Header } from './header'
import { ModeSwitcher } from './mode-swi... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { Discussions } from './discussions'
import { Events } from './events'
import { Header } from './header'
import { ModeSwitcher } f... |
[
{
"context": "#*\n@module joukou-fbpp/protocols/component\n@author Fabian Cook <fabian.cook@joukou.com>\n###\n\nclass ComponentProt",
"end": 995,
"score": 0.999863862991333,
"start": 984,
"tag": "NAME",
"value": "Fabian Cook"
},
{
"context": "kou-fbpp/protocols/component\n@author Fab... | src/protocols/component/index.coffee | joukou/joukou-flow | 0 | ###
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distr... | 131263 | ###
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distr... | true | ###
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distr... |
[
{
"context": "ileoverview Tests for id-blacklist rule.\n# @author Keith Cirkel\n###\n\n'use strict'\n\n#-----------------------------",
"end": 72,
"score": 0.9998602867126465,
"start": 60,
"tag": "NAME",
"value": "Keith Cirkel"
},
{
"context": "pe: 'Identifier'\n ]\n ,\n code:... | src/tests/rules/id-blacklist.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for id-blacklist rule.
# @author Keith Cirkel
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/id-blacklist'
{Rule... | 104109 | ###*
# @fileoverview Tests for id-blacklist rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/id-blacklist'
{RuleTester... | true | ###*
# @fileoverview Tests for id-blacklist rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/id-blacklis... |
[
{
"context": "od: \"GET\"\n\t\t\tauth:\n\t\t\t\tuser: _cnf.user\n\t\t\t\tpass: _cnf.password\n\t\t\n\t\t@debug \"#{type}-req\", opt\n\t\t\n\t\trequest opt, ",
"end": 737,
"score": 0.9500746726989746,
"start": 725,
"tag": "PASSWORD",
"value": "cnf.password"
},
{
"context": "ata or {}\... | _src/request.coffee | mpneuried/polar-sdk | 4 | # # Polar requester
# ### extends [Basic](basic.coffee.html)
#
# a helper module to do the polar requests
# **node modules**
http = require( "http" )
# **npm modules**
_isString = require( "lodash/isString" )
_last = require( "lodash/last" )
_template = require( "lodash/template" )
request = require( "hyperrequest" )... | 127442 | # # Polar requester
# ### extends [Basic](basic.coffee.html)
#
# a helper module to do the polar requests
# **node modules**
http = require( "http" )
# **npm modules**
_isString = require( "lodash/isString" )
_last = require( "lodash/last" )
_template = require( "lodash/template" )
request = require( "hyperrequest" )... | true | # # Polar requester
# ### extends [Basic](basic.coffee.html)
#
# a helper module to do the polar requests
# **node modules**
http = require( "http" )
# **npm modules**
_isString = require( "lodash/isString" )
_last = require( "lodash/last" )
_template = require( "lodash/template" )
request = require( "hyperrequest" )... |
[
{
"context": "_user\n\n Auth.setAuthToken current_user.email, '123'\n",
"end": 294,
"score": 0.9487142562866211,
"start": 291,
"tag": "PASSWORD",
"value": "123"
}
] | test/unit/helpers/app_helpers.coffee | learric/CollegiateRivals | 3 | # Use it like this:
# beforeEach(signIn)
@signIn = ->
inject (Auth, $httpBackend) ->
current_user = FactoryGirl.create 'user', id: 1337
$httpBackend
.whenGET "/account.json?email=#{current_user.email}"
.respond current_user
Auth.setAuthToken current_user.email, '123'
| 132606 | # Use it like this:
# beforeEach(signIn)
@signIn = ->
inject (Auth, $httpBackend) ->
current_user = FactoryGirl.create 'user', id: 1337
$httpBackend
.whenGET "/account.json?email=#{current_user.email}"
.respond current_user
Auth.setAuthToken current_user.email, '<PASSWORD>'
| true | # Use it like this:
# beforeEach(signIn)
@signIn = ->
inject (Auth, $httpBackend) ->
current_user = FactoryGirl.create 'user', id: 1337
$httpBackend
.whenGET "/account.json?email=#{current_user.email}"
.respond current_user
Auth.setAuthToken current_user.email, 'PI:PASSWORD:<PASSWORD>END_PI'... |
[
{
"context": "tDefault()\n\n login = User.login\n username: @usernameInput.value\n password: @passwordInput.value\n\n l",
"end": 1033,
"score": 0.884455144405365,
"start": 1019,
"tag": "USERNAME",
"value": "@usernameInput"
},
{
"context": " username: @usernameInput... | app/profile.cjsx | zooniverse/chimpandsee | 2 | React = require 'react/addons'
cx = React.addons.classSet
ProfileItems = require './profileItems'
signupDialog = require 'zooniverse/controllers/signup-dialog'
User = require 'zooniverse/models/user'
Profile = React.createClass
displayName: 'Profile'
usernameInput: ''
passwordInput: ''
getInitialState: ->
... | 145377 | React = require 'react/addons'
cx = React.addons.classSet
ProfileItems = require './profileItems'
signupDialog = require 'zooniverse/controllers/signup-dialog'
User = require 'zooniverse/models/user'
Profile = React.createClass
displayName: 'Profile'
usernameInput: ''
passwordInput: ''
getInitialState: ->
... | true | React = require 'react/addons'
cx = React.addons.classSet
ProfileItems = require './profileItems'
signupDialog = require 'zooniverse/controllers/signup-dialog'
User = require 'zooniverse/models/user'
Profile = React.createClass
displayName: 'Profile'
usernameInput: ''
passwordInput: ''
getInitialState: ->
... |
[
{
"context": "idate that a value is an email address\n # @author Daniel Bartholomae\n class EmailValidatorRule extends RegexValidator",
"end": 376,
"score": 0.9998924732208252,
"start": 358,
"tag": "NAME",
"value": "Daniel Bartholomae"
}
] | src/rules/Email.coffee | dbartholomae/node-validation-codes | 0 | ((modules, factory) ->
# Use define if amd compatible define function is defined
if typeof define is 'function' && define.amd
define modules, factory
# Use node require if not
else
module.exports = factory (require m for m in modules)...
)( ['./Regex'], (RegexValidatorRule) ->
# A rule to validate that a ... | 199240 | ((modules, factory) ->
# Use define if amd compatible define function is defined
if typeof define is 'function' && define.amd
define modules, factory
# Use node require if not
else
module.exports = factory (require m for m in modules)...
)( ['./Regex'], (RegexValidatorRule) ->
# A rule to validate that a ... | true | ((modules, factory) ->
# Use define if amd compatible define function is defined
if typeof define is 'function' && define.amd
define modules, factory
# Use node require if not
else
module.exports = factory (require m for m in modules)...
)( ['./Regex'], (RegexValidatorRule) ->
# A rule to validate that a ... |
[
{
"context": ", ($scope) ->\n $scope.contactPerson = { person: 'Angel'}\n",
"end": 116,
"score": 0.999609649181366,
"start": 111,
"tag": "NAME",
"value": "Angel"
}
] | coffee/contact.coffee | angel-git/pirate-live | 0 | angular.module('contact', [])
.controller 'ContactController', ($scope) ->
$scope.contactPerson = { person: 'Angel'}
| 39369 | angular.module('contact', [])
.controller 'ContactController', ($scope) ->
$scope.contactPerson = { person: '<NAME>'}
| true | angular.module('contact', [])
.controller 'ContactController', ($scope) ->
$scope.contactPerson = { person: 'PI:NAME:<NAME>END_PI'}
|
[
{
"context": " name\n database: null\n # db username\n username: null\n # db password\n password: null\n\n constructor: ",
"end": 276,
"score": 0.7289738059043884,
"start": 272,
"tag": "USERNAME",
"value": "null"
},
{
"context": "rname\n username: null\n # db password\n pass... | app/storage/couch.coffee | jordidiaz/hm | 0 | # Conexión a Couch.
# No sabe de frameworks como Backbone.
module.exports = class Couch
# db connection object
db: null
# db host protocol
protocol: 'http'
# db host
host: null
# db port
port: 5984
# db name
database: null
# db username
username: null
# db password
password: null
constru... | 141393 | # Conexión a Couch.
# No sabe de frameworks como Backbone.
module.exports = class Couch
# db connection object
db: null
# db host protocol
protocol: 'http'
# db host
host: null
# db port
port: 5984
# db name
database: null
# db username
username: null
# db password
password: <PASSWORD>
c... | true | # Conexión a Couch.
# No sabe de frameworks como Backbone.
module.exports = class Couch
# db connection object
db: null
# db host protocol
protocol: 'http'
# db host
host: null
# db port
port: 5984
# db name
database: null
# db username
username: null
# db password
password: PI:PASSWORD:<PA... |
[
{
"context": "y UI checkboxes editor 1.0.0\n\n Copyright (c) 2016 Tomasz Jakub Rup\n\n https://github.com/tomi77/backbone-forms-jquer",
"end": 93,
"score": 0.9998748302459717,
"start": 77,
"tag": "NAME",
"value": "Tomasz Jakub Rup"
},
{
"context": "t (c) 2016 Tomasz Jakub Rup\n\n ... | src/checkboxes.coffee | tomi77/backbone-forms-jquery-ui | 0 | ###
Backbone-Forms jQuery UI checkboxes editor 1.0.0
Copyright (c) 2016 Tomasz Jakub Rup
https://github.com/tomi77/backbone-forms-jquery-ui
Released under the MIT license
###
((root, factory) ->
### istanbul ignore next ###
switch
when typeof define is 'function' and define.amd
define ['backbo... | 132878 | ###
Backbone-Forms jQuery UI checkboxes editor 1.0.0
Copyright (c) 2016 <NAME>
https://github.com/tomi77/backbone-forms-jquery-ui
Released under the MIT license
###
((root, factory) ->
### istanbul ignore next ###
switch
when typeof define is 'function' and define.amd
define ['backbone-forms',... | true | ###
Backbone-Forms jQuery UI checkboxes editor 1.0.0
Copyright (c) 2016 PI:NAME:<NAME>END_PI
https://github.com/tomi77/backbone-forms-jquery-ui
Released under the MIT license
###
((root, factory) ->
### istanbul ignore next ###
switch
when typeof define is 'function' and define.amd
define ['ba... |
[
{
"context": "###\n backbone-http.js 0.5.5\n Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-http\n Lic",
"end": 58,
"score": 0.9985679984092712,
"start": 50,
"tag": "NAME",
"value": "Vidigami"
},
{
"context": " Copyright (c) 2013 Vidigami - https://github.com/v... | src/sync.coffee | michaelBenin/backbone-http | 1 | ###
backbone-http.js 0.5.5
Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-http
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, Moment.js, Inflection.js, BackboneORM, and Superagent.
###
_ = require 'underscore'
Backbone = require '... | 23096 | ###
backbone-http.js 0.5.5
Copyright (c) 2013 <NAME> - https://github.com/vidigami/backbone-http
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, Moment.js, Inflection.js, BackboneORM, and Superagent.
###
_ = require 'underscore'
Backbone = require 'ba... | true | ###
backbone-http.js 0.5.5
Copyright (c) 2013 PI:NAME:<NAME>END_PI - https://github.com/vidigami/backbone-http
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, Moment.js, Inflection.js, BackboneORM, and Superagent.
###
_ = require 'underscore'
Backbone... |
[
{
"context": "teUniqueRelationship('people', {\n \"key\" : \"name\",\n \"value\" : \"Tobias\",\n \"start\" : \"",
"end": 3236,
"score": 0.7692899107933044,
"start": 3232,
"tag": "NAME",
"value": "name"
},
{
"context": "le', {\n \"key\" : \"name\",\n ... | src/relationship.coffee | kievechua/js-neo4j | 2 | utils = require './utils'
_ = require 'lodash'
module.exports =
# ###read all relationships
###
[Details](http://docs.neo4j.org/chunked/milestone/rest-api-relationship-types.html)
```
neo.readRelationshipType()
```
###
readRelationshipType: readRelationshipType = ->
utils.get(
... | 15360 | utils = require './utils'
_ = require 'lodash'
module.exports =
# ###read all relationships
###
[Details](http://docs.neo4j.org/chunked/milestone/rest-api-relationship-types.html)
```
neo.readRelationshipType()
```
###
readRelationshipType: readRelationshipType = ->
utils.get(
... | true | utils = require './utils'
_ = require 'lodash'
module.exports =
# ###read all relationships
###
[Details](http://docs.neo4j.org/chunked/milestone/rest-api-relationship-types.html)
```
neo.readRelationshipType()
```
###
readRelationshipType: readRelationshipType = ->
utils.get(
... |
[
{
"context": "t slider\n# http://bxslider.com\n#\n# Copyright 2014, Steven Wanderski - http://stevenwanderski.com - http://bxcreative.",
"end": 124,
"score": 0.9996117949485779,
"start": 108,
"tag": "NAME",
"value": "Steven Wanderski"
}
] | view/frontend/web/js/bxslider.coffee | MattrCoUk/Slider-M2 | 0 | # # #
# BxSlider v4.1.2 - Fully loaded, responsive content slider
# http://bxslider.com
#
# Copyright 2014, Steven Wanderski - http://stevenwanderski.com - http://bxcreative.com
# Written while drinking Belgian ales and listening to jazz
#
# Released under the MIT license - http://opensource.org/licenses/MIT
# # #
jQu... | 77388 | # # #
# BxSlider v4.1.2 - Fully loaded, responsive content slider
# http://bxslider.com
#
# Copyright 2014, <NAME> - http://stevenwanderski.com - http://bxcreative.com
# Written while drinking Belgian ales and listening to jazz
#
# Released under the MIT license - http://opensource.org/licenses/MIT
# # #
jQuery(docume... | true | # # #
# BxSlider v4.1.2 - Fully loaded, responsive content slider
# http://bxslider.com
#
# Copyright 2014, PI:NAME:<NAME>END_PI - http://stevenwanderski.com - http://bxcreative.com
# Written while drinking Belgian ales and listening to jazz
#
# Released under the MIT license - http://opensource.org/licenses/MIT
# # #
... |
[
{
"context": "GS: \"Tag\"\nPAGES: \"Pagine\"\nPOSTS: \"Post\"\nAUTHORS: \"Autori\"\nSEARCH: \"Cerca\"\nSEARCH_START: \"Type a keyword\"\nS",
"end": 373,
"score": 0.6501039266586304,
"start": 367,
"tag": "NAME",
"value": "Autori"
}
] | src/i18n/it.cson | caiocrd/politicaemfoco-ionic | 772 | PULL_TO_REFRESH: "Tira per aggiornare!"
RETRY: "Riprova"
CANCEL: "Cancel"
SUBMIT: "Submit"
BACK: "Indietro"
ERROR: "Qualcosa è andato storto, riprova nuovamente."
ATTEMPT_TO_CONNECT: "Tentativo di connessione {{attempt}} di {{attemptMax}}."
OK: "Ok"
YES: "Si"
NO: "No"
EMPTY_LIST: "Non c'è nulla qui!"
MENU: "Menu"
TAGS:... | 105821 | PULL_TO_REFRESH: "Tira per aggiornare!"
RETRY: "Riprova"
CANCEL: "Cancel"
SUBMIT: "Submit"
BACK: "Indietro"
ERROR: "Qualcosa è andato storto, riprova nuovamente."
ATTEMPT_TO_CONNECT: "Tentativo di connessione {{attempt}} di {{attemptMax}}."
OK: "Ok"
YES: "Si"
NO: "No"
EMPTY_LIST: "Non c'è nulla qui!"
MENU: "Menu"
TAGS:... | true | PULL_TO_REFRESH: "Tira per aggiornare!"
RETRY: "Riprova"
CANCEL: "Cancel"
SUBMIT: "Submit"
BACK: "Indietro"
ERROR: "Qualcosa è andato storto, riprova nuovamente."
ATTEMPT_TO_CONNECT: "Tentativo di connessione {{attempt}} di {{attemptMax}}."
OK: "Ok"
YES: "Si"
NO: "No"
EMPTY_LIST: "Non c'è nulla qui!"
MENU: "Menu"
TAGS:... |
[
{
"context": "HANNEL_TX_POWER = 0x60\n @MESSAGE_NETWORK_KEY = 0x46\n @MESSAGE_TX_POWER = 0x47\n @MESSAGE_PROX",
"end": 480,
"score": 0.8098764419555664,
"start": 479,
"tag": "KEY",
"value": "0"
},
{
"context": "NNEL_TX_POWER = 0x60\n @MESSAGE_NETWORK_KEY = 0x46\n @MESS... | coffee/_Constants.coffee | aarongurley/node-ant | 15 | EventEmitter = require('events').EventEmitter
class Constants extends EventEmitter
constructor:()->
@MESSAGE_TX_SYNC = 0xA4
@DEFAULT_NETWORK_NUMBER = 0x00
# Configuration messages
@MESSAGE_CHANNEL_UNASSIGN = 0x41
@MESSAGE_CHANNEL_ASSIGN = 0x42
@MESSAGE_CHANNEL_ID = 0x51
@MESSAGE_CHANNEL_... | 144912 | EventEmitter = require('events').EventEmitter
class Constants extends EventEmitter
constructor:()->
@MESSAGE_TX_SYNC = 0xA4
@DEFAULT_NETWORK_NUMBER = 0x00
# Configuration messages
@MESSAGE_CHANNEL_UNASSIGN = 0x41
@MESSAGE_CHANNEL_ASSIGN = 0x42
@MESSAGE_CHANNEL_ID = 0x51
@MESSAGE_CHANNEL_... | true | EventEmitter = require('events').EventEmitter
class Constants extends EventEmitter
constructor:()->
@MESSAGE_TX_SYNC = 0xA4
@DEFAULT_NETWORK_NUMBER = 0x00
# Configuration messages
@MESSAGE_CHANNEL_UNASSIGN = 0x41
@MESSAGE_CHANNEL_ASSIGN = 0x42
@MESSAGE_CHANNEL_ID = 0x51
@MESSAGE_CHANNEL_... |
[
{
"context": "mer.Info =\n\ttitle: \"Module for preview\"\n\tauthor: \"Jungho Song\"\n\ttwitter: \"@threeword\"\n\tdescription: \"For previe",
"end": 171,
"score": 0.9998703002929688,
"start": 160,
"tag": "NAME",
"value": "Jungho Song"
},
{
"context": "dule for preview\"\n\tauthor: \... | framer/backups/backup-2016-12-08 22.14.55.coffee | framer-modules/intro | 4 | # Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: "Module for preview"
author: "Jungho Song"
twitter: "@threeword"
description: "For preview & presentation\n - Fullscreen Supported,\n - Responsive Design,\n - More custom themes (White, Im... | 137572 | # Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: "Module for preview"
author: "<NAME>"
twitter: "@threeword"
description: "For preview & presentation\n - Fullscreen Supported,\n - Responsive Design,\n - More custom themes (White, Image, ... | true | # Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: "Module for preview"
author: "PI:NAME:<NAME>END_PI"
twitter: "@threeword"
description: "For preview & presentation\n - Fullscreen Supported,\n - Responsive Design,\n - More custom themes (... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.