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": "rticular style for multiline comments\n * # @author Teddy Katz\n###\n'use strict'\n\nastUtils = require '../eslint-a",
"end": 97,
"score": 0.9997865557670593,
"start": 87,
"tag": "NAME",
"value": "Teddy Katz"
}
] | src/rules/multiline-comment-style.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
* # @fileoverview enforce a particular style for multiline comments
* # @author Teddy Katz
###
'use strict'
astUtils = require '../eslint-ast-utils'
###
* ------------------------------------------------------------------------------
* Rule Definition
* ------------------------------------------------------... | 65607 | ###*
* # @fileoverview enforce a particular style for multiline comments
* # @author <NAME>
###
'use strict'
astUtils = require '../eslint-ast-utils'
###
* ------------------------------------------------------------------------------
* Rule Definition
* ----------------------------------------------------------... | true | ###*
* # @fileoverview enforce a particular style for multiline comments
* # @author PI:NAME:<NAME>END_PI
###
'use strict'
astUtils = require '../eslint-ast-utils'
###
* ------------------------------------------------------------------------------
* Rule Definition
* --------------------------------------------... |
[
{
"context": "ld.equal 10\n results[0].name.should.equal 'Halley Johnson'\n done()\n\n it 'can return authors by mu",
"end": 608,
"score": 0.9997381567955017,
"start": 594,
"tag": "NAME",
"value": "Halley Johnson"
},
{
"context": "_id: ObjectId('5086df098523e60002000... | src/api/apps/authors/test/model.test.coffee | craigspaeth/positron | 76 | _ = require 'underscore'
moment = require 'moment'
{ db, fabricate, empty, fixtures } = require '../../../test/helpers/db'
Author = require '../model'
{ ObjectId } = require 'mongojs'
describe 'Author', ->
beforeEach (done) ->
empty ->
fabricate 'authors', _.times(10, -> {}), ->
done()
describe... | 11120 | _ = require 'underscore'
moment = require 'moment'
{ db, fabricate, empty, fixtures } = require '../../../test/helpers/db'
Author = require '../model'
{ ObjectId } = require 'mongojs'
describe 'Author', ->
beforeEach (done) ->
empty ->
fabricate 'authors', _.times(10, -> {}), ->
done()
describe... | true | _ = require 'underscore'
moment = require 'moment'
{ db, fabricate, empty, fixtures } = require '../../../test/helpers/db'
Author = require '../model'
{ ObjectId } = require 'mongojs'
describe 'Author', ->
beforeEach (done) ->
empty ->
fabricate 'authors', _.times(10, -> {}), ->
done()
describe... |
[
{
"context": "re', ($cookieStore) -> \n cookieStorageUserKey = 'puffbirdApplicationUser'\n currentUser = null\n\n getCurrentUser: ->\n s",
"end": 121,
"score": 0.9974266290664673,
"start": 98,
"tag": "KEY",
"value": "puffbirdApplicationUser"
}
] | public/coffeescripts/services/account/identityService.coffee | deniskyashif/puffbird | 6 | puffbird.factory 'identityService', ['$cookieStore', ($cookieStore) ->
cookieStorageUserKey = 'puffbirdApplicationUser'
currentUser = null
getCurrentUser: ->
savedUser = $cookieStore.get cookieStorageUserKey
if savedUser then savedUser else currentUser
setCurrentUser: (user) ->
if user
$coo... | 158959 | puffbird.factory 'identityService', ['$cookieStore', ($cookieStore) ->
cookieStorageUserKey = '<KEY>'
currentUser = null
getCurrentUser: ->
savedUser = $cookieStore.get cookieStorageUserKey
if savedUser then savedUser else currentUser
setCurrentUser: (user) ->
if user
$cookieStore.put cooki... | true | puffbird.factory 'identityService', ['$cookieStore', ($cookieStore) ->
cookieStorageUserKey = 'PI:KEY:<KEY>END_PI'
currentUser = null
getCurrentUser: ->
savedUser = $cookieStore.get cookieStorageUserKey
if savedUser then savedUser else currentUser
setCurrentUser: (user) ->
if user
$cookieSt... |
[
{
"context": "# ### Fishes forget their rivers and lakes, said Chuang Tzu. Spaces or contexts give meanings to ideas and li",
"end": 59,
"score": 0.9997344017028809,
"start": 49,
"tag": "NAME",
"value": "Chuang Tzu"
}
] | src/coffee/core/Space.coffee | williamngan/pt | 1,005 | # ### Fishes forget their rivers and lakes, said Chuang Tzu. Spaces or contexts give meanings to ideas and lives, but are often overlooked. In Pt, space represents an abstract context in which a point can be made visible in one form or another, and can be specified as an html canvas, a soundscape, or a graffiti robot o... | 158912 | # ### Fishes forget their rivers and lakes, said <NAME>. Spaces or contexts give meanings to ideas and lives, but are often overlooked. In Pt, space represents an abstract context in which a point can be made visible in one form or another, and can be specified as an html canvas, a soundscape, or a graffiti robot on a ... | true | # ### Fishes forget their rivers and lakes, said PI:NAME:<NAME>END_PI. Spaces or contexts give meanings to ideas and lives, but are often overlooked. In Pt, space represents an abstract context in which a point can be made visible in one form or another, and can be specified as an html canvas, a soundscape, or a graffi... |
[
{
"context": "\t$ resin config write --type raspberry-pi username johndoe\n\t\t\t$ resin config write --type raspberry-pi --dri",
"end": 2141,
"score": 0.9989538192749023,
"start": 2134,
"tag": "USERNAME",
"value": "johndoe"
},
{
"context": "te --type raspberry-pi --drive /dev/disk2 ... | lib/actions/config.coffee | vtmf/resion | 0 | ###
Copyright 2016-2017 Resin.io
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
d... | 21796 | ###
Copyright 2016-2017 Resin.io
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
d... | true | ###
Copyright 2016-2017 Resin.io
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
d... |
[
{
"context": " -> expect(@subject.raw).toEqual\n author: \"Full Name\"\n authorUrl: \"https://twitter.com/fullname",
"end": 329,
"score": 0.9929788112640381,
"start": 320,
"tag": "NAME",
"value": "Full Name"
},
{
"context": "ull Name\"\n authorUrl: \"https://twit... | spec/config_spec.coffee | testdouble/grunt-markdown-blog | 12 | Config = require("../lib/config")
describe "Config", ->
Given -> @options = layouts: {}, paths: {}, pathRoots: {}
When -> @subject = new Config(@options)
describe "#constructor", ->
describe "has defaults", ->
When -> @subject = new Config()
Then -> expect(@subject.raw).toEqual
author: "... | 180963 | Config = require("../lib/config")
describe "Config", ->
Given -> @options = layouts: {}, paths: {}, pathRoots: {}
When -> @subject = new Config(@options)
describe "#constructor", ->
describe "has defaults", ->
When -> @subject = new Config()
Then -> expect(@subject.raw).toEqual
author: "... | true | Config = require("../lib/config")
describe "Config", ->
Given -> @options = layouts: {}, paths: {}, pathRoots: {}
When -> @subject = new Config(@options)
describe "#constructor", ->
describe "has defaults", ->
When -> @subject = new Config()
Then -> expect(@subject.raw).toEqual
author: "... |
[
{
"context": "binddn: 'cn=admin,dc=example,dc=org'\n passwd: 'admin'\n config:\n binddn: 'cn=admin,cn=config'\n ",
"end": 213,
"score": 0.9967052340507507,
"start": 208,
"tag": "PASSWORD",
"value": "admin"
},
{
"context": " binddn: 'cn=admin,cn=config'\n passwd: ... | packages/ldap/env/openldap/test.coffee | shivaylamba/meilisearch-gatsby-plugin-guide | 31 |
module.exports =
tags:
api: true
ldap: true
ldap_acl: true
ldap_index: true
ldap_user: true
ldap:
uri: 'ldap://openldap:389'
binddn: 'cn=admin,dc=example,dc=org'
passwd: 'admin'
config:
binddn: 'cn=admin,cn=config'
passwd: 'config'
suffix_dn: 'dc=example,dc=org'
... | 191649 |
module.exports =
tags:
api: true
ldap: true
ldap_acl: true
ldap_index: true
ldap_user: true
ldap:
uri: 'ldap://openldap:389'
binddn: 'cn=admin,dc=example,dc=org'
passwd: '<PASSWORD>'
config:
binddn: 'cn=admin,cn=config'
passwd: '<PASSWORD>'
suffix_dn: 'dc=example... | true |
module.exports =
tags:
api: true
ldap: true
ldap_acl: true
ldap_index: true
ldap_user: true
ldap:
uri: 'ldap://openldap:389'
binddn: 'cn=admin,dc=example,dc=org'
passwd: 'PI:PASSWORD:<PASSWORD>END_PI'
config:
binddn: 'cn=admin,cn=config'
passwd: 'PI:PASSWORD:<PASSWOR... |
[
{
"context": "->\n @blipData =\n name: 'name'\n snapshot:\n wa",
"end": 309,
"score": 0.6085079312324524,
"start": 305,
"tag": "NAME",
"value": "name"
}
] | src/tests/client/blip/test_model.coffee | LaPingvino/rizzoma | 88 | sinon = require('sinon')
testCase = require('nodeunit').testCase
Request = require('../../../share/communication').Request
BlipModel = require('../../../client/blip/model').BlipModel
module.exports =
BlipModelTest: testCase
setUp: (callback) ->
@blipData =
name: 'name'
... | 205928 | sinon = require('sinon')
testCase = require('nodeunit').testCase
Request = require('../../../share/communication').Request
BlipModel = require('../../../client/blip/model').BlipModel
module.exports =
BlipModelTest: testCase
setUp: (callback) ->
@blipData =
name: '<NAME>'
... | true | sinon = require('sinon')
testCase = require('nodeunit').testCase
Request = require('../../../share/communication').Request
BlipModel = require('../../../client/blip/model').BlipModel
module.exports =
BlipModelTest: testCase
setUp: (callback) ->
@blipData =
name: 'PI:NAME:<NAME>E... |
[
{
"context": " rich text editing jQuery UI widget\n# (c) 2011 Henri Bergius, IKS Consortium\n# Hallo may be freely distrib",
"end": 79,
"score": 0.999862790107727,
"start": 66,
"tag": "NAME",
"value": "Henri Bergius"
}
] | vendor/assets/javascripts/hallo/widgets/dropdownbutton.coffee | spanner/bop | 0 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 Henri Bergius, IKS Consortium
# Hallo may be freely distributed under the MIT license
((jQuery) ->
jQuery.widget 'IKS.hallodropdownbutton',
button: null
options:
uuid: ''
label: null
icon: null
editable: null
... | 217345 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 <NAME>, IKS Consortium
# Hallo may be freely distributed under the MIT license
((jQuery) ->
jQuery.widget 'IKS.hallodropdownbutton',
button: null
options:
uuid: ''
label: null
icon: null
editable: null
target:... | true | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 PI:NAME:<NAME>END_PI, IKS Consortium
# Hallo may be freely distributed under the MIT license
((jQuery) ->
jQuery.widget 'IKS.hallodropdownbutton',
button: null
options:
uuid: ''
label: null
icon: null
editable: null... |
[
{
"context": "ls'\n price: 250\n name: 'Калифорния'\n ,\n id: 'canada'\n ",
"end": 5015,
"score": 0.7489256262779236,
"start": 5005,
"tag": "NAME",
"value": "Калифорния"
},
{
"context": "ls'\n price: 270\n ... | examples/globus/public/javascripts/client.coffee | ulitiy/WidLib | 1 | $ ->
time = ->
d = new Date()
utc = d.getTime() + (d.getTimezoneOffset() * 60000)
new Date(utc + (3600000*6))
offlineMode = ->
el = document.getElementById("widlib")
el.innerHTML = '<a href="http://gurman-ufa.ru" target="_blank"><img src="/images/offline.jpg"></a>' if ltie? || !client.loaded
s... | 172697 | $ ->
time = ->
d = new Date()
utc = d.getTime() + (d.getTimezoneOffset() * 60000)
new Date(utc + (3600000*6))
offlineMode = ->
el = document.getElementById("widlib")
el.innerHTML = '<a href="http://gurman-ufa.ru" target="_blank"><img src="/images/offline.jpg"></a>' if ltie? || !client.loaded
s... | true | $ ->
time = ->
d = new Date()
utc = d.getTime() + (d.getTimezoneOffset() * 60000)
new Date(utc + (3600000*6))
offlineMode = ->
el = document.getElementById("widlib")
el.innerHTML = '<a href="http://gurman-ufa.ru" target="_blank"><img src="/images/offline.jpg"></a>' if ltie? || !client.loaded
s... |
[
{
"context": "'scopeName': 'source.gfl-log'\n'name': 'GFL Log'\n\n'patterns': [\n {\n 'match': '^(.*)(:|:",
"end": 40,
"score": 0.6212658882141113,
"start": 39,
"tag": "NAME",
"value": "G"
},
{
"context": "'[-\\\\p{L}\\\\d ??]*\\\\(\\\\d*\\\\)'\n 'name': 'char-art'\n ... | grammars/gfl-log.cson | JAK0723/language-gfl-log | 0 | 'scopeName': 'source.gfl-log'
'name': 'GFL Log'
'patterns': [
{
'match': '^(.*)(:|:)'
captures:
1:
'patterns': [
{
'match': '[-\\p{L}\\d ??]*\\(\\d*\\)'
'name': 'char-art'
}
{
'match': '(<Speaker>)(.*)(</Speaker>)'
ca... | 150602 | 'scopeName': 'source.gfl-log'
'name': '<NAME>FL Log'
'patterns': [
{
'match': '^(.*)(:|:)'
captures:
1:
'patterns': [
{
'match': '[-\\p{L}\\d ??]*\\(\\d*\\)'
'name': 'char-art'
}
{
'match': '(<Speaker>)(.*)(</Speaker>)'
... | true | 'scopeName': 'source.gfl-log'
'name': 'PI:NAME:<NAME>END_PIFL Log'
'patterns': [
{
'match': '^(.*)(:|:)'
captures:
1:
'patterns': [
{
'match': '[-\\p{L}\\d ??]*\\(\\d*\\)'
'name': 'char-art'
}
{
'match': '(<Speaker>)(.*)(</Speake... |
[
{
"context": "written. What do you thing?\"\n author: \"John Smith\"\n user : {name: 'johnsmith', user_id: ",
"end": 180,
"score": 0.9995837211608887,
"start": 170,
"tag": "NAME",
"value": "John Smith"
},
{
"context": " author: \"John Smith\"\n user ... | src/helpers/testers/testDocs.coffee | SteveMcArthur/docpad-plugin-posteditor | 1 | getDocs = () ->
obj =
[
{
title: "My New Document"
content: "Some content I've written. What do you thing?"
author: "John Smith"
user : {name: 'johnsmith', user_id: 123456}
slug: 'my-new-document'
},{
title: "Another New Do... | 72836 | getDocs = () ->
obj =
[
{
title: "My New Document"
content: "Some content I've written. What do you thing?"
author: "<NAME>"
user : {name: 'johnsmith', user_id: 123456}
slug: 'my-new-document'
},{
title: "Another New Docume... | true | getDocs = () ->
obj =
[
{
title: "My New Document"
content: "Some content I've written. What do you thing?"
author: "PI:NAME:<NAME>END_PI"
user : {name: 'johnsmith', user_id: 123456}
slug: 'my-new-document'
},{
title: "Anot... |
[
{
"context": "` custom wrapper tests\n#\n# Copyright (C) 2012-2013 Nikolay Nemshilov\n#\n{Test,should} = require('lovely')\n\ndescribe 'St",
"end": 84,
"score": 0.9998863935470581,
"start": 67,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | stl/dom/test/style_test.coffee | lovely-io/lovely.io-stl | 2 | #
# The `$.Style` custom wrapper tests
#
# Copyright (C) 2012-2013 Nikolay Nemshilov
#
{Test,should} = require('lovely')
describe 'Style', ->
$ = Element = Style = null
before Test.load (dom)->
$ = dom; Element = $.Element; Style = $.Style
it "should be registered as a dom-wrapper", ->
$.Wrapper.get('s... | 23247 | #
# The `$.Style` custom wrapper tests
#
# Copyright (C) 2012-2013 <NAME>
#
{Test,should} = require('lovely')
describe 'Style', ->
$ = Element = Style = null
before Test.load (dom)->
$ = dom; Element = $.Element; Style = $.Style
it "should be registered as a dom-wrapper", ->
$.Wrapper.get('style').shou... | true | #
# The `$.Style` custom wrapper tests
#
# Copyright (C) 2012-2013 PI:NAME:<NAME>END_PI
#
{Test,should} = require('lovely')
describe 'Style', ->
$ = Element = Style = null
before Test.load (dom)->
$ = dom; Element = $.Element; Style = $.Style
it "should be registered as a dom-wrapper", ->
$.Wrapper.get... |
[
{
"context": " : $\n###\n\n\nclass NoteModel\n\n LOCALSTORAGE_KEY : \"scratchpad-note\"\n\n constructor : (options) ->\n _.extend(this,",
"end": 135,
"score": 0.9897778630256653,
"start": 120,
"tag": "KEY",
"value": "scratchpad-note"
}
] | app/scripts/models/note_model.coffee | scalableminds/fivepad | 1 | ### define
lodash : _
backbone : Backbone
diff : Diff
app : app
jquery : $
###
class NoteModel
LOCALSTORAGE_KEY : "scratchpad-note"
constructor : (options) ->
_.extend(this, Backbone.Events)
@id = options.id
@attributes = {
_syncedRevision : 0
_revision : 0
title : ""
content... | 87872 | ### define
lodash : _
backbone : Backbone
diff : Diff
app : app
jquery : $
###
class NoteModel
LOCALSTORAGE_KEY : "<KEY>"
constructor : (options) ->
_.extend(this, Backbone.Events)
@id = options.id
@attributes = {
_syncedRevision : 0
_revision : 0
title : ""
contents : ""
... | true | ### define
lodash : _
backbone : Backbone
diff : Diff
app : app
jquery : $
###
class NoteModel
LOCALSTORAGE_KEY : "PI:KEY:<KEY>END_PI"
constructor : (options) ->
_.extend(this, Backbone.Events)
@id = options.id
@attributes = {
_syncedRevision : 0
_revision : 0
title : ""
cont... |
[
{
"context": "eturn all details for <user query>\n#\n# Author:\n# Angus Williams <angus@forest-technologies.co.uk>\n\n{filter} = req",
"end": 364,
"score": 0.9998503923416138,
"start": 350,
"tag": "NAME",
"value": "Angus Williams"
},
{
"context": " for <user query>\n#\n# Author:\n#... | scripts/company-directory.coffee | ForestTechnologiesLtd/chatops-example | 1 | # Description:
# Lookup user info from company directory
#
# Dependencies:
# "fuzzaldrin": "^2.1.0"
#
# Commands:
# hubot phone of <user query> - Return phone details for <user query>
# hubot email of <user query> - Return email details for <user query>
# hubot details of <user query> - Return all details for... | 74052 | # Description:
# Lookup user info from company directory
#
# Dependencies:
# "fuzzaldrin": "^2.1.0"
#
# Commands:
# hubot phone of <user query> - Return phone details for <user query>
# hubot email of <user query> - Return email details for <user query>
# hubot details of <user query> - Return all details for... | true | # Description:
# Lookup user info from company directory
#
# Dependencies:
# "fuzzaldrin": "^2.1.0"
#
# Commands:
# hubot phone of <user query> - Return phone details for <user query>
# hubot email of <user query> - Return email details for <user query>
# hubot details of <user query> - Return all details for... |
[
{
"context": "Handler\", ->\n\n\tbeforeEach ->\n\t\t@user =\n\t\t\t_id:\"12390i\"\n\t\t\temail: \"bob@bob.com\"\n\t\t\tremove: sinon.stub()",
"end": 247,
"score": 0.5502157211303711,
"start": 245,
"tag": "USERNAME",
"value": "90"
},
{
"context": "eforeEach ->\n\t\t@user =\n\t\t\t_id:... | test/unit/coffee/User/UserHandlerTests.coffee | davidmehren/web-sharelatex | 0 | sinon = require('sinon')
chai = require('chai')
should = chai.should()
modulePath = "../../../../app/js/Features/User/UserHandler.js"
SandboxedModule = require('sandboxed-module')
describe "UserHandler", ->
beforeEach ->
@user =
_id:"12390i"
email: "bob@bob.com"
remove: sinon.stub().callsArgWith(0)
@li... | 99019 | sinon = require('sinon')
chai = require('chai')
should = chai.should()
modulePath = "../../../../app/js/Features/User/UserHandler.js"
SandboxedModule = require('sandboxed-module')
describe "UserHandler", ->
beforeEach ->
@user =
_id:"12390i"
email: "<EMAIL>"
remove: sinon.stub().callsArgWith(0)
@licenc... | true | sinon = require('sinon')
chai = require('chai')
should = chai.should()
modulePath = "../../../../app/js/Features/User/UserHandler.js"
SandboxedModule = require('sandboxed-module')
describe "UserHandler", ->
beforeEach ->
@user =
_id:"12390i"
email: "PI:EMAIL:<EMAIL>END_PI"
remove: sinon.stub().callsArgWit... |
[
{
"context": "e Wistia Basics series is just what you need. Join Chris and \n Jeff as they take you through the key ",
"end": 1934,
"score": 0.9994539618492126,
"start": 1929,
"tag": "NAME",
"value": "Chris"
},
{
"context": "eries is just what you need. Join Chris and \n Je... | _coffeescript/search.coffee | pra85/wistia-doc | 0 | class Search
constructor: ->
@query = @getQuery()
@getSearchResults @query, (data) =>
@resultHtml = ""
@resultsLength = data.results.length || 0
if @resultsLength > 0
for result in data.results
@resultHtml += @convertJsonToHtml result
else if @query?
@resultHt... | 170304 | class Search
constructor: ->
@query = @getQuery()
@getSearchResults @query, (data) =>
@resultHtml = ""
@resultsLength = data.results.length || 0
if @resultsLength > 0
for result in data.results
@resultHtml += @convertJsonToHtml result
else if @query?
@resultHt... | true | class Search
constructor: ->
@query = @getQuery()
@getSearchResults @query, (data) =>
@resultHtml = ""
@resultsLength = data.results.length || 0
if @resultsLength > 0
for result in data.results
@resultHtml += @convertJsonToHtml result
else if @query?
@resultHt... |
[
{
"context": "overview Tests for no-multi-assign rule.\n# @author Stewart Rand\n###\n\n'use strict'\n\n#-----------------------------",
"end": 75,
"score": 0.9998127222061157,
"start": 63,
"tag": "NAME",
"value": "Stewart Rand"
}
] | src/tests/rules/no-multi-assign.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-multi-assign rule.
# @author Stewart Rand
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-multi-assign'... | 116787 | ###*
# @fileoverview Tests for no-multi-assign rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-multi-assign'
{Rule... | true | ###*
# @fileoverview Tests for no-multi-assign rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-multi... |
[
{
"context": " String\n string_redirect: (oref,cls) ->\n key = \"#{cls}::#{oref}\"\n cdata = @class_lookup(c2t(cls))\n unless @s",
"end": 2109,
"score": 0.9946381449699402,
"start": 2092,
"tag": "KEY",
"value": "\"#{cls}::#{oref}\""
}
] | src/runtime.coffee | Jivings/doppio | 1 | # Things assigned to root will be available outside this module.
root = exports ? this.runtime = {}
util ?= require './util'
types ?= require './types'
ClassFile ?= require './class_file'
{log,debug,error,java_throw} = util
{c2t} = types
trace = (msg) -> log 9, msg
initial_value = (type_str) ->
if type_str is 'J' t... | 134573 | # Things assigned to root will be available outside this module.
root = exports ? this.runtime = {}
util ?= require './util'
types ?= require './types'
ClassFile ?= require './class_file'
{log,debug,error,java_throw} = util
{c2t} = types
trace = (msg) -> log 9, msg
initial_value = (type_str) ->
if type_str is 'J' t... | true | # Things assigned to root will be available outside this module.
root = exports ? this.runtime = {}
util ?= require './util'
types ?= require './types'
ClassFile ?= require './class_file'
{log,debug,error,java_throw} = util
{c2t} = types
trace = (msg) -> log 9, msg
initial_value = (type_str) ->
if type_str is 'J' t... |
[
{
"context": "n\n username: options.username\n password: options.password\n host: options.host\n port: options.port",
"end": 600,
"score": 0.9983014464378357,
"start": 584,
"tag": "PASSWORD",
"value": "options.password"
}
] | agent/node_modules/mail-listener/src/mail.listener.coffee | awidarto/ecmv1 | 0 | util = require "util"
{EventEmitter} = require "events"
{MailParser} = require "mailparser"
{ImapConnection} = require "imap"
# MailListener class. Can `emit` events in `node.js` fashion.
class MailListener extends EventEmitter
constructor: (options) ->
# set this option to `true` if you want ... | 107755 | util = require "util"
{EventEmitter} = require "events"
{MailParser} = require "mailparser"
{ImapConnection} = require "imap"
# MailListener class. Can `emit` events in `node.js` fashion.
class MailListener extends EventEmitter
constructor: (options) ->
# set this option to `true` if you want ... | true | util = require "util"
{EventEmitter} = require "events"
{MailParser} = require "mailparser"
{ImapConnection} = require "imap"
# MailListener class. Can `emit` events in `node.js` fashion.
class MailListener extends EventEmitter
constructor: (options) ->
# set this option to `true` if you want ... |
[
{
"context": "allback auth: false\n\n vk.getAccessToken \"12345\", ->\n if vk.accessToken is null\n ",
"end": 3346,
"score": 0.4881227910518646,
"start": 3345,
"tag": "PASSWORD",
"value": "5"
},
{
"context": " callback fakeData\n\n vk.getAccessToken \"1234... | test/vk.coffee | vk-x/vk-api | 4 | describe "vk", ->
vk = null
cleanVk = require "inject!../src/vk"
beforeEach ->
delete window.VK
vk = cleanVk {}
describe "getAuthUrl", ->
it "should use passed app id, permissions and options", ->
url = vk.getAuthUrl "12345", [ "audio", "photos" ],
version: "5.10"
windowSt... | 16378 | describe "vk", ->
vk = null
cleanVk = require "inject!../src/vk"
beforeEach ->
delete window.VK
vk = cleanVk {}
describe "getAuthUrl", ->
it "should use passed app id, permissions and options", ->
url = vk.getAuthUrl "12345", [ "audio", "photos" ],
version: "5.10"
windowSt... | true | describe "vk", ->
vk = null
cleanVk = require "inject!../src/vk"
beforeEach ->
delete window.VK
vk = cleanVk {}
describe "getAuthUrl", ->
it "should use passed app id, permissions and options", ->
url = vk.getAuthUrl "12345", [ "audio", "photos" ],
version: "5.10"
windowSt... |
[
{
"context": "sOfQuantumNeutrinoFields\n professor: \"Professor Hubert Farnsworth\"\n books: [\":shrug:\"]\n\n drop: ->\n con",
"end": 337,
"score": 0.9998712539672852,
"start": 320,
"tag": "NAME",
"value": "Hubert Farnsworth"
},
{
"context": "ports.InlineClass = clas... | test/resources/exports/module-exports-alias.coffee | hulu/splitshot | 13 | ModuleName = module.exports
ModuleName.Foo = "Some string"
ModuleName.Bar = {
someObjectLiteral: true
}
ModuleName.function = "fnucotin" # tests reserved word exports
ModuleName.getStuff = (anArgument) ->
return ["stuff", "and more stuff"]
class TheMathematicsOfQuantumNeutrinoFields
professor: "Professor ... | 65691 | ModuleName = module.exports
ModuleName.Foo = "Some string"
ModuleName.Bar = {
someObjectLiteral: true
}
ModuleName.function = "fnucotin" # tests reserved word exports
ModuleName.getStuff = (anArgument) ->
return ["stuff", "and more stuff"]
class TheMathematicsOfQuantumNeutrinoFields
professor: "Professor ... | true | ModuleName = module.exports
ModuleName.Foo = "Some string"
ModuleName.Bar = {
someObjectLiteral: true
}
ModuleName.function = "fnucotin" # tests reserved word exports
ModuleName.getStuff = (anArgument) ->
return ["stuff", "and more stuff"]
class TheMathematicsOfQuantumNeutrinoFields
professor: "Professor ... |
[
{
"context": "-test', ->\n beforeEach (done) ->\n refKey = MongoKey.escape '$ref'\n record =\n uuid: 'pet-r",
"end": 688,
"score": 0.5765731334686279,
"start": 680,
"tag": "KEY",
"value": "MongoKey"
},
{
"context": "\n beforeEach (done) ->\n refKey = Mongo... | test/find-one-spec.coffee | octoblu/meshblu-core-manager-device | 0 | mongojs = require 'mongojs'
Datastore = require 'meshblu-core-datastore'
MongoKey = require '../src/mongo-key'
UUID = require 'uuid'
DeviceManager = require '..'
describe 'Find Device', ->
beforeEach (done) ->
database = mongojs 'device-manager-test', ['devices']
@datastore = new Data... | 127461 | mongojs = require 'mongojs'
Datastore = require 'meshblu-core-datastore'
MongoKey = require '../src/mongo-key'
UUID = require 'uuid'
DeviceManager = require '..'
describe 'Find Device', ->
beforeEach (done) ->
database = mongojs 'device-manager-test', ['devices']
@datastore = new Data... | true | mongojs = require 'mongojs'
Datastore = require 'meshblu-core-datastore'
MongoKey = require '../src/mongo-key'
UUID = require 'uuid'
DeviceManager = require '..'
describe 'Find Device', ->
beforeEach (done) ->
database = mongojs 'device-manager-test', ['devices']
@datastore = new Data... |
[
{
"context": " getClientsForMap = ->\n smallimap.addMapIcon('Sebastian Helzle IT-Consulting, Karlsruhe', 'Hey, this is where I ",
"end": 546,
"score": 0.9998542666435242,
"start": 530,
"tag": "NAME",
"value": "Sebastian Helzle"
}
] | public/template/vendor/dotted-map/coffee/demo.coffee | hafizhhadi/Fashionista | 2 |
(($) ->
debugMode = true
testIntervalId = -1
markerPath = 'images/marker.png'
siLogoPath = 'images/si.png'
myLogoPath = 'images/sh-it.png'
mapOptions =
dotRadius: 3
width: 920
height: 460
colors:
lights: ["#fdf6e3", "#fafafa", "#dddddd", "#cccccc", "#bbbbbb"]
darks: ["#777777", ... | 70834 |
(($) ->
debugMode = true
testIntervalId = -1
markerPath = 'images/marker.png'
siLogoPath = 'images/si.png'
myLogoPath = 'images/sh-it.png'
mapOptions =
dotRadius: 3
width: 920
height: 460
colors:
lights: ["#fdf6e3", "#fafafa", "#dddddd", "#cccccc", "#bbbbbb"]
darks: ["#777777", ... | true |
(($) ->
debugMode = true
testIntervalId = -1
markerPath = 'images/marker.png'
siLogoPath = 'images/si.png'
myLogoPath = 'images/sh-it.png'
mapOptions =
dotRadius: 3
width: 920
height: 460
colors:
lights: ["#fdf6e3", "#fafafa", "#dddddd", "#cccccc", "#bbbbbb"]
darks: ["#777777", ... |
[
{
"context": "inue to experience issues, please <a href=\"mailto:support@altheahealth.com?subject=Support request for creating user payment",
"end": 4465,
"score": 0.9999274015426636,
"start": 4441,
"tag": "EMAIL",
"value": "support@altheahealth.com"
},
{
"context": "inue to experien... | app/assets/javascripts/campaigns.js.coffee | sateeshkumardamera/AltheaHealth | 0 | Crowdhoster.campaigns =
init: ->
_this = this
this.timeCheck('#days')
$(document).ready ->
$('.payment_radio').click (event) ->
$('.payment_text#amount_other').attr('disabled', true);
$('.payment_text#amount_other').val("");
$(document).ready ->
$('.payment_radio').cli... | 174488 | Crowdhoster.campaigns =
init: ->
_this = this
this.timeCheck('#days')
$(document).ready ->
$('.payment_radio').click (event) ->
$('.payment_text#amount_other').attr('disabled', true);
$('.payment_text#amount_other').val("");
$(document).ready ->
$('.payment_radio').cli... | true | Crowdhoster.campaigns =
init: ->
_this = this
this.timeCheck('#days')
$(document).ready ->
$('.payment_radio').click (event) ->
$('.payment_text#amount_other').attr('disabled', true);
$('.payment_text#amount_other').val("");
$(document).ready ->
$('.payment_radio').cli... |
[
{
"context": "_user=process.env.HUBOT_JENKINS_USER\njenkins_pass=process.env.HUBOT_JENKINS_PASSWORD\njenkins_api=process.env.HU",
"end": 1572,
"score": 0.7655249238014221,
"start": 1561,
"tag": "PASSWORD",
"value": "process.env"
},
{
"context": "s.env.HUBOT_JENKINS_USER\njenkins_pass... | scripts/jenkins/scripts-mattermost/addParams.coffee | akash1233/OnBot_Demo | 4 | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# 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
# ... | 3954 | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# 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
# ... | true | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# 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
# ... |
[
{
"context": "pplication/json\"}, JSON.stringify [{id: 1, text: 'Aaron'}]\n ]\n\nfillInDropdown = (object) ->\n keyEvent",
"end": 254,
"score": 0.9994394779205322,
"start": 249,
"tag": "NAME",
"value": "Aaron"
},
{
"context": " 'keydown')\n fillIn('.select2-container input', 'Aa... | test/javascripts/components/select2_test.js.coffee | johan--/tahi | 1 | moduleForComponent 'select2', 'Unit: components/select2',
teardown: -> ETahi.reset()
setup: ->
setupApp()
server.respondWith 'GET', /filtered_objects.*/, [
200, {"Content-Type": "application/json"}, JSON.stringify [{id: 1, text: 'Aaron'}]
]
fillInDropdown = (object) ->
keyEvent('.select2-conta... | 206374 | moduleForComponent 'select2', 'Unit: components/select2',
teardown: -> ETahi.reset()
setup: ->
setupApp()
server.respondWith 'GET', /filtered_objects.*/, [
200, {"Content-Type": "application/json"}, JSON.stringify [{id: 1, text: '<NAME>'}]
]
fillInDropdown = (object) ->
keyEvent('.select2-cont... | true | moduleForComponent 'select2', 'Unit: components/select2',
teardown: -> ETahi.reset()
setup: ->
setupApp()
server.respondWith 'GET', /filtered_objects.*/, [
200, {"Content-Type": "application/json"}, JSON.stringify [{id: 1, text: 'PI:NAME:<NAME>END_PI'}]
]
fillInDropdown = (object) ->
keyEvent(... |
[
{
"context": ".variations]\n picks = []\n\n testSayKey = 9999 + repetition * variations + count\n\n # get su",
"end": 579,
"score": 0.9865741729736328,
"start": 575,
"tag": "KEY",
"value": "9999"
}
] | tests/data/say-randomization/litexa/main.coffee | Symbitic/litexa | 34 | ###
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###
testSay = (context) ->
# test the ... | 75550 | ###
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###
testSay = (context) ->
# test the ... | true | ###
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###
testSay = (context) ->
# test the ... |
[
{
"context": "# jquery.herounit\n# https://github.com/zamiang/jquery.herounit\n#\n# Copyright (c) 2013 Brennan Mo",
"end": 46,
"score": 0.9993904232978821,
"start": 39,
"tag": "USERNAME",
"value": "zamiang"
},
{
"context": "com/zamiang/jquery.herounit\n#\n# Copyright (c) 2013 Brennan... | src/jquery.herounit.coffee | zamiang/jquery.herounit | 1 | # jquery.herounit
# https://github.com/zamiang/jquery.herounit
#
# Copyright (c) 2013 Brennan Moore, Artsy
# Licensed under the MIT license.
(($, window, document) ->
pluginName = "heroUnit"
class HeroUnit
requires: ['height', '$img']
optional: ['afterImageLoadcont']
constructor: ($el, settings) ->... | 47647 | # jquery.herounit
# https://github.com/zamiang/jquery.herounit
#
# Copyright (c) 2013 <NAME>, Ar<NAME>y
# Licensed under the MIT license.
(($, window, document) ->
pluginName = "heroUnit"
class HeroUnit
requires: ['height', '$img']
optional: ['afterImageLoadcont']
constructor: ($el, settings) ->
... | true | # jquery.herounit
# https://github.com/zamiang/jquery.herounit
#
# Copyright (c) 2013 PI:NAME:<NAME>END_PI, ArPI:NAME:<NAME>END_PIy
# Licensed under the MIT license.
(($, window, document) ->
pluginName = "heroUnit"
class HeroUnit
requires: ['height', '$img']
optional: ['afterImageLoadcont']
constr... |
[
{
"context": ": new ExpressRedisStore redis_config\n secret: 'rock zappa rock'\n resave: true\n saveUninitialized: true\n\n ",
"end": 205,
"score": 0.9466297626495361,
"start": 190,
"tag": "KEY",
"value": "rock zappa rock"
}
] | examples/redis_setup.coffee | zappajs/zappajs | 50 | @include = ->
redis_config = require './redis_config'
ExpressRedisStore = (require 'connect-redis') @session
@use session:
store: new ExpressRedisStore redis_config
secret: 'rock zappa rock'
resave: true
saveUninitialized: true
###
# Optional: use this to allow broadcast across multiple Soc... | 217142 | @include = ->
redis_config = require './redis_config'
ExpressRedisStore = (require 'connect-redis') @session
@use session:
store: new ExpressRedisStore redis_config
secret: '<KEY>'
resave: true
saveUninitialized: true
###
# Optional: use this to allow broadcast across multiple Socket.IO ins... | true | @include = ->
redis_config = require './redis_config'
ExpressRedisStore = (require 'connect-redis') @session
@use session:
store: new ExpressRedisStore redis_config
secret: 'PI:KEY:<KEY>END_PI'
resave: true
saveUninitialized: true
###
# Optional: use this to allow broadcast across multiple ... |
[
{
"context": "erview A class of the code path segment.\n# @author Toru Nagashima\n###\n\n'use strict'\n\n#-----------------------------",
"end": 79,
"score": 0.9998570084571838,
"start": 65,
"tag": "NAME",
"value": "Toru Nagashima"
}
] | src/code-path-analysis/code-path-segment.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview A class of the code path segment.
# @author Toru Nagashima
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
debug = require '../eslint-code-path-analysis... | 57720 | ###*
# @fileoverview A class of the code path segment.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
debug = require '../eslint-code-path-analysis-debug-h... | true | ###*
# @fileoverview A class of the code path segment.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
debug = require '../eslint-code-path-an... |
[
{
"context": "# Leisure (C) 2016 Bill Burdick and TEAM CTHULHU\n\n# Many thanks to webBoxio for w",
"end": 31,
"score": 0.9998183846473694,
"start": 19,
"tag": "NAME",
"value": "Bill Burdick"
},
{
"context": "ill Burdick and TEAM CTHULHU\n\n# Many thanks to webBoxio for writing atom-... | atom-support/leisure/lib/leisure-view.coffee | zot/Leisure | 58 | # Leisure (C) 2016 Bill Burdick and TEAM CTHULHU
# Many thanks to webBoxio for writing atom-html-preview: https://github.com/webBoxio/atom-html-preview
{CompositeDisposable, Disposable} = require 'atom'
{$, $$$, ScrollView} = require 'atom-space-pen-views'
module.exports =
class LeisureView extends ScrollView
ato... | 37240 | # Leisure (C) 2016 <NAME> and TEAM CTHULHU
# Many thanks to webBoxio for writing atom-html-preview: https://github.com/webBoxio/atom-html-preview
{CompositeDisposable, Disposable} = require 'atom'
{$, $$$, ScrollView} = require 'atom-space-pen-views'
module.exports =
class LeisureView extends ScrollView
atom.dese... | true | # Leisure (C) 2016 PI:NAME:<NAME>END_PI and TEAM CTHULHU
# Many thanks to webBoxio for writing atom-html-preview: https://github.com/webBoxio/atom-html-preview
{CompositeDisposable, Disposable} = require 'atom'
{$, $$$, ScrollView} = require 'atom-space-pen-views'
module.exports =
class LeisureView extends ScrollVi... |
[
{
"context": " consentCode: 'PAYPAL_CONSENT_CODE'\n token: \"PAYPAL_ACCOUNT_#{randomId()}\"\n generateNonceForNewPaymentMethod nonceParams,",
"end": 5674,
"score": 0.8749251961708069,
"start": 5647,
"tag": "KEY",
"value": "PAYPAL_ACCOUNT_#{randomId()"
}
] | spec/spec_helper.coffee | StreamCo/braintree_node | 0 | try
require('source-map-support').install()
catch err
http = require('http')
{TransactionAmounts} = require('../lib/braintree/test/transaction_amounts')
{Util} = require('../lib/braintree/util')
{Config} = require('../lib/braintree/config')
querystring = require('../vendor/querystring.node.js.511d6a2/querystring')
c... | 222209 | try
require('source-map-support').install()
catch err
http = require('http')
{TransactionAmounts} = require('../lib/braintree/test/transaction_amounts')
{Util} = require('../lib/braintree/util')
{Config} = require('../lib/braintree/config')
querystring = require('../vendor/querystring.node.js.511d6a2/querystring')
c... | true | try
require('source-map-support').install()
catch err
http = require('http')
{TransactionAmounts} = require('../lib/braintree/test/transaction_amounts')
{Util} = require('../lib/braintree/util')
{Config} = require('../lib/braintree/config')
querystring = require('../vendor/querystring.node.js.511d6a2/querystring')
c... |
[
{
"context": "id-123\"\n\t\t@project_history_id = 987\n\t\t@user_id = \"user-id-456\"\n\t\t@brand_variation_id = 789\n\t\t@title = \"title\"\n\t",
"end": 864,
"score": 0.8260274529457092,
"start": 853,
"tag": "USERNAME",
"value": "user-id-456"
},
{
"context": "itle\"\n\t\t@descriptio... | test/unit/coffee/Exports/ExportsHandlerTests.coffee | shyoshyo/web-sharelatex | 1 | sinon = require('sinon')
chai = require('chai')
should = chai.should()
expect = chai.expect
modulePath = '../../../../app/js/Features/Exports/ExportsHandler.js'
SandboxedModule = require('sandboxed-module')
describe 'ExportsHandler', ->
beforeEach ->
@stubRequest = {}
@request = defaults: => return @stubRequest
... | 191273 | sinon = require('sinon')
chai = require('chai')
should = chai.should()
expect = chai.expect
modulePath = '../../../../app/js/Features/Exports/ExportsHandler.js'
SandboxedModule = require('sandboxed-module')
describe 'ExportsHandler', ->
beforeEach ->
@stubRequest = {}
@request = defaults: => return @stubRequest
... | true | sinon = require('sinon')
chai = require('chai')
should = chai.should()
expect = chai.expect
modulePath = '../../../../app/js/Features/Exports/ExportsHandler.js'
SandboxedModule = require('sandboxed-module')
describe 'ExportsHandler', ->
beforeEach ->
@stubRequest = {}
@request = defaults: => return @stubRequest
... |
[
{
"context": "\ttriggerChangeFields.forEach (key)->\n\t\t\t\tif key == '_my_approve_read_dates'\n\t\t\t\t\ttriggerChangeFieldsValues[key] = getMyappro",
"end": 1823,
"score": 0.738890528678894,
"start": 1800,
"tag": "KEY",
"value": "'_my_approve_read_dates"
},
{
"context": ".findOne(... | creator/packages/steedos-workflow/server/publications/instance_data.coffee | baozhoutao/steedos-platform | 10 | Meteor.publish 'instance_data', (instanceId, box)->
unless this.userId
return this.ready()
unless (instanceId && db.instances.find({_id: instanceId}).count())
return this.ready()
self = this;
miniApproveFields = ['_id', 'is_finished', 'user', 'handler', 'handler_name', 'type', 'start_date', 'description',
... | 41035 | Meteor.publish 'instance_data', (instanceId, box)->
unless this.userId
return this.ready()
unless (instanceId && db.instances.find({_id: instanceId}).count())
return this.ready()
self = this;
miniApproveFields = ['_id', 'is_finished', 'user', 'handler', 'handler_name', 'type', 'start_date', 'description',
... | true | Meteor.publish 'instance_data', (instanceId, box)->
unless this.userId
return this.ready()
unless (instanceId && db.instances.find({_id: instanceId}).count())
return this.ready()
self = this;
miniApproveFields = ['_id', 'is_finished', 'user', 'handler', 'handler_name', 'type', 'start_date', 'description',
... |
[
{
"context": "hbluServer\n\n beforeEach (done) ->\n @redisKey = UUID.v1()\n meshbluConfig =\n server: 'localhost'\n ",
"end": 420,
"score": 0.9939724802970886,
"start": 411,
"tag": "KEY",
"value": "UUID.v1()"
},
{
"context": "tp://localhost:20000'\n auth: {user... | test/integration/create-schedule-spec.coffee | octoblu/governator-service | 0 | UUID = require 'uuid'
shmock = require 'shmock'
request = require 'request'
RedisNs = require '@octoblu/redis-ns'
redis = require 'ioredis'
enableDestroy = require 'server-destroy'
Server = require '../../server'
describe 'Create Schedule', ->
beforeEach ->
@meshbluServ... | 224726 | UUID = require 'uuid'
shmock = require 'shmock'
request = require 'request'
RedisNs = require '@octoblu/redis-ns'
redis = require 'ioredis'
enableDestroy = require 'server-destroy'
Server = require '../../server'
describe 'Create Schedule', ->
beforeEach ->
@meshbluServ... | true | UUID = require 'uuid'
shmock = require 'shmock'
request = require 'request'
RedisNs = require '@octoblu/redis-ns'
redis = require 'ioredis'
enableDestroy = require 'server-destroy'
Server = require '../../server'
describe 'Create Schedule', ->
beforeEach ->
@meshbluServ... |
[
{
"context": ")\"\n params =\n email: email\n password: password\n @post \"session\", params, (data) -> fn data if",
"end": 631,
"score": 0.9983367919921875,
"start": 623,
"tag": "PASSWORD",
"value": "password"
}
] | src/Models/Users.coffee | baidao/node-gitlab | 0 | BaseModel = require '../BaseModel'
class Users extends BaseModel
all: (fn = null) =>
@debug "Users::all()"
@get "users", (data) => fn data if fn
current: (fn = null) =>
@debug "Users::current()"
@get "user", (data) -> fn data if fn
show: (userId, fn = null) =>
@debug "Users::show()"
@ge... | 107806 | BaseModel = require '../BaseModel'
class Users extends BaseModel
all: (fn = null) =>
@debug "Users::all()"
@get "users", (data) => fn data if fn
current: (fn = null) =>
@debug "Users::current()"
@get "user", (data) -> fn data if fn
show: (userId, fn = null) =>
@debug "Users::show()"
@ge... | true | BaseModel = require '../BaseModel'
class Users extends BaseModel
all: (fn = null) =>
@debug "Users::all()"
@get "users", (data) => fn data if fn
current: (fn = null) =>
@debug "Users::current()"
@get "user", (data) -> fn data if fn
show: (userId, fn = null) =>
@debug "Users::show()"
@ge... |
[
{
"context": "ppid=dc1ff3c5007c4abd9a824b0dd5948515&accesskeyid=e137fdc716b94abd80306f596ad67604_5870727701_1387234472742_ChooChee&ratetableid=a171ef84826a467593f8be",
"end": 1480,
"score": 0.9983999133110046,
"start": 1429,
"tag": "KEY",
"value": "e137fdc716b94abd80306f596ad67604_5870727701... | pages/account/index/account_index.coffee | signonsridhar/sridhar_hbs | 0 | define([
'bases/page'
'modules/left_nav/left_nav',
'modules/tab/tab_header',
'models/account/account',
'models/credit_card/credit_card',
'models/tenant/tenant',
'models/auth/auth',
'modules/notification/notification',
'_',
'css! pages/account/index/account_index'
], (BasePage,Lef... | 97687 | define([
'bases/page'
'modules/left_nav/left_nav',
'modules/tab/tab_header',
'models/account/account',
'models/credit_card/credit_card',
'models/tenant/tenant',
'models/auth/auth',
'modules/notification/notification',
'_',
'css! pages/account/index/account_index'
], (BasePage,Lef... | true | define([
'bases/page'
'modules/left_nav/left_nav',
'modules/tab/tab_header',
'models/account/account',
'models/credit_card/credit_card',
'models/tenant/tenant',
'models/auth/auth',
'modules/notification/notification',
'_',
'css! pages/account/index/account_index'
], (BasePage,Lef... |
[
{
"context": "\n # pace.start()\n\n swal.setDefaults\n title: \"Framesia\"\n text: \"Framesia\"\n html: true\n showCa",
"end": 232,
"score": 0.9061342477798462,
"start": 226,
"tag": "NAME",
"value": "Frames"
},
{
"context": "swal.setDefaults\n title: \"Framesia\"\n ... | asset/frms/js/main.coffee | damaera/framesia-code | 1 | ( documentReady = () ->
swal = require 'sweetalert'
request = require 'superagent'
{ $, $$ } = require './helper/selector.coffee'
# pace = require './vendor/pace.js'
# pace.start()
swal.setDefaults
title: "Framesia"
text: "Framesia"
html: true
showCancelButton: false
showConfirmButto... | 214472 | ( documentReady = () ->
swal = require 'sweetalert'
request = require 'superagent'
{ $, $$ } = require './helper/selector.coffee'
# pace = require './vendor/pace.js'
# pace.start()
swal.setDefaults
title: "<NAME>ia"
text: "<NAME>ia"
html: true
showCancelButton: false
showConfirmButto... | true | ( documentReady = () ->
swal = require 'sweetalert'
request = require 'superagent'
{ $, $$ } = require './helper/selector.coffee'
# pace = require './vendor/pace.js'
# pace.start()
swal.setDefaults
title: "PI:NAME:<NAME>END_PIia"
text: "PI:NAME:<NAME>END_PIia"
html: true
showCancelButton... |
[
{
"context": "(and sometimes even the number 1).\n\tTOKEN_ALPHA: 'bcdfghjkmnpqrstvwxyz'\n\tTOKEN_NUMERICS: '123456789'\n\n\t_randomString: (l",
"end": 737,
"score": 0.9874871373176575,
"start": 717,
"tag": "KEY",
"value": "bcdfghjkmnpqrstvwxyz"
},
{
"context": "N_ALPHA: 'bcdfghjkmnpq... | app/coffee/Features/Project/ProjectTokenGenerator.coffee | shyoshyo/web-sharelatex | 1 | crypto = require 'crypto'
V1Api = require('../V1/V1Api')
Async = require('async')
logger = require('logger-sharelatex')
# This module mirrors the token generation in Overleaf (`random_token.rb`),
# for the purposes of implementing token-based project access, like the
# 'unlisted-projects' feature in Overleaf
module.... | 78301 | crypto = require 'crypto'
V1Api = require('../V1/V1Api')
Async = require('async')
logger = require('logger-sharelatex')
# This module mirrors the token generation in Overleaf (`random_token.rb`),
# for the purposes of implementing token-based project access, like the
# 'unlisted-projects' feature in Overleaf
module.... | true | crypto = require 'crypto'
V1Api = require('../V1/V1Api')
Async = require('async')
logger = require('logger-sharelatex')
# This module mirrors the token generation in Overleaf (`random_token.rb`),
# for the purposes of implementing token-based project access, like the
# 'unlisted-projects' feature in Overleaf
module.... |
[
{
"context": " AttributeName: keys[0]\n KeyType: type.toUpperCase()\n })\n awsParams.GlobalSecondaryI",
"end": 4141,
"score": 0.8062832355499268,
"start": 4130,
"tag": "KEY",
"value": "toUpperCase"
}
] | src/dynasty.coffee | brianknight10/dynasty | 0 | # Main Dynasty Class
aws = require('aws-sdk')
_ = require('lodash')
Promise = require('bluebird')
debug = require('debug')('dynasty')
https = require('https')
# See http://vq.io/19EiASB
typeToAwsType =
string: 'S'
string_set: 'SS'
number: 'N'
number_set: 'NS'
binary: 'B'
binary_set: 'BS'
lib = require('.... | 3686 | # Main Dynasty Class
aws = require('aws-sdk')
_ = require('lodash')
Promise = require('bluebird')
debug = require('debug')('dynasty')
https = require('https')
# See http://vq.io/19EiASB
typeToAwsType =
string: 'S'
string_set: 'SS'
number: 'N'
number_set: 'NS'
binary: 'B'
binary_set: 'BS'
lib = require('.... | true | # Main Dynasty Class
aws = require('aws-sdk')
_ = require('lodash')
Promise = require('bluebird')
debug = require('debug')('dynasty')
https = require('https')
# See http://vq.io/19EiASB
typeToAwsType =
string: 'S'
string_set: 'SS'
number: 'N'
number_set: 'NS'
binary: 'B'
binary_set: 'BS'
lib = require('.... |
[
{
"context": "# @author Tim Knip / http://www.floorplanner.com/ / tim at floorplan",
"end": 18,
"score": 0.999885082244873,
"start": 10,
"tag": "NAME",
"value": "Tim Knip"
},
{
"context": "orplanner.com/ / tim at floorplanner.com\n# @author aladjev.andrew@gmail.com\n\n#= require new_... | source/javascripts/new_src/loaders/collada/sampler.coffee | andrew-aladev/three.js | 0 | # @author Tim Knip / http://www.floorplanner.com/ / tim at floorplanner.com
# @author aladjev.andrew@gmail.com
#= require new_src/loaders/collada/input
class Sampler
constructor: (animation) ->
@id = ""
@animation = animation
@inputs = []
@input = null
@output ... | 202295 | # @author <NAME> / http://www.floorplanner.com/ / tim at floorplanner.com
# @author <EMAIL>
#= require new_src/loaders/collada/input
class Sampler
constructor: (animation) ->
@id = ""
@animation = animation
@inputs = []
@input = null
@output = null
@... | true | # @author PI:NAME:<NAME>END_PI / http://www.floorplanner.com/ / tim at floorplanner.com
# @author PI:EMAIL:<EMAIL>END_PI
#= require new_src/loaders/collada/input
class Sampler
constructor: (animation) ->
@id = ""
@animation = animation
@inputs = []
@input = null
... |
[
{
"context": "\n\nconf = new Config(\n {\n key1: {\n key2: \"value\"\n key3: null\n }\n }\n)\n\ndescribe \"Config\",",
"end": 88,
"score": 0.7093852162361145,
"start": 83,
"tag": "KEY",
"value": "value"
}
] | tests/config_test.coffee | bahiamartins/stacktic | 1 | Config = require("../lib/config")
conf = new Config(
{
key1: {
key2: "value"
key3: null
}
}
)
describe "Config", ->
describe "#get", ->
it "should return the right value", ->
conf.get("key1.key2").should.equal "value"
it "should return null if key is missing and default is not... | 164257 | Config = require("../lib/config")
conf = new Config(
{
key1: {
key2: "<KEY>"
key3: null
}
}
)
describe "Config", ->
describe "#get", ->
it "should return the right value", ->
conf.get("key1.key2").should.equal "value"
it "should return null if key is missing and default is not... | true | Config = require("../lib/config")
conf = new Config(
{
key1: {
key2: "PI:KEY:<KEY>END_PI"
key3: null
}
}
)
describe "Config", ->
describe "#get", ->
it "should return the right value", ->
conf.get("key1.key2").should.equal "value"
it "should return null if key is missing and d... |
[
{
"context": "vision\"\nlocation: \"Newcastle\"\nphase: \"beta\"\nsro: \"Graeme Wallace\"\nservice_man: \"Naomi Bell\"\nphase_history:\n disco",
"end": 296,
"score": 0.9998790621757507,
"start": 282,
"tag": "NAME",
"value": "Graeme Wallace"
},
{
"context": "phase: \"beta\"\nsro: \"G... | app/data/projects/get-state-pension.cson | tsmorgan/dwp-ux-work | 0 | id: 0
name: "Get your State Pension"
description: "Lets users get their State Pension and maintain accurate payments as part of a seamless end to end journey for users accessing retirement provision services."
theme: "Retirement Provision"
location: "Newcastle"
phase: "beta"
sro: "Graeme Wallace"
service_man: "Naomi Be... | 114816 | id: 0
name: "Get your State Pension"
description: "Lets users get their State Pension and maintain accurate payments as part of a seamless end to end journey for users accessing retirement provision services."
theme: "Retirement Provision"
location: "Newcastle"
phase: "beta"
sro: "<NAME>"
service_man: "<NAME>"
phase_hi... | true | id: 0
name: "Get your State Pension"
description: "Lets users get their State Pension and maintain accurate payments as part of a seamless end to end journey for users accessing retirement provision services."
theme: "Retirement Provision"
location: "Newcastle"
phase: "beta"
sro: "PI:NAME:<NAME>END_PI"
service_man: "PI... |
[
{
"context": "Handle opening and closing modal windows.\n\n@author Destin Moulton\n@git https://github.com/destinmoulton/wolfcage\n@l",
"end": 70,
"score": 0.9998849034309387,
"start": 56,
"tag": "NAME",
"value": "Destin Moulton"
},
{
"context": ".\n\n@author Destin Moulton\n@git htt... | src/modals/Modal.coffee | destinmoulton/cagen | 0 | ###
Handle opening and closing modal windows.
@author Destin Moulton
@git https://github.com/destinmoulton/wolfcage
@license MIT
Component of the Wolfram Cellular Automata Generator (WolfCage)
###
DOM = require("../DOM.coffee")
class Modal
constructor:()->
@elVeil = DOM.elemById("MODAL", "VEIL")
... | 84186 | ###
Handle opening and closing modal windows.
@author <NAME>
@git https://github.com/destinmoulton/wolfcage
@license MIT
Component of the Wolfram Cellular Automata Generator (WolfCage)
###
DOM = require("../DOM.coffee")
class Modal
constructor:()->
@elVeil = DOM.elemById("MODAL", "VEIL")
@elM... | true | ###
Handle opening and closing modal windows.
@author PI:NAME:<NAME>END_PI
@git https://github.com/destinmoulton/wolfcage
@license MIT
Component of the Wolfram Cellular Automata Generator (WolfCage)
###
DOM = require("../DOM.coffee")
class Modal
constructor:()->
@elVeil = DOM.elemById("MODAL", "VEIL")... |
[
{
"context": "Disallows nesting string interpolations.\n# @author Julian Rosse\n###\n'use strict'\n\n#------------------------------",
"end": 84,
"score": 0.9998594522476196,
"start": 72,
"tag": "NAME",
"value": "Julian Rosse"
}
] | src/tests/rules/no-nested-interpolation.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Disallows nesting string interpolations.
# @author Julian Rosse
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-nested-int... | 139455 | ###*
# @fileoverview Disallows nesting string interpolations.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-nested-interpola... | true | ###*
# @fileoverview Disallows nesting string interpolations.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-ne... |
[
{
"context": ">\n device.type = 'ios'\n device.token = 'ba60aa0fa63e3ad5d3b0a35e389d391f48f945f1be8a8731da2b48979c80dcfa'\n\n android = sinon.spy(device, 'sendAndroid'",
"end": 1743,
"score": 0.9424774050712585,
"start": 1679,
"tag": "KEY",
"value": "ba60aa0fa63e3ad5d3b0a35e38... | test/unit/device.coffee | ethanmick/fastchat-server | 7 | 'use strict'
#
# FastChat
# 2015
#
should = require('chai').should()
Device = require '../../lib/model/device'
User = require '../../lib/model/user'
sinon = require 'sinon'
mongoose = require 'mongoose'
Q = require 'q'
describe 'Device', ->
before (done)->
mongoose.connect 'mongodb://localhost/test'
db = m... | 187706 | 'use strict'
#
# FastChat
# 2015
#
should = require('chai').should()
Device = require '../../lib/model/device'
User = require '../../lib/model/user'
sinon = require 'sinon'
mongoose = require 'mongoose'
Q = require 'q'
describe 'Device', ->
before (done)->
mongoose.connect 'mongodb://localhost/test'
db = m... | true | 'use strict'
#
# FastChat
# 2015
#
should = require('chai').should()
Device = require '../../lib/model/device'
User = require '../../lib/model/user'
sinon = require 'sinon'
mongoose = require 'mongoose'
Q = require 'q'
describe 'Device', ->
before (done)->
mongoose.connect 'mongodb://localhost/test'
db = m... |
[
{
"context": "authenticateFieldDBAuthService\n username: username\n password: password\n authUrl: @",
"end": 3307,
"score": 0.9988651275634766,
"start": 3299,
"tag": "USERNAME",
"value": "username"
},
{
"context": "e\n username: username\n ... | app/scripts/models/application-settings.coffee | OpenSourceFieldlinguistics/dative | 7 | define [
'./base'
'./server'
'./parser-task-set'
'./keyboard-preference-set'
'./morphology'
'./language-model'
'./../collections/servers'
'./../utils/utils'
'./../utils/globals'
# 'FieldDB'
], (BaseModel, ServerModel, ParserTaskSetModel, KeyboardPreferenceSetModel,
MorphologyModel, LanguageModelMo... | 91606 | define [
'./base'
'./server'
'./parser-task-set'
'./keyboard-preference-set'
'./morphology'
'./language-model'
'./../collections/servers'
'./../utils/utils'
'./../utils/globals'
# 'FieldDB'
], (BaseModel, ServerModel, ParserTaskSetModel, KeyboardPreferenceSetModel,
MorphologyModel, LanguageModelMo... | true | define [
'./base'
'./server'
'./parser-task-set'
'./keyboard-preference-set'
'./morphology'
'./language-model'
'./../collections/servers'
'./../utils/utils'
'./../utils/globals'
# 'FieldDB'
], (BaseModel, ServerModel, ParserTaskSetModel, KeyboardPreferenceSetModel,
MorphologyModel, LanguageModelMo... |
[
{
"context": "bject', ->\n t = TypeInfo(min: undefined, name:'Test')\n should.exist t\n t.should.be.equal TypeIn",
"end": 836,
"score": 0.530400812625885,
"start": 832,
"tag": "NAME",
"value": "Test"
},
{
"context": "eInfo('Test')\n t.should.have.property 'name', 'Test'\n... | test/index-test.coffee | snowyu/abstract-type.js | 0 | extend = require 'util-ex/lib/extend'
chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
should = chai.should()
expect = chai.expect
assert = chai.assert
chai.use(sinonChai)
TypeInfo = require '../src'
Value = r... | 104687 | extend = require 'util-ex/lib/extend'
chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
should = chai.should()
expect = chai.expect
assert = chai.assert
chai.use(sinonChai)
TypeInfo = require '../src'
Value = r... | true | extend = require 'util-ex/lib/extend'
chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
should = chai.should()
expect = chai.expect
assert = chai.assert
chai.use(sinonChai)
TypeInfo = require '../src'
Value = r... |
[
{
"context": "ream. Use at your own risk!\n@version 0.0.2\n@author Se7enSky studio <info@se7ensky.com>\n###\n\n###! jquery",
"end": 129,
"score": 0.5366671085357666,
"start": 127,
"tag": "USERNAME",
"value": "Se"
},
{
"context": "own risk!\n@version 0.0.2\n@author Se7enSky studio <in... | jquery-bulb.coffee | SE7ENSKY/jquery-bulb | 2 | ###
@name jquery-bulb
@description Slice/split DOM. Decouple element from stream. Use at your own risk!
@version 0.0.2
@author Se7enSky studio <info@se7ensky.com>
###
###! jquery-bulb 0.0.2 http://github.com/Se7enSky/jquery-bulb###
plugin = ($) ->
"use strict"
bulb = ($el) ->
$parent = $el.parent()
$parentClo... | 209432 | ###
@name jquery-bulb
@description Slice/split DOM. Decouple element from stream. Use at your own risk!
@version 0.0.2
@author Se7enSky studio <<EMAIL>>
###
###! jquery-bulb 0.0.2 http://github.com/Se7enSky/jquery-bulb###
plugin = ($) ->
"use strict"
bulb = ($el) ->
$parent = $el.parent()
$parentClone = $pare... | true | ###
@name jquery-bulb
@description Slice/split DOM. Decouple element from stream. Use at your own risk!
@version 0.0.2
@author Se7enSky studio <PI:EMAIL:<EMAIL>END_PI>
###
###! jquery-bulb 0.0.2 http://github.com/Se7enSky/jquery-bulb###
plugin = ($) ->
"use strict"
bulb = ($el) ->
$parent = $el.parent()
$pare... |
[
{
"context": "gramming for microcontrollers\n# Copyright (c) 2018 Jon Nordby <jononor@gmail.com>\n# MicroFlo may be freely dist",
"end": 90,
"score": 0.9998380541801453,
"start": 80,
"tag": "NAME",
"value": "Jon Nordby"
},
{
"context": "microcontrollers\n# Copyright (c) 2018 Jon Nord... | test/devicecommunication.coffee | microflo/microflo | 136 | ### MicroFlo - Flow-Based Programming for microcontrollers
# Copyright (c) 2018 Jon Nordby <jononor@gmail.com>
# MicroFlo may be freely distributed under the MIT license
###
chai = require('chai')
devicecommunication = require('../lib/devicecommunication')
{ DeviceTransport, DeviceCommunication } = devicecommunicatio... | 119787 | ### MicroFlo - Flow-Based Programming for microcontrollers
# Copyright (c) 2018 <NAME> <<EMAIL>>
# MicroFlo may be freely distributed under the MIT license
###
chai = require('chai')
devicecommunication = require('../lib/devicecommunication')
{ DeviceTransport, DeviceCommunication } = devicecommunication
commandstrea... | true | ### MicroFlo - Flow-Based Programming for microcontrollers
# Copyright (c) 2018 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# MicroFlo may be freely distributed under the MIT license
###
chai = require('chai')
devicecommunication = require('../lib/devicecommunication')
{ DeviceTransport, DeviceCommunication } = dev... |
[
{
"context": "# Try POH\n# author: Leonardone @ NEETSDKASU\n# ==================================",
"end": 30,
"score": 0.9995328783988953,
"start": 20,
"tag": "NAME",
"value": "Leonardone"
},
{
"context": "# Try POH\n# author: Leonardone @ NEETSDKASU\n# ==============================... | POH8/Seifuku/Main.coffee | neetsdkasu/Paiza-POH-MyAnswers | 3 | # Try POH
# author: Leonardone @ NEETSDKASU
# ===================================================
solve = (mr) ->
c = mr.gss().map (x) -> switch x
when 'J' then 11
when 'Q' then 12
when 'K' then 13
when 'A' then 14
when '2' then 15
else parseInt x
r = (0 for... | 69839 | # Try POH
# author: <NAME> @ NEETSDKASU
# ===================================================
solve = (mr) ->
c = mr.gss().map (x) -> switch x
when 'J' then 11
when 'Q' then 12
when 'K' then 13
when 'A' then 14
when '2' then 15
else parseInt x
r = (0 for _ i... | true | # Try POH
# author: PI:NAME:<NAME>END_PI @ NEETSDKASU
# ===================================================
solve = (mr) ->
c = mr.gss().map (x) -> switch x
when 'J' then 11
when 'Q' then 12
when 'K' then 13
when 'A' then 14
when '2' then 15
else parseInt x
... |
[
{
"context": "0}).toDate()\n\n usersData = [\n {name: 'Matteo', created: now},\n {name: 'Antonio', create",
"end": 645,
"score": 0.9997730851173401,
"start": 639,
"tag": "NAME",
"value": "Matteo"
},
{
"context": " {name: 'Matteo', created: now},\n {name: 'A... | test/operators.test.coffee | mrbatista/loopback-connector-arangodb | 15 | moment = require('moment')
should = require('./init');
describe 'operators', () ->
db = null
User = null
before (done) ->
db = getDataSource()
User = db.define 'User', {
name: String,
email: String,
age: Number,
created: Date,
}
User.destroyAll(done)
describe 'betw... | 189841 | moment = require('moment')
should = require('./init');
describe 'operators', () ->
db = null
User = null
before (done) ->
db = getDataSource()
User = db.define 'User', {
name: String,
email: String,
age: Number,
created: Date,
}
User.destroyAll(done)
describe 'betw... | true | moment = require('moment')
should = require('./init');
describe 'operators', () ->
db = null
User = null
before (done) ->
db = getDataSource()
User = db.define 'User', {
name: String,
email: String,
age: Number,
created: Date,
}
User.destroyAll(done)
describe 'betw... |
[
{
"context": "u to use cool motion blur svg effect\n#\n# @author Olivier Bossel <olivier.bossel@gmail.com>\n# @created 20.01.16\n#",
"end": 124,
"score": 0.9998793005943298,
"start": 110,
"tag": "NAME",
"value": "Olivier Bossel"
},
{
"context": "ion blur svg effect\n#\n# @author ... | node_modules/sugarcss/coffee/sugar-motion-blur.coffee | hagsey/nlpt2 | 0 | ###
# Sugar-motion-blur.js
#
# This little js file allow you to use cool motion blur svg effect
#
# @author Olivier Bossel <olivier.bossel@gmail.com>
# @created 20.01.16
# @updated 20.01.16
# @version 1.0.0
###
((factory) ->
if typeof define == 'function' and define.amd
# AMD. Register as an anonymous module.
... | 73188 | ###
# Sugar-motion-blur.js
#
# This little js file allow you to use cool motion blur svg effect
#
# @author <NAME> <<EMAIL>>
# @created 20.01.16
# @updated 20.01.16
# @version 1.0.0
###
((factory) ->
if typeof define == 'function' and define.amd
# AMD. Register as an anonymous module.
define [ ], factory
els... | true | ###
# Sugar-motion-blur.js
#
# This little js file allow you to use cool motion blur svg effect
#
# @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# @created 20.01.16
# @updated 20.01.16
# @version 1.0.0
###
((factory) ->
if typeof define == 'function' and define.amd
# AMD. Register as an anonymous modul... |
[
{
"context": "###!\nCopyright (c) 2002-2017 \"Neo Technology,\"\nNetwork Engine for Objects in Lund AB [http://n",
"end": 44,
"score": 0.6278381943702698,
"start": 34,
"tag": "NAME",
"value": "Technology"
}
] | src/components/D3Visualization/lib/visualization/utils/textMeasurement.coffee | yezonggang/zcfx-admin-master | 24 | ###!
Copyright (c) 2002-2017 "Neo Technology,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 ... | 191771 | ###!
Copyright (c) 2002-2017 "Neo <NAME>,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of t... | true | ###!
Copyright (c) 2002-2017 "Neo PI:NAME:<NAME>END_PI,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either ... |
[
{
"context": "WEBMp_Admin_Login'\n\t\t\tlang: 'de'\n\t\t\tAdminPassword: @password\n\n\tcreateFormData: (enable) ->\n\t\tmethod: 'POST'\n\t\t",
"end": 532,
"score": 0.8117743730545044,
"start": 523,
"tag": "PASSWORD",
"value": "@password"
},
{
"context": "-enable': enable\n\t\t\t'ssh... | lib/OpenStageSsh.coffee | sja/openstage-ssh | 1 | 'use strict'
request = require 'request'
Q = require 'q'
util = require 'util'
{EventEmitter} = require 'events'
module.exports = class OpenStageSsh extends EventEmitter
constructor: (@hostname = 'openstage', @password = '', @debug = false) ->
@url = "https://#{@hostname}/page.cmd"
Q.longStackSupport = @debug
... | 63740 | 'use strict'
request = require 'request'
Q = require 'q'
util = require 'util'
{EventEmitter} = require 'events'
module.exports = class OpenStageSsh extends EventEmitter
constructor: (@hostname = 'openstage', @password = '', @debug = false) ->
@url = "https://#{@hostname}/page.cmd"
Q.longStackSupport = @debug
... | true | 'use strict'
request = require 'request'
Q = require 'q'
util = require 'util'
{EventEmitter} = require 'events'
module.exports = class OpenStageSsh extends EventEmitter
constructor: (@hostname = 'openstage', @password = '', @debug = false) ->
@url = "https://#{@hostname}/page.cmd"
Q.longStackSupport = @debug
... |
[
{
"context": " flag: 'o'\n ,\n name: 'two'\n flag: 't'\n ]\n\n ",
"end": 3628,
"score": 0.6138232350349426,
"start": 3625,
"tag": "NAME",
"value": "two"
}
] | spec/args.spec.coffee | bbc/stubby4node | 0 | assert = require 'assert'
sut = null
describe 'args', ->
beforeEach ->
sut = require '../lib/console/args'
describe 'parse', ->
describe 'flags', ->
it 'should parse a flag without parameters', ->
options = [
name: 'flag'
flag: 'f'
]
... | 147038 | assert = require 'assert'
sut = null
describe 'args', ->
beforeEach ->
sut = require '../lib/console/args'
describe 'parse', ->
describe 'flags', ->
it 'should parse a flag without parameters', ->
options = [
name: 'flag'
flag: 'f'
]
... | true | assert = require 'assert'
sut = null
describe 'args', ->
beforeEach ->
sut = require '../lib/console/args'
describe 'parse', ->
describe 'flags', ->
it 'should parse a flag without parameters', ->
options = [
name: 'flag'
flag: 'f'
]
... |
[
{
"context": "to keypresses, loosely\n# based on [keymaster.js by Thomas Fuchs](https://github.com/madrobby/keymaster/)\n#\n# __Th",
"end": 98,
"score": 0.9998378753662109,
"start": 86,
"tag": "NAME",
"value": "Thomas Fuchs"
},
{
"context": "[keymaster.js by Thomas Fuchs](https://git... | src/keys.coffee | andrewberls/kona | 4 | # An interface for binding actions to keypresses, loosely
# based on [keymaster.js by Thomas Fuchs](https://github.com/madrobby/keymaster/)
#
# __There are two ways to bind actions to keys:__
#
# 1) Define the `Kona.Keys.keydown()` function to handle events
#
# This function is directly bound the DOM keydown event, and... | 143237 | # An interface for binding actions to keypresses, loosely
# based on [keymaster.js by <NAME>](https://github.com/madrobby/keymaster/)
#
# __There are two ways to bind actions to keys:__
#
# 1) Define the `Kona.Keys.keydown()` function to handle events
#
# This function is directly bound the DOM keydown event, and will ... | true | # An interface for binding actions to keypresses, loosely
# based on [keymaster.js by PI:NAME:<NAME>END_PI](https://github.com/madrobby/keymaster/)
#
# __There are two ways to bind actions to keys:__
#
# 1) Define the `Kona.Keys.keydown()` function to handle events
#
# This function is directly bound the DOM keydown ev... |
[
{
"context": "strings passed to the RegExp constructor\n# @author Michael Ficarra\n###\n\n'use strict'\n\n#-----------------------------",
"end": 96,
"score": 0.9998405575752258,
"start": 81,
"tag": "NAME",
"value": "Michael Ficarra"
}
] | src/tests/rules/no-invalid-regexp.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Validate strings passed to the RegExp constructor
# @author Michael Ficarra
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/r... | 90909 | ###*
# @fileoverview Validate strings passed to the RegExp constructor
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-i... | true | ###*
# @fileoverview Validate strings passed to the RegExp constructor
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/... |
[
{
"context": "ntTools.ToolShelf.stow(@, 'video')\n\n @label = 'Lien Viméo ou Youtube'\n @icon = 'youtube'\n\n @canApply:",
"end": 36391,
"score": 0.8706701993942261,
"start": 36381,
"tag": "NAME",
"value": "Lien Viméo"
}
] | src/scripts/tools.coffee | Selbahc/ct-bgd | 0 | class ContentTools.ToolShelf
# The `ToolShelf` class allows tools to be stored using a name (string) as a
# reference. Using a tools name makes is cleaner when defining a set of
# tools to populate the `ToolboxUI` widget.
@_tools = {}
@stow: (cls, name) ->
# Stow a tool on the shelf
... | 156021 | class ContentTools.ToolShelf
# The `ToolShelf` class allows tools to be stored using a name (string) as a
# reference. Using a tools name makes is cleaner when defining a set of
# tools to populate the `ToolboxUI` widget.
@_tools = {}
@stow: (cls, name) ->
# Stow a tool on the shelf
... | true | class ContentTools.ToolShelf
# The `ToolShelf` class allows tools to be stored using a name (string) as a
# reference. Using a tools name makes is cleaner when defining a set of
# tools to populate the `ToolboxUI` widget.
@_tools = {}
@stow: (cls, name) ->
# Stow a tool on the shelf
... |
[
{
"context": " 'a.d',\n 'e.f.g',\n ]\n obj = [\n {name: 'alice', age: 17}\n {name: 'bob', age: 32}\n {name: ",
"end": 324,
"score": 0.9996612071990967,
"start": 319,
"tag": "NAME",
"value": "alice"
},
{
"context": " obj = [\n {name: 'alice', age: 17}\n {name: '... | coffee/test/index.test.coffee | mick-whats/objelity | 0 | objelity = require('../')
{test} = require 'ava'
test 'deepKeys', (t) ->
obj =
a:
b:
c: [1,2,3]
d: new Date()
e:
f:
g: 'h'
_keys = objelity.deepKeys(obj)
t.deepEqual _keys, [
'a.b.c.0',
'a.b.c.1',
'a.b.c.2',
'a.d',
'e.f.g',
]
obj = [
{name: 'a... | 36945 | objelity = require('../')
{test} = require 'ava'
test 'deepKeys', (t) ->
obj =
a:
b:
c: [1,2,3]
d: new Date()
e:
f:
g: 'h'
_keys = objelity.deepKeys(obj)
t.deepEqual _keys, [
'a.b.c.0',
'a.b.c.1',
'a.b.c.2',
'a.d',
'e.f.g',
]
obj = [
{name: '<... | true | objelity = require('../')
{test} = require 'ava'
test 'deepKeys', (t) ->
obj =
a:
b:
c: [1,2,3]
d: new Date()
e:
f:
g: 'h'
_keys = objelity.deepKeys(obj)
t.deepEqual _keys, [
'a.b.c.0',
'a.b.c.1',
'a.b.c.2',
'a.d',
'e.f.g',
]
obj = [
{name: 'P... |
[
{
"context": "riter buf, types\n writer.write 'custom', { a: 'HELLOWORLD' }\n writer.rawBuffer().should.eql new Buffer [",
"end": 7011,
"score": 0.6452469229698181,
"start": 7001,
"tag": "NAME",
"value": "HELLOWORLD"
}
] | test/writer.spec.coffee | vickvu/bison-types | 0 | should = require 'should'
sinon = require 'sinon'
preCompile = require "#{SRC}/preCompile"
Writer = require "#{SRC}/writer"
typeHelper = require "#{SRC}/type-helper"
describe 'Bison Writer', ->
beforeEach ->
sinon.spy typeHelper, 'getTypeInfo'
afterEach ->
typeHelper.getTypeInfo.restore()
... | 40882 | should = require 'should'
sinon = require 'sinon'
preCompile = require "#{SRC}/preCompile"
Writer = require "#{SRC}/writer"
typeHelper = require "#{SRC}/type-helper"
describe 'Bison Writer', ->
beforeEach ->
sinon.spy typeHelper, 'getTypeInfo'
afterEach ->
typeHelper.getTypeInfo.restore()
... | true | should = require 'should'
sinon = require 'sinon'
preCompile = require "#{SRC}/preCompile"
Writer = require "#{SRC}/writer"
typeHelper = require "#{SRC}/type-helper"
describe 'Bison Writer', ->
beforeEach ->
sinon.spy typeHelper, 'getTypeInfo'
afterEach ->
typeHelper.getTypeInfo.restore()
... |
[
{
"context": "ets (completions) for Atom\n# Originally created by Renato \"Hii\" Garcia\n'.source.pwn, .source.inc':\n 'CA_Init",
"end": 75,
"score": 0.9967004656791687,
"start": 69,
"tag": "NAME",
"value": "Renato"
},
{
"context": "letions) for Atom\n# Originally created by Renato ... | snippets/ColAndreas.cson | Wuzi/language-pawn | 4 | # ColAndreas snippets (completions) for Atom
# Originally created by Renato "Hii" Garcia
'.source.pwn, .source.inc':
'CA_Init':
'prefix': 'CA_Init'
'body': 'CA_Init()'
'description': 'Function from: ColAndreas'
'descriptionMoreURL': 'http://forum.sa-mp.com/showthread.php?t=586068'
'CA_RemoveBuildin... | 49093 | # ColAndreas snippets (completions) for Atom
# Originally created by <NAME> "<NAME>" <NAME>
'.source.pwn, .source.inc':
'CA_Init':
'prefix': 'CA_Init'
'body': 'CA_Init()'
'description': 'Function from: ColAndreas'
'descriptionMoreURL': 'http://forum.sa-mp.com/showthread.php?t=586068'
'CA_RemoveBuil... | true | # ColAndreas snippets (completions) for Atom
# Originally created by PI:NAME:<NAME>END_PI "PI:NAME:<NAME>END_PI" PI:NAME:<NAME>END_PI
'.source.pwn, .source.inc':
'CA_Init':
'prefix': 'CA_Init'
'body': 'CA_Init()'
'description': 'Function from: ColAndreas'
'descriptionMoreURL': 'http://forum.sa-mp.com/... |
[
{
"context": "d).\n\njct project API spec doc:\nhttps://github.com/antleaf/jct-project/blob/master/api/spec.md\n\nalgorithm sp",
"end": 1005,
"score": 0.9949502944946289,
"start": 998,
"tag": "USERNAME",
"value": "antleaf"
},
{
"context": "ool. Service provided by Cottage Labs LLP. C... | server/service/jct/api.coffee | CottageLabs/jct_api | 1 | import moment from 'moment'
import mailgun from 'mailgun-js'
import fs from 'fs'
import tar from 'tar'
import Future from 'fibers/future'
import { Random } from 'meteor/random'
import unidecode from 'unidecode'
import csvtojson from 'csvtojson'
import stream from 'stream'
'''
The JCT API was a plugin for the noddy API... | 222780 | import moment from 'moment'
import mailgun from 'mailgun-js'
import fs from 'fs'
import tar from 'tar'
import Future from 'fibers/future'
import { Random } from 'meteor/random'
import unidecode from 'unidecode'
import csvtojson from 'csvtojson'
import stream from 'stream'
'''
The JCT API was a plugin for the noddy API... | true | import moment from 'moment'
import mailgun from 'mailgun-js'
import fs from 'fs'
import tar from 'tar'
import Future from 'fibers/future'
import { Random } from 'meteor/random'
import unidecode from 'unidecode'
import csvtojson from 'csvtojson'
import stream from 'stream'
'''
The JCT API was a plugin for the noddy API... |
[
{
"context": "& Debt\"\nlocation: \"Newcastle\"\nphase: \"beta\"\nsro: \"Charu Gorasia\"\nservice_man: \"Gary Wainwright \"\nphase_history:\n ",
"end": 213,
"score": 0.9999032020568848,
"start": 200,
"tag": "NAME",
"value": "Charu Gorasia"
},
{
"context": "\nphase: \"beta\"\nsro: \"C... | app/data/projects/report-benefit-fraud.cson | tsmorgan/dwp-ux-work | 0 | id: 19
name: "Report benefit fraud"
description: "Lets users report someone they suspect is claiming benefits they aren't entitled to."
theme: "Fraud & Debt"
location: "Newcastle"
phase: "beta"
sro: "Charu Gorasia"
service_man: "Gary Wainwright "
phase_history:
discovery: [
{
label: "Completed"
date: ... | 164671 | id: 19
name: "Report benefit fraud"
description: "Lets users report someone they suspect is claiming benefits they aren't entitled to."
theme: "Fraud & Debt"
location: "Newcastle"
phase: "beta"
sro: "<NAME>"
service_man: "<NAME> "
phase_history:
discovery: [
{
label: "Completed"
date: "April 2015"
... | true | id: 19
name: "Report benefit fraud"
description: "Lets users report someone they suspect is claiming benefits they aren't entitled to."
theme: "Fraud & Debt"
location: "Newcastle"
phase: "beta"
sro: "PI:NAME:<NAME>END_PI"
service_man: "PI:NAME:<NAME>END_PI "
phase_history:
discovery: [
{
label: "Completed"
... |
[
{
"context": "plementation\n# ```\n# <script>window.exampleKey = 'geometry'</script>\nmodule.exports =\nclass Surface\n\n ### P",
"end": 507,
"score": 0.8712874054908752,
"start": 499,
"tag": "KEY",
"value": "geometry"
}
] | src/geom/mixins/surface.coffee | abe33/agt | 1 | # Public: Every closed geometry should have the properties of a surface.
#
# These properties are:
#
# - **Acreage** - A `Surface` object can express its surface in px<sup>2</sup>.
# - **Inclusiveness** - A `Surface` object can `contains` other geometries
# inside the bounds of its shape. It also can returns coordina... | 610 | # Public: Every closed geometry should have the properties of a surface.
#
# These properties are:
#
# - **Acreage** - A `Surface` object can express its surface in px<sup>2</sup>.
# - **Inclusiveness** - A `Surface` object can `contains` other geometries
# inside the bounds of its shape. It also can returns coordina... | true | # Public: Every closed geometry should have the properties of a surface.
#
# These properties are:
#
# - **Acreage** - A `Surface` object can express its surface in px<sup>2</sup>.
# - **Inclusiveness** - A `Surface` object can `contains` other geometries
# inside the bounds of its shape. It also can returns coordina... |
[
{
"context": "atever'\n query:\n access_token: 'whatever'\n res = {}\n next = sinon.spy (error) ->",
"end": 857,
"score": 0.6826906800270081,
"start": 851,
"tag": "KEY",
"value": "atever"
},
{
"context": "ation: {}\n query:\n access_token: 'w... | test/unit/oidc/getBearerToken.coffee | Zacaria/connect | 0 | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
chai.use sinonChai
chai.should()
getBearerToken = require '../../../oidc/getBearerToken'
describe 'Get Bearer Token', ->
{req,res,next,err} = {}
describe 'with no token present', ->
before (done) ->
... | 65047 | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
chai.use sinonChai
chai.should()
getBearerToken = require '../../../oidc/getBearerToken'
describe 'Get Bearer Token', ->
{req,res,next,err} = {}
describe 'with no token present', ->
before (done) ->
... | true | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
chai.use sinonChai
chai.should()
getBearerToken = require '../../../oidc/getBearerToken'
describe 'Get Bearer Token', ->
{req,res,next,err} = {}
describe 'with no token present', ->
before (done) ->
... |
[
{
"context": "ould.be.above 2\n rows[0].key.should.eql 'test_scanner_get_startRow_11'\n rows[0].column.should.eql 'node_column",
"end": 2147,
"score": 0.9185751080513,
"start": 2119,
"tag": "KEY",
"value": "test_scanner_get_startRow_11"
},
{
"context": "column_famil... | test/scanner.coffee | ripjar/node-hbase | 82 |
test = require './test'
describe 'scanner', ->
@timeout 0
it 'stream readable', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row()
.put [
{ key:'test_scanner_stream_readable_1', column:'node_column_family:', $:'v 1.3' }
{ key:'test_scanner_stream_... | 179733 |
test = require './test'
describe 'scanner', ->
@timeout 0
it 'stream readable', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row()
.put [
{ key:'test_scanner_stream_readable_1', column:'node_column_family:', $:'v 1.3' }
{ key:'test_scanner_stream_... | true |
test = require './test'
describe 'scanner', ->
@timeout 0
it 'stream readable', (next) ->
test.client (err, client) ->
client
.table('node_table')
.row()
.put [
{ key:'test_scanner_stream_readable_1', column:'node_column_family:', $:'v 1.3' }
{ key:'test_scanner_stream_... |
[
{
"context": "=\n\t\t\t\"code\": \"cliente-\" + Date.now()\n\t\t\t\"email\": \"rodrigoknascimento@gmail.com\"\n\t\t\t\"fullname\": \"Nome Sobrenome\"\n\t\t\t\"cpf\": \"22222",
"end": 1088,
"score": 0.9999138712882996,
"start": 1060,
"tag": "EMAIL",
"value": "rodrigoknascimento@gmail.com"
}... | server/payment.coffee | euajudo/web | 0 | tk = "#{process.env.MOIP_TOKEN}:#{process.env.MOIP_KEY}"
tk = new Buffer(tk).toString('base64')
headers =
Authorization: "Basic #{tk}"
"user-agent": 'Mozilla/4.0'
Meteor.methods
plan: ->
preferencesData = {
"notification": {
"webhook": {
"url": "https://euajudo.localtunnel.me/assinaturas"
},
... | 150861 | tk = "#{process.env.MOIP_TOKEN}:#{process.env.MOIP_KEY}"
tk = new Buffer(tk).toString('base64')
headers =
Authorization: "Basic #{tk}"
"user-agent": 'Mozilla/4.0'
Meteor.methods
plan: ->
preferencesData = {
"notification": {
"webhook": {
"url": "https://euajudo.localtunnel.me/assinaturas"
},
... | true | tk = "#{process.env.MOIP_TOKEN}:#{process.env.MOIP_KEY}"
tk = new Buffer(tk).toString('base64')
headers =
Authorization: "Basic #{tk}"
"user-agent": 'Mozilla/4.0'
Meteor.methods
plan: ->
preferencesData = {
"notification": {
"webhook": {
"url": "https://euajudo.localtunnel.me/assinaturas"
},
... |
[
{
"context": "\" }\n @m.on \"changed\", cb\n @m.set \"key\", 123\n (expect cb).to.have.been.called\n\n it \"d",
"end": 1711,
"score": 0.5801648497581482,
"start": 1709,
"tag": "KEY",
"value": "12"
}
] | plugins/spec/scaleApp.mvc.spec.coffee | flosse/scaleApp | 99 | require?("../../spec/nodeSetup")()
describe "mvc plugin", ->
before ->
if typeof(require) is "function"
@scaleApp = require "../../dist/scaleApp"
@plugin = require "../../dist/plugins/scaleApp.mvc"
else if window?
@scaleApp = window.scaleApp
@plugin = @scaleApp.plugins.mvc... | 114352 | require?("../../spec/nodeSetup")()
describe "mvc plugin", ->
before ->
if typeof(require) is "function"
@scaleApp = require "../../dist/scaleApp"
@plugin = require "../../dist/plugins/scaleApp.mvc"
else if window?
@scaleApp = window.scaleApp
@plugin = @scaleApp.plugins.mvc... | true | require?("../../spec/nodeSetup")()
describe "mvc plugin", ->
before ->
if typeof(require) is "function"
@scaleApp = require "../../dist/scaleApp"
@plugin = require "../../dist/plugins/scaleApp.mvc"
else if window?
@scaleApp = window.scaleApp
@plugin = @scaleApp.plugins.mvc... |
[
{
"context": "ueKey> - assigns the issue to user\n#\n# Author:\n# bouzuya <m@bouzuya.net>\n#\nrequest = require 'request-b'\np",
"end": 292,
"score": 0.9997073411941528,
"start": 285,
"tag": "USERNAME",
"value": "bouzuya"
},
{
"context": "ssigns the issue to user\n#\n# Author:\n# ... | src/scripts/backlog-assign.coffee | bouzuya/hubot-backlog-assign | 0 | # Description
# A Hubot script that assigns the backlog issue to reviewer
#
# Configuration:
# HUBOT_BACKLOG_ASSIGN_SPACE_ID
# HUBOT_BACKLOG_ASSIGN_API_KEY
# HUBOT_BACKLOG_ASSIGN_USER_NAMES
#
# Commands:
# <user> review <issueKey> - assigns the issue to user
#
# Author:
# bouzuya <m@bouzuya.net>
#
request =... | 99551 | # Description
# A Hubot script that assigns the backlog issue to reviewer
#
# Configuration:
# HUBOT_BACKLOG_ASSIGN_SPACE_ID
# HUBOT_BACKLOG_ASSIGN_API_KEY
# HUBOT_BACKLOG_ASSIGN_USER_NAMES
#
# Commands:
# <user> review <issueKey> - assigns the issue to user
#
# Author:
# bouzuya <<EMAIL>>
#
request = requi... | true | # Description
# A Hubot script that assigns the backlog issue to reviewer
#
# Configuration:
# HUBOT_BACKLOG_ASSIGN_SPACE_ID
# HUBOT_BACKLOG_ASSIGN_API_KEY
# HUBOT_BACKLOG_ASSIGN_USER_NAMES
#
# Commands:
# <user> review <issueKey> - assigns the issue to user
#
# Author:
# bouzuya <PI:EMAIL:<EMAIL>END_PI>
#
... |
[
{
"context": "# A simple extension to Xiaolin Wu's line drawing algorithm to draw thick l",
"end": 25,
"score": 0.7730218768119812,
"start": 24,
"tag": "NAME",
"value": "X"
},
{
"context": "# A simple extension to Xiaolin Wu's line drawing algorithm to draw thick lines.\n",
"end"... | cs/thick-xiaolin-wu.coffee | jambolo/thick-xiaolin-wu | 0 | # A simple extension to Xiaolin Wu's line drawing algorithm to draw thick lines.
#
# Adapted from https://en.wikipedia.org/wiki/Xiaolin_Wu%27s_line_algorithm
#
drawLine = (x0, y0, x1, y1, w, drawPixel) ->
# Ensure positive integer values for width
if w < 1
w = 1
# If drawing a dot, the call drawDot function... | 104503 | # A simple extension to <NAME>ia<NAME> Wu's line drawing algorithm to draw thick lines.
#
# Adapted from https://en.wikipedia.org/wiki/Xiaolin_Wu%27s_line_algorithm
#
drawLine = (x0, y0, x1, y1, w, drawPixel) ->
# Ensure positive integer values for width
if w < 1
w = 1
# If drawing a dot, the call drawDot f... | true | # A simple extension to PI:NAME:<NAME>END_PIiaPI:NAME:<NAME>END_PI Wu's line drawing algorithm to draw thick lines.
#
# Adapted from https://en.wikipedia.org/wiki/Xiaolin_Wu%27s_line_algorithm
#
drawLine = (x0, y0, x1, y1, w, drawPixel) ->
# Ensure positive integer values for width
if w < 1
w = 1
# If drawi... |
[
{
"context": "ionController.doLogin {email:user.email, password: password}, req, res, next\n\t\t\t\t\telse\n\t\t\t\t\t\tres.sendStatus 2",
"end": 2138,
"score": 0.9979998469352722,
"start": 2130,
"tag": "PASSWORD",
"value": "password"
}
] | app/coffee/Features/PasswordReset/PasswordResetController.coffee | bowlofstew/web-sharelatex | 0 | PasswordResetHandler = require("./PasswordResetHandler")
RateLimiter = require("../../infrastructure/RateLimiter")
AuthenticationController = require("../Authentication/AuthenticationController")
UserGetter = require("../User/UserGetter")
UserSessionsManager = require("../User/UserSessionsManager")
logger = require "lo... | 29600 | PasswordResetHandler = require("./PasswordResetHandler")
RateLimiter = require("../../infrastructure/RateLimiter")
AuthenticationController = require("../Authentication/AuthenticationController")
UserGetter = require("../User/UserGetter")
UserSessionsManager = require("../User/UserSessionsManager")
logger = require "lo... | true | PasswordResetHandler = require("./PasswordResetHandler")
RateLimiter = require("../../infrastructure/RateLimiter")
AuthenticationController = require("../Authentication/AuthenticationController")
UserGetter = require("../User/UserGetter")
UserSessionsManager = require("../User/UserSessionsManager")
logger = require "lo... |
[
{
"context": "t-name'), name: element.data('name') }\n key = \"#{element.data('model')}:#{element.data('artist-name')};#{element.data('name')}\".toLo",
"end": 1571,
"score": 0.8410007953643799,
"start": 1535,
"tag": "KEY",
"value": "\"#{element.data('model')}:#{element."
},
{
"c... | app/assets/javascripts/home_page_music/shared/spotify_player_list.js.coffee | home-page/home_page_music | 1 | class @SpotifyPlayerList
constructor: ->
window.spotify_player_list = {}
$(document.body).on "click", ".spotify_player_list_item_play_button", (event) ->
event.preventDefault()
model = $(this).parents('.spotify_player_list_item').data('model')
iframeHtml = if model == 'Track'
... | 148184 | class @SpotifyPlayerList
constructor: ->
window.spotify_player_list = {}
$(document.body).on "click", ".spotify_player_list_item_play_button", (event) ->
event.preventDefault()
model = $(this).parents('.spotify_player_list_item').data('model')
iframeHtml = if model == 'Track'
... | true | class @SpotifyPlayerList
constructor: ->
window.spotify_player_list = {}
$(document.body).on "click", ".spotify_player_list_item_play_button", (event) ->
event.preventDefault()
model = $(this).parents('.spotify_player_list_item').data('model')
iframeHtml = if model == 'Track'
... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9990485310554504,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/debugger/test-debugger-client.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... | 129187 | # 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": "mersDataContext: ->\n customers: [\n name: 'Foo'\n email: 'foo@example.com'\n ]\n\nreactiveCh",
"end": 14567,
"score": 0.9936703443527222,
"start": 14564,
"tag": "NAME",
"value": "Foo"
},
{
"context": "\n customers: [\n name: 'Foo'\n email: ... | tests/tests.coffee | pouya-eghbali/meteor-blaze-components | 0 | trim = (html) =>
html = html.replace />\s+/g, '>'
html = html.replace /\s+</g, '<'
html.trim()
class MainComponent extends BlazeComponent
@calls: []
template: ->
assert not Tracker.active
# To test when name of the component mismatches the template name. Template name should have precedence.
'M... | 198070 | trim = (html) =>
html = html.replace />\s+/g, '>'
html = html.replace /\s+</g, '<'
html.trim()
class MainComponent extends BlazeComponent
@calls: []
template: ->
assert not Tracker.active
# To test when name of the component mismatches the template name. Template name should have precedence.
'M... | true | trim = (html) =>
html = html.replace />\s+/g, '>'
html = html.replace /\s+</g, '<'
html.trim()
class MainComponent extends BlazeComponent
@calls: []
template: ->
assert not Tracker.active
# To test when name of the component mismatches the template name. Template name should have precedence.
'M... |
[
{
"context": "oken = null\n\t\t@expires = null\n\t\t@userId = null\n\t\t@username = null\n\t\t@analyticsData = null\n\t\t@justRegistered ",
"end": 652,
"score": 0.8207358717918396,
"start": 644,
"tag": "USERNAME",
"value": "username"
},
{
"context": "l\n\t\t@expires = null\n\t\t@user... | app/common/session2.coffee | willroberts/duelyst | 5 | debug = require('debug')('session')
{EventEmitter} = require 'events'
Promise = require 'bluebird'
Firebase = require 'firebase'
fetch = require 'isomorphic-fetch'
moment = require 'moment'
Storage = require('app/common/storage')
i18next = require('i18next')
class Session extends EventEmitter
constructor: (options =... | 154301 | debug = require('debug')('session')
{EventEmitter} = require 'events'
Promise = require 'bluebird'
Firebase = require 'firebase'
fetch = require 'isomorphic-fetch'
moment = require 'moment'
Storage = require('app/common/storage')
i18next = require('i18next')
class Session extends EventEmitter
constructor: (options =... | true | debug = require('debug')('session')
{EventEmitter} = require 'events'
Promise = require 'bluebird'
Firebase = require 'firebase'
fetch = require 'isomorphic-fetch'
moment = require 'moment'
Storage = require('app/common/storage')
i18next = require('i18next')
class Session extends EventEmitter
constructor: (options =... |
[
{
"context": "achedResource('villain', '/villain/:name', { name: '@name'})\n villains = Villain.query()\n $log.rese",
"end": 352,
"score": 0.9969945549964905,
"start": 346,
"tag": "USERNAME",
"value": "'@name"
},
{
"context": "nd.expectGET('/villain').respond [\n { name:... | test/bound_params_nonexistent.test.coffee | goodeggs/angular-cached-resource | 152 | describe 'bound params do not match array response', ->
{villains, $httpBackend, $log} = {}
beforeEach ->
inject ($injector) ->
$log = $injector.get '$log'
$httpBackend = $injector.get '$httpBackend'
$cachedResource = $injector.get '$cachedResource'
Villain = $cachedResource('villain', ... | 73292 | describe 'bound params do not match array response', ->
{villains, $httpBackend, $log} = {}
beforeEach ->
inject ($injector) ->
$log = $injector.get '$log'
$httpBackend = $injector.get '$httpBackend'
$cachedResource = $injector.get '$cachedResource'
Villain = $cachedResource('villain', ... | true | describe 'bound params do not match array response', ->
{villains, $httpBackend, $log} = {}
beforeEach ->
inject ($injector) ->
$log = $injector.get '$log'
$httpBackend = $injector.get '$httpBackend'
$cachedResource = $injector.get '$cachedResource'
Villain = $cachedResource('villain', ... |
[
{
"context": " render: ->\n super\n @main.form.value text: \"soyjavi\", password: 1234\n\n setTimeout =>\n @exampl",
"end": 151,
"score": 0.9886714220046997,
"start": 144,
"tag": "USERNAME",
"value": "soyjavi"
},
{
"context": "r\n @main.form.value text: \"soyjavi\", ... | source/organisms/article.form.coffee | tapquo/atoms-app-kitchensink | 0 | class Form extends Atoms.Organism.Article
@scaffold "assets/scaffolds/article.form.json"
render: ->
super
@main.form.value text: "soyjavi", password: 1234
setTimeout =>
@example.form.range.value 5
@example.form.checkbox.value false
@example.form.switch.value false
setTimeout =... | 216959 | class Form extends Atoms.Organism.Article
@scaffold "assets/scaffolds/article.form.json"
render: ->
super
@main.form.value text: "soyjavi", password: <PASSWORD>
setTimeout =>
@example.form.range.value 5
@example.form.checkbox.value false
@example.form.switch.value false
setTim... | true | class Form extends Atoms.Organism.Article
@scaffold "assets/scaffolds/article.form.json"
render: ->
super
@main.form.value text: "soyjavi", password: PI:PASSWORD:<PASSWORD>END_PI
setTimeout =>
@example.form.range.value 5
@example.form.checkbox.value false
@example.form.switch.value ... |
[
{
"context": "#Based on http://www.math.rwth-aachen.de/~Gerhard.Hiss/Students/DiplomarbeitPfeiffer.pdf\n#algorithm 3, 4",
"end": 54,
"score": 0.9990158081054688,
"start": 42,
"tag": "NAME",
"value": "Gerhard.Hiss"
}
] | src/core/knuth_bendix.coffee | undeadinu/hyperbolic-ca-simulator | 32 | #Based on http://www.math.rwth-aachen.de/~Gerhard.Hiss/Students/DiplomarbeitPfeiffer.pdf
#algorithm 3, 4
#import itertools
#values are encoded as simple strings.
# User is responsible
print = (s ... ) -> console.log( s.join(" ") )
#COnvert "less or equal" function to the JS-compatible comparator function
le2cmp = ... | 157553 | #Based on http://www.math.rwth-aachen.de/~<NAME>/Students/DiplomarbeitPfeiffer.pdf
#algorithm 3, 4
#import itertools
#values are encoded as simple strings.
# User is responsible
print = (s ... ) -> console.log( s.join(" ") )
#COnvert "less or equal" function to the JS-compatible comparator function
le2cmp = ( leFu... | true | #Based on http://www.math.rwth-aachen.de/~PI:NAME:<NAME>END_PI/Students/DiplomarbeitPfeiffer.pdf
#algorithm 3, 4
#import itertools
#values are encoded as simple strings.
# User is responsible
print = (s ... ) -> console.log( s.join(" ") )
#COnvert "less or equal" function to the JS-compatible comparator function
l... |
[
{
"context": ".inDir DEST\n .withOptions\n realname: 'Alex Gorbatchev'\n githubUrl: 'https://github.com/alexgorba",
"end": 427,
"score": 0.9998837113380432,
"start": 412,
"tag": "NAME",
"value": "Alex Gorbatchev"
},
{
"context": "orbatchev'\n githubUrl: 'htt... | test/app.spec.coffee | octoblu/generator-octoblu-sentinel | 0 | {before, describe, it} = global
{expect} = require 'chai'
path = require 'path'
helpers = require('yeoman-test')
assert = require('yeoman-assert')
GENERATOR_NAME = 'app'
DEST = path.join __dirname, '..', 'temp', "sentinel-#{GENERATOR_NAME}"
describe 'app', ->
before (done) ->
@timeout 2000
helpers
.r... | 9871 | {before, describe, it} = global
{expect} = require 'chai'
path = require 'path'
helpers = require('yeoman-test')
assert = require('yeoman-assert')
GENERATOR_NAME = 'app'
DEST = path.join __dirname, '..', 'temp', "sentinel-#{GENERATOR_NAME}"
describe 'app', ->
before (done) ->
@timeout 2000
helpers
.r... | true | {before, describe, it} = global
{expect} = require 'chai'
path = require 'path'
helpers = require('yeoman-test')
assert = require('yeoman-assert')
GENERATOR_NAME = 'app'
DEST = path.join __dirname, '..', 'temp', "sentinel-#{GENERATOR_NAME}"
describe 'app', ->
before (done) ->
@timeout 2000
helpers
.r... |
[
{
"context": "scopeName: 'source.julia.console'\nname: 'Julia Console'\ncomment: \"Not sure what this will be used for...",
"end": 54,
"score": 0.9099414348602295,
"start": 41,
"tag": "NAME",
"value": "Julia Console"
}
] | grammars/julia-console.cson | alyst/atom-language-julia | 35 | scopeName: 'source.julia.console'
name: 'Julia Console'
comment: "Not sure what this will be used for... Maybe if we have a REPL someday"
patterns: [
{
match: '^(julia>|\\.{3}|In \\[\\d+\\]:) (.+)$'
captures:
'1':
name: 'punctuation.separator.prompt.julia.console'
'2':
patterns: [
... | 45394 | scopeName: 'source.julia.console'
name: '<NAME>'
comment: "Not sure what this will be used for... Maybe if we have a REPL someday"
patterns: [
{
match: '^(julia>|\\.{3}|In \\[\\d+\\]:) (.+)$'
captures:
'1':
name: 'punctuation.separator.prompt.julia.console'
'2':
patterns: [
... | true | scopeName: 'source.julia.console'
name: 'PI:NAME:<NAME>END_PI'
comment: "Not sure what this will be used for... Maybe if we have a REPL someday"
patterns: [
{
match: '^(julia>|\\.{3}|In \\[\\d+\\]:) (.+)$'
captures:
'1':
name: 'punctuation.separator.prompt.julia.console'
'2':
patte... |
[
{
"context": " players = [player1Id, player2Id].sort()\n key = \"#{players[0]}:#{players[1]}\"\n @recentlyMatched[key]?\n\n addRecentMatch: (pl",
"end": 1530,
"score": 0.9982498288154602,
"start": 1501,
"tag": "KEY",
"value": "\"#{players[0]}:#{players[1]}\""
},
{
"context": "... | server/queue.coffee | sarenji/pokebattle-sim | 5 | ratings = require('./ratings')
alts = require('./alts')
INITIAL_RANGE = 100
RANGE_INCREMENT = 100
class QueuedPlayer
constructor: (player) ->
@player = player
@range = INITIAL_RANGE
@rating = null # needs to be updated by getRatings
intersectsWith: (other) ->
leftMin = @rating - (@range / 2)
... | 151865 | ratings = require('./ratings')
alts = require('./alts')
INITIAL_RANGE = 100
RANGE_INCREMENT = 100
class QueuedPlayer
constructor: (player) ->
@player = player
@range = INITIAL_RANGE
@rating = null # needs to be updated by getRatings
intersectsWith: (other) ->
leftMin = @rating - (@range / 2)
... | true | ratings = require('./ratings')
alts = require('./alts')
INITIAL_RANGE = 100
RANGE_INCREMENT = 100
class QueuedPlayer
constructor: (player) ->
@player = player
@range = INITIAL_RANGE
@rating = null # needs to be updated by getRatings
intersectsWith: (other) ->
leftMin = @rating - (@range / 2)
... |
[
{
"context": "set()\n \n @client._onIdentify({public_key: \"toto\"})\n expect(@client.emit).toHaveBeenCalledWith(",
"end": 3152,
"score": 0.963523268699646,
"start": 3149,
"tag": "KEY",
"value": "oto"
}
] | app/spec/m2fa/client_spec.coffee | romanornr/ledger-wallet-crw | 173 | describe "m2fa.Client", ->
beforeEach ->
spyOn(window, 'WebSocket')
@pairingId = "aPairingId"
@client = new ledger.m2fa.Client(@pairingId)
@client.ws = @ws = jasmine.createSpyObj('ws', ['send', 'close'])
[@ws.onopen, @ws.onmessage, @ws.onclose] = [ws.onopen, ws.onmessage, ws.onclose]
spyOn(@c... | 216790 | describe "m2fa.Client", ->
beforeEach ->
spyOn(window, 'WebSocket')
@pairingId = "aPairingId"
@client = new ledger.m2fa.Client(@pairingId)
@client.ws = @ws = jasmine.createSpyObj('ws', ['send', 'close'])
[@ws.onopen, @ws.onmessage, @ws.onclose] = [ws.onopen, ws.onmessage, ws.onclose]
spyOn(@c... | true | describe "m2fa.Client", ->
beforeEach ->
spyOn(window, 'WebSocket')
@pairingId = "aPairingId"
@client = new ledger.m2fa.Client(@pairingId)
@client.ws = @ws = jasmine.createSpyObj('ws', ['send', 'close'])
[@ws.onopen, @ws.onmessage, @ws.onclose] = [ws.onopen, ws.onmessage, ws.onclose]
spyOn(@c... |
[
{
"context": " fields: [\n {\n name: 'lastName'\n type: 'string'\n toolt",
"end": 941,
"score": 0.9987501502037048,
"start": 933,
"tag": "NAME",
"value": "lastName"
},
{
"context": " tooltip: 'Фамилия клиента'\n label... | hbw/app/assets/javascripts/hbw/test_form.js.coffee | napramirez/homs | 0 | modulejs.define 'HBWTestForm', [], ()->
class TestForm
@with_all_controls = {
name: 'Тестовая форма',
description: ['Это форма для тестирования рендеринга всех видов контролов', 'Пожалуйста, дочитайте это многострочное пояснение до конца', 'Возможно, это поможет вам сделать меньше ошибок' ],
css... | 120340 | modulejs.define 'HBWTestForm', [], ()->
class TestForm
@with_all_controls = {
name: 'Тестовая форма',
description: ['Это форма для тестирования рендеринга всех видов контролов', 'Пожалуйста, дочитайте это многострочное пояснение до конца', 'Возможно, это поможет вам сделать меньше ошибок' ],
css... | true | modulejs.define 'HBWTestForm', [], ()->
class TestForm
@with_all_controls = {
name: 'Тестовая форма',
description: ['Это форма для тестирования рендеринга всех видов контролов', 'Пожалуйста, дочитайте это многострочное пояснение до конца', 'Возможно, это поможет вам сделать меньше ошибок' ],
css... |
[
{
"context": "tectFromCSRF = true\n Batman.config.CSRF_TOKEN = 'configOption!'\n\n @Model.get('all')\n equal @lastRequest.options",
"end": 2779,
"score": 0.7519547343254089,
"start": 2767,
"tag": "PASSWORD",
"value": "configOption"
}
] | tests/batman/extras/rails_extra_test.coffee | amco/batman | 0 | oldOffset = Batman.Encoders.railsDate.defaultTimezoneOffset
QUnit.module "Batman.Rails: date encoding",
teardown: ->
Batman.Encoders.railsDate.defaultTimezoneOffset = oldOffset
dateEqual = (a, b, args...) ->
equal a.getTime(), b.getTime(), args...
test "it should parse ISO 8601 dates", ->
# Date not during ... | 225997 | oldOffset = Batman.Encoders.railsDate.defaultTimezoneOffset
QUnit.module "Batman.Rails: date encoding",
teardown: ->
Batman.Encoders.railsDate.defaultTimezoneOffset = oldOffset
dateEqual = (a, b, args...) ->
equal a.getTime(), b.getTime(), args...
test "it should parse ISO 8601 dates", ->
# Date not during ... | true | oldOffset = Batman.Encoders.railsDate.defaultTimezoneOffset
QUnit.module "Batman.Rails: date encoding",
teardown: ->
Batman.Encoders.railsDate.defaultTimezoneOffset = oldOffset
dateEqual = (a, b, args...) ->
equal a.getTime(), b.getTime(), args...
test "it should parse ISO 8601 dates", ->
# Date not during ... |
[
{
"context": "eometry, materials, json) =>\n\t\t\t\t\t\tgeometry.name = name\n\t\t\t\t\t\tgeometry.computeBoundingBox()\n\t\t\t\t\t\tgeometr",
"end": 3374,
"score": 0.8292661309242249,
"start": 3370,
"tag": "NAME",
"value": "name"
}
] | app/assets/javascripts/engine/controllers/preloader.coffee | ssachtleben/herowar | 1 | RendererCanvasController = require 'controllers/rendererCanvas'
materialHelper = require 'helper/materialHelper'
GeometryUtils = require 'util/geometryUtils'
textureUtils = require 'util/textureUtils'
JSONLoader = require 'util/threeloader'
Variables = require 'variables'
Eventbus = require 'eventbus'
log = require 'ut... | 153904 | RendererCanvasController = require 'controllers/rendererCanvas'
materialHelper = require 'helper/materialHelper'
GeometryUtils = require 'util/geometryUtils'
textureUtils = require 'util/textureUtils'
JSONLoader = require 'util/threeloader'
Variables = require 'variables'
Eventbus = require 'eventbus'
log = require 'ut... | true | RendererCanvasController = require 'controllers/rendererCanvas'
materialHelper = require 'helper/materialHelper'
GeometryUtils = require 'util/geometryUtils'
textureUtils = require 'util/textureUtils'
JSONLoader = require 'util/threeloader'
Variables = require 'variables'
Eventbus = require 'eventbus'
log = require 'ut... |
[
{
"context": "it id if the repo or ref changes.\n key = [ownerName, repoName, resolved.ref].join '/'\n if key != @contextKey\n",
"end": 5019,
"score": 0.7079018354415894,
"start": 5004,
"tag": "KEY",
"value": "Name, repoName,"
},
{
"context": "nges.\n key = [ownerName, repoN... | packages/nog-tree/nog-tree-ui.coffee | nogproject/nog | 0 | {defaultErrorHandler} = NogError
{asXiBUnit} = NogFmt
routerPath = (route, opts) -> FlowRouter.path route, opts
NULL_SHA1 = '0000000000000000000000000000000000000000'
if (c = NogApp?.subsCache)?
console.log 'Using main subs cache'
subsCache = c
else
subsCache = new SubsCache()
iskind = (entry, kind) -> _.is... | 84490 | {defaultErrorHandler} = NogError
{asXiBUnit} = NogFmt
routerPath = (route, opts) -> FlowRouter.path route, opts
NULL_SHA1 = '0000000000000000000000000000000000000000'
if (c = NogApp?.subsCache)?
console.log 'Using main subs cache'
subsCache = c
else
subsCache = new SubsCache()
iskind = (entry, kind) -> _.is... | true | {defaultErrorHandler} = NogError
{asXiBUnit} = NogFmt
routerPath = (route, opts) -> FlowRouter.path route, opts
NULL_SHA1 = '0000000000000000000000000000000000000000'
if (c = NogApp?.subsCache)?
console.log 'Using main subs cache'
subsCache = c
else
subsCache = new SubsCache()
iskind = (entry, kind) -> _.is... |
[
{
"context": "ploadcare.jQuery\n\nwindow.UPLOADCARE_PUBLIC_KEY = 'demopublickey'\nwindow.UPLOADCARE_URL_BASE = 'https://up",
"end": 400,
"score": 0.6086395978927612,
"start": 395,
"tag": "KEY",
"value": "demop"
},
{
"context": "0.uploadcare.com'\nwindow.UPLOADCARE_PUSHER_KEY = 'c0d50... | test/dummy/spec/javascripts/spec.js.coffee | fossabot/uploadcare-widget | 1 | # This pulls in all your specs from the javascripts directory into Jasmine:
#
# = require uploadcare/build/uploadcare.full
# = require_self
# = require ./utils
# = require mock-objects/manager
# = require_tree ./
# = require_tree ./fixtures/data
# FIXME: tests should use uploadcare.__exports like regular dev env.
win... | 171515 | # This pulls in all your specs from the javascripts directory into Jasmine:
#
# = require uploadcare/build/uploadcare.full
# = require_self
# = require ./utils
# = require mock-objects/manager
# = require_tree ./
# = require_tree ./fixtures/data
# FIXME: tests should use uploadcare.__exports like regular dev env.
win... | true | # This pulls in all your specs from the javascripts directory into Jasmine:
#
# = require uploadcare/build/uploadcare.full
# = require_self
# = require ./utils
# = require mock-objects/manager
# = require_tree ./
# = require_tree ./fixtures/data
# FIXME: tests should use uploadcare.__exports like regular dev env.
win... |
[
{
"context": " = '<p>Illustration by <a href=\"http://artsy.net\">Tomi Um</a>.</p>'\n @props = {\n html: @postscr",
"end": 2159,
"score": 0.9971120953559875,
"start": 2152,
"tag": "NAME",
"value": "Tomi Um"
}
] | src/client/components/rich_text/test/components/paragraph.test.coffee | craigspaeth/positron | 0 | benv = require 'benv'
{ resolve } = require 'path'
sinon = require 'sinon'
React = require 'react'
ReactDOM = require 'react-dom'
ReactTestUtils = require 'react-dom/test-utils'
ReactDOMServer = require 'react-dom/server'
Draft = require 'draft-js'
{ EditorState, Modifier } = require 'draft-js'
r =
find: ReactTestUt... | 128404 | benv = require 'benv'
{ resolve } = require 'path'
sinon = require 'sinon'
React = require 'react'
ReactDOM = require 'react-dom'
ReactTestUtils = require 'react-dom/test-utils'
ReactDOMServer = require 'react-dom/server'
Draft = require 'draft-js'
{ EditorState, Modifier } = require 'draft-js'
r =
find: ReactTestUt... | true | benv = require 'benv'
{ resolve } = require 'path'
sinon = require 'sinon'
React = require 'react'
ReactDOM = require 'react-dom'
ReactTestUtils = require 'react-dom/test-utils'
ReactDOMServer = require 'react-dom/server'
Draft = require 'draft-js'
{ EditorState, Modifier } = require 'draft-js'
r =
find: ReactTestUt... |
[
{
"context": ".json.httpAuth.username\n\t\tpage.settings.password = tests.json.httpAuth.password\n\n\tmethod = \"GET\"\n\tif !!test",
"end": 1047,
"score": 0.7691437005996704,
"start": 1042,
"tag": "PASSWORD",
"value": "tests"
},
{
"context": "uth.username\n\t\tpage.settings.password... | duvel.coffee | nsteenv/duvel.js | 1 | fs = require "fs"
system = require "system"
webpage = require "webpage"
renderPath = "."
authenticityToken = ""
tests = {}
runTests = ->
tests.index++
test = tests.json.routes.shift()
if !test
tests.endDate = new Date()
console.log "[" + Math.round(tests.endDate.getTime() - tests.runDate.getTime()) + "ms]... | 89668 | fs = require "fs"
system = require "system"
webpage = require "webpage"
renderPath = "."
authenticityToken = ""
tests = {}
runTests = ->
tests.index++
test = tests.json.routes.shift()
if !test
tests.endDate = new Date()
console.log "[" + Math.round(tests.endDate.getTime() - tests.runDate.getTime()) + "ms]... | true | fs = require "fs"
system = require "system"
webpage = require "webpage"
renderPath = "."
authenticityToken = ""
tests = {}
runTests = ->
tests.index++
test = tests.json.routes.shift()
if !test
tests.endDate = new Date()
console.log "[" + Math.round(tests.endDate.getTime() - tests.runDate.getTime()) + "ms]... |
[
{
"context": "save', ->\n jysperm = new User\n name: 'jysperm'\n token:\n code: '03b9a5f0d18bc6b6",
"end": 368,
"score": 0.9997127652168274,
"start": 361,
"tag": "USERNAME",
"value": "jysperm"
},
{
"context": " name: 'jysperm'\n token:\n c... | test/embedded.document.test.coffee | jysperm/Mabolo | 33 | describe 'embedded.document', ->
mabolo = new Mabolo mongodb_uri
Token = mabolo.model 'Token',
code: String
Token::getCode = ->
return @code
User = mabolo.model 'User',
name: String
token:
required: true
type: Token
describe 'create document', ->
it 'construct and save', ->... | 180544 | describe 'embedded.document', ->
mabolo = new Mabolo mongodb_uri
Token = mabolo.model 'Token',
code: String
Token::getCode = ->
return @code
User = mabolo.model 'User',
name: String
token:
required: true
type: Token
describe 'create document', ->
it 'construct and save', ->... | true | describe 'embedded.document', ->
mabolo = new Mabolo mongodb_uri
Token = mabolo.model 'Token',
code: String
Token::getCode = ->
return @code
User = mabolo.model 'User',
name: String
token:
required: true
type: Token
describe 'create document', ->
it 'construct and save', ->... |
[
{
"context": "der()\n\n view.$el.find('input[name=name]').val('New Name')\n view.$el.find('select[name=category]').val(",
"end": 2181,
"score": 0.9710872173309326,
"start": 2173,
"tag": "NAME",
"value": "New Name"
},
{
"context": "pect(model.set).toHaveBeenCalledWith\n nam... | spec/javascripts/dot_ledger/views/sorted_transactions/form_spec.js.coffee | timobleeker/dotledger | 0 | describe "DotLedger.Views.SortedTransactions.Form", ->
createView = (model = new DotLedger.Models.SortedTransaction())->
categories = new DotLedger.Collections.Categories [
{
id: 11
name: 'Category One'
type: 'Essential'
}
{
id: 22
name: 'Category Two'
... | 151768 | describe "DotLedger.Views.SortedTransactions.Form", ->
createView = (model = new DotLedger.Models.SortedTransaction())->
categories = new DotLedger.Collections.Categories [
{
id: 11
name: 'Category One'
type: 'Essential'
}
{
id: 22
name: 'Category Two'
... | true | describe "DotLedger.Views.SortedTransactions.Form", ->
createView = (model = new DotLedger.Models.SortedTransaction())->
categories = new DotLedger.Collections.Categories [
{
id: 11
name: 'Category One'
type: 'Essential'
}
{
id: 22
name: 'Category Two'
... |
[
{
"context": ".\n# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/\n\n$(document).ready(() =>",
"end": 202,
"score": 0.9059174656867981,
"start": 193,
"tag": "USERNAME",
"value": "jashkenas"
},
{
"context": "eScript in this file: http://jashkenas.git... | coffee/main.coffee | hi104/rapen | 8 | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
$(document).ready(() =>
@event_manager = new EventManager()
@cloneControlView = ne... | 98883 | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
$(document).ready(() =>
@event_manager = new EventManager()
@cloneControlView = ne... | true | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
$(document).ready(() =>
@event_manager = new EventManager()
@cloneControlView = ne... |
[
{
"context": "e results of the compilation\ninstanceUniqueKey = '44564699550419906'\nbase_dir = 'tmp/debug'\n\ndocjson = JSON.parse(fs.",
"end": 540,
"score": 0.9997010827064514,
"start": 523,
"tag": "KEY",
"value": "44564699550419906"
}
] | e2e-tests/debug-compiled.coffee | mehrdad-shokri/pagedraw | 3,213 | require('../coffeescript-register-web')
fs = require 'fs'
_l = require 'lodash'
path = require 'path'
{writeFiles, setupReactEnv, compileProjectForInstanceBlock} = require('./create-react-env.coffee')
{Doc} = require('../src/doc')
{InstanceBlock} = require('../src/blocks/instance-block')
## Running this is gonna s... | 128705 | require('../coffeescript-register-web')
fs = require 'fs'
_l = require 'lodash'
path = require 'path'
{writeFiles, setupReactEnv, compileProjectForInstanceBlock} = require('./create-react-env.coffee')
{Doc} = require('../src/doc')
{InstanceBlock} = require('../src/blocks/instance-block')
## Running this is gonna s... | true | require('../coffeescript-register-web')
fs = require 'fs'
_l = require 'lodash'
path = require 'path'
{writeFiles, setupReactEnv, compileProjectForInstanceBlock} = require('./create-react-env.coffee')
{Doc} = require('../src/doc')
{InstanceBlock} = require('../src/blocks/instance-block')
## Running this is gonna s... |
[
{
"context": ")\n\n @stubSession =\n user:\n email: \"stub@user\"\n\n @scope = $rootScope.$new()\n @controller ",
"end": 837,
"score": 0.9395336508750916,
"start": 828,
"tag": "EMAIL",
"value": "stub@user"
},
{
"context": "e if method was called', () =>\n te... | src/app/pages/settings/pages.settings.spec.coffee | pavelkuchin/tracktrains-ui | 0 | describe 'PagesSettingsCtrl', () ->
beforeEach(module('trackSeatsApp'))
beforeEach(inject((@$rootScope, $controller, $httpBackend, @ALERTS_TYPE, @$q) =>
$httpBackend.when('GET', '/v1/user/session/').respond({})
$httpBackend.when('GET', 'app/pages/landing/pages.landing.template.html')
.respond({})
... | 133955 | describe 'PagesSettingsCtrl', () ->
beforeEach(module('trackSeatsApp'))
beforeEach(inject((@$rootScope, $controller, $httpBackend, @ALERTS_TYPE, @$q) =>
$httpBackend.when('GET', '/v1/user/session/').respond({})
$httpBackend.when('GET', 'app/pages/landing/pages.landing.template.html')
.respond({})
... | true | describe 'PagesSettingsCtrl', () ->
beforeEach(module('trackSeatsApp'))
beforeEach(inject((@$rootScope, $controller, $httpBackend, @ALERTS_TYPE, @$q) =>
$httpBackend.when('GET', '/v1/user/session/').respond({})
$httpBackend.when('GET', 'app/pages/landing/pages.landing.template.html')
.respond({})
... |
[
{
"context": ".ready()\n\n\t\tselector =\n\t\t\tspace: spaceId\n\t\t\tkey: 'contacts_no_force_phone_users'\n\n\t\treturn db.space_settings.find(selector)",
"end": 238,
"score": 0.9930775761604309,
"start": 209,
"tag": "KEY",
"value": "contacts_no_force_phone_users"
}
] | creator/packages/steedos-creator/server/publications/contacts_no_force_phone_users.coffee | yicone/steedos-platform | 42 |
if Meteor.isServer
Meteor.publish 'contacts_no_force_phone_users', (spaceId)->
unless this.userId
return this.ready()
unless spaceId
return this.ready()
selector =
space: spaceId
key: 'contacts_no_force_phone_users'
return db.space_settings.find(selector) | 51108 |
if Meteor.isServer
Meteor.publish 'contacts_no_force_phone_users', (spaceId)->
unless this.userId
return this.ready()
unless spaceId
return this.ready()
selector =
space: spaceId
key: '<KEY>'
return db.space_settings.find(selector) | true |
if Meteor.isServer
Meteor.publish 'contacts_no_force_phone_users', (spaceId)->
unless this.userId
return this.ready()
unless spaceId
return this.ready()
selector =
space: spaceId
key: 'PI:KEY:<KEY>END_PI'
return db.space_settings.find(selector) |
[
{
"context": "# Copyright (c) Konode. All rights reserved.\n# This source code is subje",
"end": 22,
"score": 0.9983450770378113,
"start": 16,
"tag": "NAME",
"value": "Konode"
}
] | src/persist/collectionMethods.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
# This module implements the core operations of the persistent object store.
#
# The Persist package generates an API b... | 214803 | # 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
# This module implements the core operations of the persistent object store.
#
# The Persist package generates an API b... | 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
# This module implements the core operations of the persistent object store.
#
# The Persist package gene... |
[
{
"context": "s\n addresses:\n patterns: [\n {\n # \"John Doe\" <john.doe@example.com>\n name: 'meta.email",
"end": 455,
"score": 0.9997892379760742,
"start": 447,
"tag": "NAME",
"value": "John Doe"
},
{
"context": "es:\n patterns: [\n {\n # \"Jo... | grammars/language-eml.cson | mariozaizar/language-eml | 6 | scopeName: 'text.eml.basic'
name: 'Email (EML)'
fileTypes: ['eml', 'msg', 'mbx', 'mbox']
patterns: [
{include: "#addresses"}
{include: "#headers"}
{include: "#boundary"}
{include: "#encodedWord"}
{include: "#encodingTypes"}
{include: "#uuid"}
{include: "#base64"}
{include: "#html"}
{include: "#quote"}... | 67937 | scopeName: 'text.eml.basic'
name: 'Email (EML)'
fileTypes: ['eml', 'msg', 'mbx', 'mbox']
patterns: [
{include: "#addresses"}
{include: "#headers"}
{include: "#boundary"}
{include: "#encodedWord"}
{include: "#encodingTypes"}
{include: "#uuid"}
{include: "#base64"}
{include: "#html"}
{include: "#quote"}... | true | scopeName: 'text.eml.basic'
name: 'Email (EML)'
fileTypes: ['eml', 'msg', 'mbx', 'mbox']
patterns: [
{include: "#addresses"}
{include: "#headers"}
{include: "#boundary"}
{include: "#encodedWord"}
{include: "#encodingTypes"}
{include: "#uuid"}
{include: "#base64"}
{include: "#html"}
{include: "#quote"}... |
[
{
"context": "=================================\n# Copyright 2014 Hatio, Lab.\n# Licensed under The MIT License\n# http",
"end": 63,
"score": 0.6281068921089172,
"start": 62,
"tag": "NAME",
"value": "H"
}
] | src/command/CommandMove.coffee | heartyoh/infopik | 0 | # ==========================================
# Copyright 2014 Hatio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'dou'
'../Command'
], (dou, Command) ->
"use strict"
class CommandMove extends Command
exec... | 54 | # ==========================================
# Copyright 2014 <NAME>atio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'dou'
'../Command'
], (dou, Command) ->
"use strict"
class CommandMove extends Command
... | true | # ==========================================
# Copyright 2014 PI:NAME:<NAME>END_PIatio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'dou'
'../Command'
], (dou, Command) ->
"use strict"
class CommandMove extends C... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.