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": "til\n\n The MIT License (MIT)\n\n Copyright (c) 2014 Yasuhiro Okuno\n\n Permission is hereby granted, free of charge, ", "end": 88, "score": 0.9998644590377808, "start": 74, "tag": "NAME", "value": "Yasuhiro Okuno" } ]
coffee_lib/crowdutil/subcmd/cmdlist.coffee
koma75/crowdutil
1
### @license crowdutil The MIT License (MIT) Copyright (c) 2014 Yasuhiro Okuno 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...
210806
### @license crowdutil The MIT License (MIT) Copyright (c) 2014 <NAME> 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 ...
true
### @license crowdutil The MIT License (MIT) Copyright (c) 2014 PI:NAME:<NAME>END_PI 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 limitati...
[ { "context": "ffee\n# Copyright 2017 9165584 Canada Corporation <legal@fuzzy.ai>\n# All rights reserved.\n\nfs = require 'fs'\npath =", "end": 76, "score": 0.9999081492424011, "start": 62, "tag": "EMAIL", "value": "legal@fuzzy.ai" } ]
src/version.coffee
enterstudio/lemonade-stand
2
# version.coffee # Copyright 2017 9165584 Canada Corporation <legal@fuzzy.ai> # All rights reserved. fs = require 'fs' path = require 'path' pkg = fs.readFileSync path.join(__dirname, '..', 'package.json') data = JSON.parse pkg module.exports = data.version
90055
# version.coffee # Copyright 2017 9165584 Canada Corporation <<EMAIL>> # All rights reserved. fs = require 'fs' path = require 'path' pkg = fs.readFileSync path.join(__dirname, '..', 'package.json') data = JSON.parse pkg module.exports = data.version
true
# version.coffee # Copyright 2017 9165584 Canada Corporation <PI:EMAIL:<EMAIL>END_PI> # All rights reserved. fs = require 'fs' path = require 'path' pkg = fs.readFileSync path.join(__dirname, '..', 'package.json') data = JSON.parse pkg module.exports = data.version
[ { "context": "est\n\n\t\t@stubbedUser = \n\t\t\t_id: \"3131231\"\n\t\t\tname:\"bob\"\n\t\t\temail:\"hello@world.com\"\n\t\t@newEmail = \"bob@bo", "end": 753, "score": 0.596405565738678, "start": 750, "tag": "NAME", "value": "bob" }, { "context": "User = \n\t\t\t_id: \"3131231\"\n\t\t...
test/unit/coffee/Institutions/InstitutionsAPITests.coffee
shyoshyo/web-sharelatex
1
should = require('chai').should() expect = require('chai').expect SandboxedModule = require('sandboxed-module') assert = require('assert') path = require('path') sinon = require('sinon') modulePath = path.join __dirname, "../../../../app/js/Features/Institutions/InstitutionsAPI" expect = require("chai").expect describ...
31496
should = require('chai').should() expect = require('chai').expect SandboxedModule = require('sandboxed-module') assert = require('assert') path = require('path') sinon = require('sinon') modulePath = path.join __dirname, "../../../../app/js/Features/Institutions/InstitutionsAPI" expect = require("chai").expect describ...
true
should = require('chai').should() expect = require('chai').expect SandboxedModule = require('sandboxed-module') assert = require('assert') path = require('path') sinon = require('sinon') modulePath = path.join __dirname, "../../../../app/js/Features/Institutions/InstitutionsAPI" expect = require("chai").expect describ...
[ { "context": "th different worker-types\n * @author Valiton GmbH, Bastian \"hereandnow\" Behrens\n###\n\n###*\n * Standard librar", "end": 148, "score": 0.9998211860656738, "start": 141, "tag": "NAME", "value": "Bastian" }, { "context": "nt worker-types\n * @author Valiton GmbH, Bast...
src/various-cluster.coffee
valiton/node-various-cluster
1
###* * @name various-cluster * @description easily create a mulit-cluster environment with different worker-types * @author Valiton GmbH, Bastian "hereandnow" Behrens ### ###* * Standard library imports ### cluster = require 'cluster' util = require 'util' ###* * 3rd library imports ### prettySeconds = require ...
15594
###* * @name various-cluster * @description easily create a mulit-cluster environment with different worker-types * @author Valiton GmbH, <NAME> "hereandnow" <NAME> ### ###* * Standard library imports ### cluster = require 'cluster' util = require 'util' ###* * 3rd library imports ### prettySeconds = require 'p...
true
###* * @name various-cluster * @description easily create a mulit-cluster environment with different worker-types * @author Valiton GmbH, PI:NAME:<NAME>END_PI "hereandnow" PI:NAME:<NAME>END_PI ### ###* * Standard library imports ### cluster = require 'cluster' util = require 'util' ###* * 3rd library imports ##...
[ { "context": " = new Users([\n factories.makeUser({name: 'Abner'})\n factories.makeUser({name: 'Abigail'})\n", "end": 1318, "score": 0.9994416236877441, "start": 1313, "tag": "NAME", "value": "Abner" }, { "context": "ame: 'Abner'})\n factories.makeUser({name: 'Ab...
test/app/views/teachers/TeacherClassView.spec.coffee
reyesj1988/Codecombat
1
TeacherClassView = require 'views/courses/TeacherClassView' storage = require 'core/storage' forms = require 'core/forms' factories = require 'test/app/factories' Users = require 'collections/Users' Courses = require 'collections/Courses' Levels = require 'collections/Levels' LevelSessions = require 'collections/LevelS...
208424
TeacherClassView = require 'views/courses/TeacherClassView' storage = require 'core/storage' forms = require 'core/forms' factories = require 'test/app/factories' Users = require 'collections/Users' Courses = require 'collections/Courses' Levels = require 'collections/Levels' LevelSessions = require 'collections/LevelS...
true
TeacherClassView = require 'views/courses/TeacherClassView' storage = require 'core/storage' forms = require 'core/forms' factories = require 'test/app/factories' Users = require 'collections/Users' Courses = require 'collections/Courses' Levels = require 'collections/Levels' LevelSessions = require 'collections/LevelS...
[ { "context": " 2015\n# The MIT License (MIT)\n# Copyright (c) 2015 Dustin Dowell\n# github.com/dustindowell22/durable-font-size\n# =", "end": 102, "score": 0.9998409152030945, "start": 89, "tag": "NAME", "value": "Dustin Dowell" }, { "context": ")\n# Copyright (c) 2015 Dustin Dowell\...
buckle/framework/coffee/plugins/jquery.durable-font-size.coffee
dustin-archive/buckle
2
# Durable Font Size - 1.0.2 # June 23, 2015 # The MIT License (MIT) # Copyright (c) 2015 Dustin Dowell # github.com/dustindowell22/durable-font-size # ============================================= (($) -> $.fn.dfs = (drag = 32, precision = 'low', container = 'window', fontSize = null) -> # Cache this object ...
104583
# Durable Font Size - 1.0.2 # June 23, 2015 # The MIT License (MIT) # Copyright (c) 2015 <NAME> # github.com/dustindowell22/durable-font-size # ============================================= (($) -> $.fn.dfs = (drag = 32, precision = 'low', container = 'window', fontSize = null) -> # Cache this object $this...
true
# Durable Font Size - 1.0.2 # June 23, 2015 # The MIT License (MIT) # Copyright (c) 2015 PI:NAME:<NAME>END_PI # github.com/dustindowell22/durable-font-size # ============================================= (($) -> $.fn.dfs = (drag = 32, precision = 'low', container = 'window', fontSize = null) -> # Cache this ob...
[ { "context": "###\n@Author: Kristinita\n@Date: 2018-02-22 11:54:50\n@Last Modified time:", "end": 23, "score": 0.9998382329940796, "start": 13, "tag": "NAME", "value": "Kristinita" }, { "context": "pp/IT-articles/typo-reporter\n# https://github.com/psmb/typo-reporter/issues/4#issue...
themes/sashapelican/static/coffee/typo-reporter/typo-reporter-en.coffee
Kristinita/---
6
### @Author: Kristinita @Date: 2018-02-22 11:54:50 @Last Modified time: 2018-02-22 11:59:46 ### ################# # typo-reporter # ################# # Script, that users can send message about site typos: # https://www.npmjs.com/package/typo-reporter # https://kristinita.netlify.app/IT-articles/typo-reporter # https...
84851
### @Author: <NAME> @Date: 2018-02-22 11:54:50 @Last Modified time: 2018-02-22 11:59:46 ### ################# # typo-reporter # ################# # Script, that users can send message about site typos: # https://www.npmjs.com/package/typo-reporter # https://kristinita.netlify.app/IT-articles/typo-reporter # https://g...
true
### @Author: PI:NAME:<NAME>END_PI @Date: 2018-02-22 11:54:50 @Last Modified time: 2018-02-22 11:59:46 ### ################# # typo-reporter # ################# # Script, that users can send message about site typos: # https://www.npmjs.com/package/typo-reporter # https://kristinita.netlify.app/IT-articles/typo-report...
[ { "context": "# Not really great, but... good enough, I guess --Jason (4/30/13)\n totalCards = _(globals.playerNu", "end": 1732, "score": 0.7505853176116943, "start": 1727, "tag": "NAME", "value": "Jason" }, { "context": "hen make it so that ID collisions are unlikely. --Jason...
app/assets/javascripts/index/main.coffee
TheBizzle/ClowCards
0
f = -> dependOn("root_main") dependOn("api_prototypes") dependOn("index_onload") Obj = dependOn("adt_obj") $ = dependOn("api_jquery") CardIterator = dependOn("index_carditerator") Cards = dependOn("index_cards") Constants = dependOn("index_constants") globals = ...
36152
f = -> dependOn("root_main") dependOn("api_prototypes") dependOn("index_onload") Obj = dependOn("adt_obj") $ = dependOn("api_jquery") CardIterator = dependOn("index_carditerator") Cards = dependOn("index_cards") Constants = dependOn("index_constants") globals = ...
true
f = -> dependOn("root_main") dependOn("api_prototypes") dependOn("index_onload") Obj = dependOn("adt_obj") $ = dependOn("api_jquery") CardIterator = dependOn("index_carditerator") Cards = dependOn("index_cards") Constants = dependOn("index_constants") globals = ...
[ { "context": "ileoverview Tests for comma-dangle rule.\n# @author Ian Christian Myers\n###\n\n'use strict'\n\n#-----------------------------", "end": 79, "score": 0.9996938705444336, "start": 60, "tag": "NAME", "value": "Ian Christian Myers" }, { "context": ": ['only-multiline']\n ,...
src/tests/rules/comma-dangle.coffee
danielbayley/eslint-plugin-coffee
21
###* # @fileoverview Tests for comma-dangle rule. # @author Ian Christian Myers ### 'use strict' #------------------------------------------------------------------------------ # Requirements #------------------------------------------------------------------------------ ### eslint-disable ### rule = require 'eslin...
175893
###* # @fileoverview Tests for comma-dangle rule. # @author <NAME> ### 'use strict' #------------------------------------------------------------------------------ # Requirements #------------------------------------------------------------------------------ ### eslint-disable ### rule = require 'eslint/lib/rules/c...
true
###* # @fileoverview Tests for comma-dangle rule. # @author PI:NAME:<NAME>END_PI ### 'use strict' #------------------------------------------------------------------------------ # Requirements #------------------------------------------------------------------------------ ### eslint-disable ### rule = require 'esli...
[ { "context": "tabIndex value is not greater than zero.\n# @author Ethan Cohen\n###\n\n# ------------------------------------------", "end": 115, "score": 0.9998646974563599, "start": 104, "tag": "NAME", "value": "Ethan Cohen" } ]
src/tests/rules/tabindex-no-positive.coffee
danielbayley/eslint-plugin-coffee
21
### eslint-env jest ### ###* # @fileoverview Enforce tabIndex value is not greater than zero. # @author Ethan Cohen ### # ----------------------------------------------------------------------------- # Requirements # ----------------------------------------------------------------------------- path = require 'path' {...
132455
### eslint-env jest ### ###* # @fileoverview Enforce tabIndex value is not greater than zero. # @author <NAME> ### # ----------------------------------------------------------------------------- # Requirements # ----------------------------------------------------------------------------- path = require 'path' {RuleT...
true
### eslint-env jest ### ###* # @fileoverview Enforce tabIndex value is not greater than zero. # @author PI:NAME:<NAME>END_PI ### # ----------------------------------------------------------------------------- # Requirements # ----------------------------------------------------------------------------- path = require...
[ { "context": " cancel: \"modalCancel\"\n content: { name: \"Louis\" }\n contentViewClass: App.CustomModalConte", "end": 2107, "score": 0.9991574287414551, "start": 2102, "tag": "NAME", "value": "Louis" }, { "context": "verRoute = Ember.Route.extend\n model: -> {name: ...
app/app.coffee
cjc343/ember-widgets
0
# Dependencies require 'vendor/ember-list-view/list-view' require 'vendor/bootstrap/dist/js/bootstrap' require 'dist/js/ember-widgets' # Compiled Handlebars templates require 'build/app/templates' # Data require 'build/app/data/ember_widgets/countries' window.App = Ember.Application.create LOG_TRANSITIONS: false ...
161669
# Dependencies require 'vendor/ember-list-view/list-view' require 'vendor/bootstrap/dist/js/bootstrap' require 'dist/js/ember-widgets' # Compiled Handlebars templates require 'build/app/templates' # Data require 'build/app/data/ember_widgets/countries' window.App = Ember.Application.create LOG_TRANSITIONS: false ...
true
# Dependencies require 'vendor/ember-list-view/list-view' require 'vendor/bootstrap/dist/js/bootstrap' require 'dist/js/ember-widgets' # Compiled Handlebars templates require 'build/app/templates' # Data require 'build/app/data/ember_widgets/countries' window.App = Ember.Application.create LOG_TRANSITIONS: false ...
[ { "context": "# author: tmwhere.com\n\nPIXI = require('pixi.js/bin/pixi.js')\n_ = requir", "end": 21, "score": 0.888242244720459, "start": 10, "tag": "EMAIL", "value": "tmwhere.com" } ]
src/game_modules/mapgen.coffee
t-mw/citygen
177
# author: tmwhere.com PIXI = require('pixi.js/bin/pixi.js') _ = require('lodash') noise = require('perlin').noise Quadtree = require('quadtree').Quadtree seedrandom = require('seedrandom') math = require('generic_modules/math') util = require('generic_modules/utility') collision = require('generic_modules/collision'...
34523
# author: <EMAIL> PIXI = require('pixi.js/bin/pixi.js') _ = require('lodash') noise = require('perlin').noise Quadtree = require('quadtree').Quadtree seedrandom = require('seedrandom') math = require('generic_modules/math') util = require('generic_modules/utility') collision = require('generic_modules/collision') c...
true
# author: PI:EMAIL:<EMAIL>END_PI PIXI = require('pixi.js/bin/pixi.js') _ = require('lodash') noise = require('perlin').noise Quadtree = require('quadtree').Quadtree seedrandom = require('seedrandom') math = require('generic_modules/math') util = require('generic_modules/utility') collision = require('generic_modules...
[ { "context": "nal _props', ->\n thing = new Thing\n one: 'Hello'\n two: 'World'\n \n expect(thing._props[", "end": 242, "score": 0.9035449028015137, "start": 237, "tag": "NAME", "value": "Hello" }, { "context": "en created', ->\n thing = new Thing\n one: 'H...
spec/model.spec.coffee
brianewing/footrest
1
Model = require('../lib/index').Model class Thing extends Model @type 'Thing' @attr 'one', 'two' @attr 'three', default: 'Defacto!' describe 'model', -> it 'should assign internal _props', -> thing = new Thing one: 'Hello' two: 'World' expect(thing._props['one']).toEqual 'Hello' ...
45690
Model = require('../lib/index').Model class Thing extends Model @type 'Thing' @attr 'one', 'two' @attr 'three', default: 'Defacto!' describe 'model', -> it 'should assign internal _props', -> thing = new Thing one: '<NAME>' two: 'World' expect(thing._props['one']).toEqual 'Hello' ...
true
Model = require('../lib/index').Model class Thing extends Model @type 'Thing' @attr 'one', 'two' @attr 'three', default: 'Defacto!' describe 'model', -> it 'should assign internal _props', -> thing = new Thing one: 'PI:NAME:<NAME>END_PI' two: 'World' expect(thing._props['one']).toEqu...
[ { "context": "y on caffeine\n# website: http://moofx.it\n# author: Valerio Proietti (@kamicane) http://mad4milk.net http://mootools.n", "end": 118, "score": 0.9998477101325989, "start": 102, "tag": "NAME", "value": "Valerio Proietti" }, { "context": "ebsite: http://moofx.it\n# author...
src/moofx.coffee
sebmarkbage/moofx
2
# moofx: a css3-enabled javascript animation library on caffeine # website: http://moofx.it # author: Valerio Proietti (@kamicane) http://mad4milk.net http://mootools.net # license: MIT µ = (nod) -> @valueOf = () -> nod @ moofx = (nod) -> if not nod then null else new µ(if nod.length? then nod else if nod.nodeTyp...
112466
# moofx: a css3-enabled javascript animation library on caffeine # website: http://moofx.it # author: <NAME> (@kamicane) http://mad4milk.net http://mootools.net # license: MIT µ = (nod) -> @valueOf = () -> nod @ moofx = (nod) -> if not nod then null else new µ(if nod.length? then nod else if nod.nodeType? then [n...
true
# moofx: a css3-enabled javascript animation library on caffeine # website: http://moofx.it # author: PI:NAME:<NAME>END_PI (@kamicane) http://mad4milk.net http://mootools.net # license: MIT µ = (nod) -> @valueOf = () -> nod @ moofx = (nod) -> if not nod then null else new µ(if nod.length? then nod else if nod.nod...
[ { "context": "I Key Authorization Middleware\n\nauthorizedKeys =\n y9c0MbNA7rkS412w: ['127.0.0.1']\n hwy4iavwi83ABUJq: ['67.23.22.71'", "end": 872, "score": 0.9972773194313049, "start": 856, "tag": "KEY", "value": "y9c0MbNA7rkS412w" }, { "context": "iddleware\n\nauthorizedKeys =\n ...
app.coffee
zsup/rosie
0
########################################## # BASIC REQUIREMENTS AND INITIALIZATION. # ########################################## # Require libraries net = require 'net' http = require 'http' # A JavaScript object helper to store devices devices = {} # Helpers for processing TCP stream. buffer = "" separator = "\n" ...
33502
########################################## # BASIC REQUIREMENTS AND INITIALIZATION. # ########################################## # Require libraries net = require 'net' http = require 'http' # A JavaScript object helper to store devices devices = {} # Helpers for processing TCP stream. buffer = "" separator = "\n" ...
true
########################################## # BASIC REQUIREMENTS AND INITIALIZATION. # ########################################## # Require libraries net = require 'net' http = require 'http' # A JavaScript object helper to store devices devices = {} # Helpers for processing TCP stream. buffer = "" separator = "\n" ...
[ { "context": "tcher.folderMatchesMinimatchPrefix([ \"\", \"home\", \"commie\" ], set).should.equal(true)\n globwatcher.fol", "end": 1806, "score": 0.7911118268966675, "start": 1802, "tag": "NAME", "value": "comm" }, { "context": "tcher.folderMatchesMinimatchPrefix([ \"\", \"home\"...
node_modules/parcelify/node_modules/globwatcher/test/test_globwatcher.coffee
webcoding/promises-book
2,320
fs = require 'fs' minimatch = require 'minimatch' mocha_sprinkles = require 'mocha-sprinkles' path = require 'path' Q = require 'q' shell = require 'shelljs' should = require 'should' touch = require 'touch' util = require 'util' future = mocha_sprinkles.future withTempFolder = mocha_sprinkles.withTempFolder globwatc...
49193
fs = require 'fs' minimatch = require 'minimatch' mocha_sprinkles = require 'mocha-sprinkles' path = require 'path' Q = require 'q' shell = require 'shelljs' should = require 'should' touch = require 'touch' util = require 'util' future = mocha_sprinkles.future withTempFolder = mocha_sprinkles.withTempFolder globwatc...
true
fs = require 'fs' minimatch = require 'minimatch' mocha_sprinkles = require 'mocha-sprinkles' path = require 'path' Q = require 'q' shell = require 'shelljs' should = require 'should' touch = require 'touch' util = require 'util' future = mocha_sprinkles.future withTempFolder = mocha_sprinkles.withTempFolder globwatc...
[ { "context": "ext\", (test) ->\n doTestCase test,\n text: \"Hello\"\n caretIsBefore: /^/\n bold: \"**bold tex", "end": 7173, "score": 0.9542251825332642, "start": 7168, "tag": "NAME", "value": "Hello" }, { "context": "ext\", (test) ->\n doTestCase test,\n te...
test/bold-italic.coffee
evan-dickinson/md4mefi
1
(() -> injectUtils = window.md4mefiInjectUtils QUnit.module("Bold/Italic") testDomElements = $('#test-dom-elements') boldItalic = $('<div>').addClass('bold-italic') mdComment = $('<textarea>').addClass('md-comment') boldItalic.append(mdComment) testDomElements.append(boldItalic) boldToItalic = (text)...
13412
(() -> injectUtils = window.md4mefiInjectUtils QUnit.module("Bold/Italic") testDomElements = $('#test-dom-elements') boldItalic = $('<div>').addClass('bold-italic') mdComment = $('<textarea>').addClass('md-comment') boldItalic.append(mdComment) testDomElements.append(boldItalic) boldToItalic = (text)...
true
(() -> injectUtils = window.md4mefiInjectUtils QUnit.module("Bold/Italic") testDomElements = $('#test-dom-elements') boldItalic = $('<div>').addClass('bold-italic') mdComment = $('<textarea>').addClass('md-comment') boldItalic.append(mdComment) testDomElements.append(boldItalic) boldToItalic = (text)...
[ { "context": "$('#editor').click()\n alice.$('#editor').type 'hello Bob'\n wait.until (-> bob.$('#editor').text != oldT", "end": 456, "score": 0.702520489692688, "start": 447, "tag": "NAME", "value": "hello Bob" } ]
examples/stypi.coffee
carbonfive/webspecter
33
feature "Stypi collaborative editing", (context) -> alice = context.newContext() bob = context.newContext() before (done) -> alice.browser.visit 'https://www.stypi.com/', -> bob.browser.visit alice.browser.url, done after -> console.log "\tCheck for yourself: #{alice.browser.url}" it "shows o...
10494
feature "Stypi collaborative editing", (context) -> alice = context.newContext() bob = context.newContext() before (done) -> alice.browser.visit 'https://www.stypi.com/', -> bob.browser.visit alice.browser.url, done after -> console.log "\tCheck for yourself: #{alice.browser.url}" it "shows o...
true
feature "Stypi collaborative editing", (context) -> alice = context.newContext() bob = context.newContext() before (done) -> alice.browser.visit 'https://www.stypi.com/', -> bob.browser.visit alice.browser.url, done after -> console.log "\tCheck for yourself: #{alice.browser.url}" it "shows o...
[ { "context": ".dict[key]\n return value\n\nDEFAULT_STORAGE_KEY = 'mnemosyne.pendingRequests'\n\nmodule.exports = class MagicQueue\n\n # Keep the", "end": 166, "score": 0.9796016812324524, "start": 141, "tag": "KEY", "value": "mnemosyne.pendingRequests" } ]
source/app/magic_queue.coffee
azendoo/mnemosyne
0
### - MagicQueue - ### removeValue = (ctx, key) -> value = ctx.dict[key] delete ctx.dict[key] return value DEFAULT_STORAGE_KEY = 'mnemosyne.pendingRequests' module.exports = class MagicQueue # Keep the order state, only store keys. orderedKeys: [] # Store all value with constant access. dict: {} ...
214540
### - MagicQueue - ### removeValue = (ctx, key) -> value = ctx.dict[key] delete ctx.dict[key] return value DEFAULT_STORAGE_KEY = '<KEY>' module.exports = class MagicQueue # Keep the order state, only store keys. orderedKeys: [] # Store all value with constant access. dict: {} addHead: (key, val...
true
### - MagicQueue - ### removeValue = (ctx, key) -> value = ctx.dict[key] delete ctx.dict[key] return value DEFAULT_STORAGE_KEY = 'PI:KEY:<KEY>END_PI' module.exports = class MagicQueue # Keep the order state, only store keys. orderedKeys: [] # Store all value with constant access. dict: {} addHe...
[ { "context": "kg, \"package.json\"), JSON.stringify(\n author: \"Evan Lucas\"\n name: \"404-parent-test\"\n version: \"0.0.0\"", "end": 163, "score": 0.9998489618301392, "start": 153, "tag": "NAME", "value": "Evan Lucas" } ]
deps/npm/test/tap/404-parent.coffee
lxe/io.coffee
0
setup = -> mkdirp.sync pkg mkdirp.sync path.resolve(pkg, "cache") fs.writeFileSync path.resolve(pkg, "package.json"), JSON.stringify( author: "Evan Lucas" name: "404-parent-test" version: "0.0.0" description: "Test for 404-parent" dependencies: "test-npm-404-parent-test": "*" ), "utf8"...
209256
setup = -> mkdirp.sync pkg mkdirp.sync path.resolve(pkg, "cache") fs.writeFileSync path.resolve(pkg, "package.json"), JSON.stringify( author: "<NAME>" name: "404-parent-test" version: "0.0.0" description: "Test for 404-parent" dependencies: "test-npm-404-parent-test": "*" ), "utf8" p...
true
setup = -> mkdirp.sync pkg mkdirp.sync path.resolve(pkg, "cache") fs.writeFileSync path.resolve(pkg, "package.json"), JSON.stringify( author: "PI:NAME:<NAME>END_PI" name: "404-parent-test" version: "0.0.0" description: "Test for 404-parent" dependencies: "test-npm-404-parent-test": "*" ...
[ { "context": "terWithPin.returns @q.when(uuid: 'shock', token: 'and-aww-yeah')\n\n describe 'when called with the pin 1234'", "end": 1669, "score": 0.9951852560043335, "start": 1657, "tag": "PASSWORD", "value": "and-aww-yeah" }, { "context": "', ->\n expect(@cookies.uui...
test/register/register-controller-spec.coffee
octoblu/blu-web
3
describe 'RegisterController', -> beforeEach -> module 'blu' inject ($controller, $q, $rootScope) -> @q = $q @rootScope = $rootScope describe 'when the user has no existing session', -> beforeEach -> inject ($controller, $rootScope) -> @location = path: sinon.stub() @...
207153
describe 'RegisterController', -> beforeEach -> module 'blu' inject ($controller, $q, $rootScope) -> @q = $q @rootScope = $rootScope describe 'when the user has no existing session', -> beforeEach -> inject ($controller, $rootScope) -> @location = path: sinon.stub() @...
true
describe 'RegisterController', -> beforeEach -> module 'blu' inject ($controller, $q, $rootScope) -> @q = $q @rootScope = $rootScope describe 'when the user has no existing session', -> beforeEach -> inject ($controller, $rootScope) -> @location = path: sinon.stub() @...
[ { "context": ".createElement('input')\n user_password.type = 'password'\n user_password.classList.add('freelog-credent", "end": 628, "score": 0.9415736794471741, "start": 620, "tag": "PASSWORD", "value": "password" }, { "context": "ype = 'password'\n user_password.classList....
lib/freelog-mdpub-view.coffee
miushock/freelog-mdpub
0
module.exports = class FreelogMdpubView constructor: (serializedState) -> # Create root element @element = document.createElement('div') @element.classList.add('freelog-mdpub') message = document.createElement('div') @element.appendChild(message) # enter user info user_info = document.cre...
115174
module.exports = class FreelogMdpubView constructor: (serializedState) -> # Create root element @element = document.createElement('div') @element.classList.add('freelog-mdpub') message = document.createElement('div') @element.appendChild(message) # enter user info user_info = document.cre...
true
module.exports = class FreelogMdpubView constructor: (serializedState) -> # Create root element @element = document.createElement('div') @element.classList.add('freelog-mdpub') message = document.createElement('div') @element.appendChild(message) # enter user info user_info = document.cre...
[ { "context": "ructor: ->\n console.log('Init')\n @list1 = ['Bob', 'John', 'Jane']\n @list2 = []\n\n onDragList1:", "end": 140, "score": 0.99982750415802, "start": 137, "tag": "NAME", "value": "Bob" }, { "context": " ->\n console.log('Init')\n @list1 = ['Bob', 'John', ...
src/test/resources/app/app.coffee
benweizhu/simplelenium
52
dnd = angular.module 'dnd', ['ngDraggable'] .controller 'DndController', class constructor: -> console.log('Init') @list1 = ['Bob', 'John', 'Jane'] @list2 = [] onDragList1: -> console.log('Drag from list1') onDragList2: -> console.log('Drag from list2') onEnterList2: -> console.log('...
117141
dnd = angular.module 'dnd', ['ngDraggable'] .controller 'DndController', class constructor: -> console.log('Init') @list1 = ['<NAME>', '<NAME>', '<NAME>'] @list2 = [] onDragList1: -> console.log('Drag from list1') onDragList2: -> console.log('Drag from list2') onEnterList2: -> consol...
true
dnd = angular.module 'dnd', ['ngDraggable'] .controller 'DndController', class constructor: -> console.log('Init') @list1 = ['PI:NAME:<NAME>END_PI', 'PI:NAME:<NAME>END_PI', 'PI:NAME:<NAME>END_PI'] @list2 = [] onDragList1: -> console.log('Drag from list1') onDragList2: -> console.log('Drag f...
[ { "context": "@namespace Atoms.Molecule\n@class Calendar\n\n@author Javier Jimenez Villar @soyjavi\n###\n\"use strict\"\n\nclass Atoms.Molecule.C", "end": 83, "score": 0.9997739195823669, "start": 62, "tag": "NAME", "value": "Javier Jimenez Villar" }, { "context": "ule\n@class Calend...
molecule/calendar.coffee
tapquo/atoms-app-calendar
0
### @TODO @namespace Atoms.Molecule @class Calendar @author Javier Jimenez Villar @soyjavi ### "use strict" class Atoms.Molecule.Calendar extends Atoms.Molecule.Div @extends : true @available : ["Atom.Day", "Molecule.Div"] @events : ["select"] @default : months: ["January", "February", "March...
18428
### @TODO @namespace Atoms.Molecule @class Calendar @author <NAME> @soyjavi ### "use strict" class Atoms.Molecule.Calendar extends Atoms.Molecule.Div @extends : true @available : ["Atom.Day", "Molecule.Div"] @events : ["select"] @default : months: ["January", "February", "March", "April", "Ma...
true
### @TODO @namespace Atoms.Molecule @class Calendar @author PI:NAME:<NAME>END_PI @soyjavi ### "use strict" class Atoms.Molecule.Calendar extends Atoms.Molecule.Div @extends : true @available : ["Atom.Day", "Molecule.Div"] @events : ["select"] @default : months: ["January", "February", "March"...
[ { "context": "#\n# Initialisation CoffeeScript file.\n#\n# @author Matthew Casey\n#\n# (c) University of Surrey 2019\n#\n\n# Initialise", "end": 63, "score": 0.9998499155044556, "start": 50, "tag": "NAME", "value": "Matthew Casey" } ]
app/assets/javascripts/init.coffee
saschneider/VMVLedger
0
# # Initialisation CoffeeScript file. # # @author Matthew Casey # # (c) University of Surrey 2019 # # Initialise the application object. Based on: # http://brandonhilkert.com/blog/organizing-javascript-in-rails-application-with-turbolinks/ window.VMV ||= {} # # Initialise whenever the page is loaded. # $ -> VMV.ini...
208673
# # Initialisation CoffeeScript file. # # @author <NAME> # # (c) University of Surrey 2019 # # Initialise the application object. Based on: # http://brandonhilkert.com/blog/organizing-javascript-in-rails-application-with-turbolinks/ window.VMV ||= {} # # Initialise whenever the page is loaded. # $ -> VMV.init() # ...
true
# # Initialisation CoffeeScript file. # # @author PI:NAME:<NAME>END_PI # # (c) University of Surrey 2019 # # Initialise the application object. Based on: # http://brandonhilkert.com/blog/organizing-javascript-in-rails-application-with-turbolinks/ window.VMV ||= {} # # Initialise whenever the page is loaded. # $ -> ...
[ { "context": "view Rule to flag unnecessary bind calls\n# @author Bence Dányi <bence@danyi.me>\n###\n'use strict'\n\n#-------------", "end": 78, "score": 0.9998512268066406, "start": 67, "tag": "NAME", "value": "Bence Dányi" }, { "context": "lag unnecessary bind calls\n# @author Benc...
src/rules/no-extra-bind.coffee
danielbayley/eslint-plugin-coffee
21
###* # @fileoverview Rule to flag unnecessary bind calls # @author Bence Dányi <bence@danyi.me> ### 'use strict' #------------------------------------------------------------------------------ # Requirements #------------------------------------------------------------------------------ astUtils = require '../eslint-...
15963
###* # @fileoverview Rule to flag unnecessary bind calls # @author <NAME> <<EMAIL>> ### 'use strict' #------------------------------------------------------------------------------ # Requirements #------------------------------------------------------------------------------ astUtils = require '../eslint-ast-utils' ...
true
###* # @fileoverview Rule to flag unnecessary bind calls # @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> ### 'use strict' #------------------------------------------------------------------------------ # Requirements #------------------------------------------------------------------------------ astUtils = re...
[ { "context": "#\n# Copyright 2015 Volcra\n#\n# Licensed under the Apache License, Version 2.", "end": 25, "score": 0.9996500015258789, "start": 19, "tag": "NAME", "value": "Volcra" } ]
src/DisableMixin.coffee
volcra/react-foundation
0
# # Copyright 2015 Volcra # # 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, sof...
151205
# # Copyright 2015 <NAME> # # 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, sof...
true
# # Copyright 2015 PI:NAME:<NAME>END_PI # # Licensed under the Apache License, Version 2.0 (the 'License'); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
[ { "context": "tion: \"/login\", method: \"POST\", ->\n input id: \"username\", type: \"text\", name: \"username\", 'data-default-t", "end": 165, "score": 0.998191773891449, "start": 157, "tag": "USERNAME", "value": "username" }, { "context": "->\n input id: \"username\", type: ...
templates/login.coffee
jaekwon/YCatalyst
3
exports.template = -> if typeof message != "undefined" p message else p "Login here" form action: "/login", method: "POST", -> input id: "username", type: "text", name: "username", 'data-default-text': "username" br() input id: "password", type: "password", name: "password", 'data-default-tex...
54337
exports.template = -> if typeof message != "undefined" p message else p "Login here" form action: "/login", method: "POST", -> input id: "username", type: "text", name: "username", 'data-default-text': "username" br() input id: "password", type: "<PASSWORD>", name: "password", 'data-default-t...
true
exports.template = -> if typeof message != "undefined" p message else p "Login here" form action: "/login", method: "POST", -> input id: "username", type: "text", name: "username", 'data-default-text': "username" br() input id: "password", type: "PI:PASSWORD:<PASSWORD>END_PI", name: "password...
[ { "context": "\n###\n\n (c) 2006 Douglas Crockford\n\n Produce an array of simple token objects from ", "end": 34, "score": 0.9998632073402405, "start": 17, "tag": "NAME", "value": "Douglas Crockford" } ]
src/tokens.coffee
loveencounterflow/tdop
0
### (c) 2006 Douglas Crockford Produce an array of simple token objects from a string. A simple token object contains these members: type: 'name', 'string', 'number', 'operator' value: string or number value of the token from: index of first character of the token to: index of the l...
122560
### (c) 2006 <NAME> Produce an array of simple token objects from a string. A simple token object contains these members: type: 'name', 'string', 'number', 'operator' value: string or number value of the token from: index of first character of the token to: index of the last charact...
true
### (c) 2006 PI:NAME:<NAME>END_PI Produce an array of simple token objects from a string. A simple token object contains these members: type: 'name', 'string', 'number', 'operator' value: string or number value of the token from: index of first character of the token to: index of th...
[ { "context": "# Copyright (c) 2013 JeongHoon Byun aka \"Outsider\", <http://blog.outsider.ne.kr/>\n# L", "end": 35, "score": 0.9998748898506165, "start": 21, "tag": "NAME", "value": "JeongHoon Byun" }, { "context": "# Copyright (c) 2013 JeongHoon Byun aka \"Outsider\", <http://blog.o...
test/timeline.test.coffee
uppalapatisujitha/CodingConventionofCommitHistory
421
# Copyright (c) 2013 JeongHoon Byun aka "Outsider", <http://blog.outsider.ne.kr/> # Licensed under the MIT license. # <http://outsider.mit-license.org/> should = require 'should' fs = require 'fs' timeline = require '../src/timeline' describe 'timeline >', -> timelineFixture = '' before -> timelineFixture =...
81697
# Copyright (c) 2013 <NAME> aka "Outsider", <http://blog.outsider.ne.kr/> # Licensed under the MIT license. # <http://outsider.mit-license.org/> should = require 'should' fs = require 'fs' timeline = require '../src/timeline' describe 'timeline >', -> timelineFixture = '' before -> timelineFixture = fs.read...
true
# Copyright (c) 2013 PI:NAME:<NAME>END_PI aka "Outsider", <http://blog.outsider.ne.kr/> # Licensed under the MIT license. # <http://outsider.mit-license.org/> should = require 'should' fs = require 'fs' timeline = require '../src/timeline' describe 'timeline >', -> timelineFixture = '' before -> timelineFixt...
[ { "context": " been helped along thanks to the fine work of'\n 'Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.ht", "end": 894, "score": 0.9992694854736328, "start": 884, "tag": "NAME", "value": "Eric Meyer" }, { "context": "com/eric/tools/css/reset/index.html'\n 'along ...
gulp/tasks/style.coffee
tanshio/webpack-react-starter
0
gulp = require "gulp" gulpif = require "gulp-if" $ = require("gulp-load-plugins")() config = require "../../config/config.json" browserSync = require "browser-Sync" cssbanner = ['/*' 'Theme Name: <%= config.wp.title %>' 'Theme URI: <%= config.wp.homepage %>' 'Author: <%= con...
34288
gulp = require "gulp" gulpif = require "gulp-if" $ = require("gulp-load-plugins")() config = require "../../config/config.json" browserSync = require "browser-Sync" cssbanner = ['/*' 'Theme Name: <%= config.wp.title %>' 'Theme URI: <%= config.wp.homepage %>' 'Author: <%= con...
true
gulp = require "gulp" gulpif = require "gulp-if" $ = require("gulp-load-plugins")() config = require "../../config/config.json" browserSync = require "browser-Sync" cssbanner = ['/*' 'Theme Name: <%= config.wp.title %>' 'Theme URI: <%= config.wp.homepage %>' 'Author: <%= con...
[ { "context": "ync().then ()=>\n @Model.createAsync({name:\"first\", description:\"original\"})\n\n it \"strictFindOne", "end": 686, "score": 0.9669221043586731, "start": 681, "tag": "NAME", "value": "first" }, { "context": ">\n @Model.strictFindOneAsync(\n {name...
test/unit/strictFindOnePluginSpec.coffee
opentable/spur-mongoosemanager
3
describe "strictFindOnePlugin", -> beforeEach ()-> injector().inject (@strictFindOnePlugin, @MongooseManager, @mongoose, @Promise, @config)=> @MongooseManager.connect(@config.Mongo.ConnectionUrl) afterEach ()-> @MongooseManager.disconnect() it "should exist", -> expect(@strictFindOnePlugin).to...
114547
describe "strictFindOnePlugin", -> beforeEach ()-> injector().inject (@strictFindOnePlugin, @MongooseManager, @mongoose, @Promise, @config)=> @MongooseManager.connect(@config.Mongo.ConnectionUrl) afterEach ()-> @MongooseManager.disconnect() it "should exist", -> expect(@strictFindOnePlugin).to...
true
describe "strictFindOnePlugin", -> beforeEach ()-> injector().inject (@strictFindOnePlugin, @MongooseManager, @mongoose, @Promise, @config)=> @MongooseManager.connect(@config.Mongo.ConnectionUrl) afterEach ()-> @MongooseManager.disconnect() it "should exist", -> expect(@strictFindOnePlugin).to...
[ { "context": "#\n# Copyright 2014 Carsten Klein\n#\n# Licensed under the Apache License, Version 2.", "end": 32, "score": 0.9998639822006226, "start": 19, "tag": "NAME", "value": "Carsten Klein" } ]
src/subclassof.coffee
vibejs/vibejs-subclassof
0
# # Copyright 2014 Carsten Klein # # 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 writ...
77062
# # Copyright 2014 <NAME> # # 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, so...
true
# # Copyright 2014 PI:NAME:<NAME>END_PI # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to ...
[ { "context": "http://localhost:9991'\n\nusers = [\n {username: 'iago@zulip.com', password: 'JhwLkBydEG1tAL5P'}\n {username", "end": 4092, "score": 0.9999256730079651, "start": 4078, "tag": "EMAIL", "value": "iago@zulip.com" }, { "context": "[\n {username: 'iago@zulip.com...
tools/deprecated/stress-test/stress-test.coffee
enterstudio/zulip
1
{Session, Stat} = require './support' assert = require 'assert' argv = require('optimist').default({ time: 60 users: 5 'min-wait': 5 'max-wait': 10 }).argv class ZulipSession extends Session constructor: (id, host, {@username, @password}) -> user = @username.split('@')[0] super(hos...
98311
{Session, Stat} = require './support' assert = require 'assert' argv = require('optimist').default({ time: 60 users: 5 'min-wait': 5 'max-wait': 10 }).argv class ZulipSession extends Session constructor: (id, host, {@username, @password}) -> user = @username.split('@')[0] super(hos...
true
{Session, Stat} = require './support' assert = require 'assert' argv = require('optimist').default({ time: 60 users: 5 'min-wait': 5 'max-wait': 10 }).argv class ZulipSession extends Session constructor: (id, host, {@username, @password}) -> user = @username.split('@')[0] super(hos...
[ { "context": "(\"url_or_guid\").text()\n\n mail\n from: \"no-reply@test.com\"\n to: guid\n subject: @title\n ", "end": 4208, "score": 0.9998596906661987, "start": 4191, "tag": "EMAIL", "value": "no-reply@test.com" } ]
src/server/litmus-client.coffee
groupon/gleemail
89
### Copyright (c) 2014, Groupon, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following dis...
171744
### Copyright (c) 2014, Groupon, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following dis...
true
### Copyright (c) 2014, Groupon, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following dis...
[ { "context": "email: tmpl.$('#inputEmail').val()\n password: password\n }\n\n Meteor.call 'createUserByInvite', user", "end": 868, "score": 0.9991316199302673, "start": 860, "tag": "PASSWORD", "value": "password" } ]
client/templates/sign-up/sign-up.coffee
JSSolutions/Dataforce
2
Template.SignUp.onCreated -> @errorMessage = new ReactiveVar(false) @email = new ReactiveVar() Meteor.call 'getEmailByInviteId', @data.inviteId, (err, email) => if err @errorMessage.set err.toString() else @email.set email Template.SignUp.helpers errorMessage: -> Template.instance().error...
144876
Template.SignUp.onCreated -> @errorMessage = new ReactiveVar(false) @email = new ReactiveVar() Meteor.call 'getEmailByInviteId', @data.inviteId, (err, email) => if err @errorMessage.set err.toString() else @email.set email Template.SignUp.helpers errorMessage: -> Template.instance().error...
true
Template.SignUp.onCreated -> @errorMessage = new ReactiveVar(false) @email = new ReactiveVar() Meteor.call 'getEmailByInviteId', @data.inviteId, (err, email) => if err @errorMessage.set err.toString() else @email.set email Template.SignUp.helpers errorMessage: -> Template.instance().error...
[ { "context": "#############\n#\n#\tMoocita collections\n# Created by Markus on 26/10/2015.\n#\n################################", "end": 99, "score": 0.9995012283325195, "start": 93, "tag": "NAME", "value": "Markus" } ]
server/publications/posts.coffee
agottschalk10/worklearn
0
####################################################### # # Moocita collections # Created by Markus on 26/10/2015. # ####################################################### ####################################################### Meteor.publish "posts", (group_name) -> check group_name, String user_id = this.userId ...
215813
####################################################### # # Moocita collections # Created by <NAME> on 26/10/2015. # ####################################################### ####################################################### Meteor.publish "posts", (group_name) -> check group_name, String user_id = this.userId ...
true
####################################################### # # Moocita collections # Created by PI:NAME:<NAME>END_PI on 26/10/2015. # ####################################################### ####################################################### Meteor.publish "posts", (group_name) -> check group_name, String user_id ...
[ { "context": "nk-you-for-considering'\n hashedToken: 'ZOGZOX7K4XywpyNFjVS+6SfbXFux8FNW7VT6NWmsz6E='\n metadata:\n tag: 'hello'\n", "end": 860, "score": 0.9941454529762268, "start": 815, "tag": "KEY", "value": "ZOGZOX7K4XywpyNFjVS+6SfbXFux8FNW7VT6NWmsz6E='" ...
test/revoke-all-tokens.coffee
octoblu/meshblu-core-task-revoke-all-tokens
0
_ = require 'lodash' mongojs = require 'mongojs' Datastore = require 'meshblu-core-datastore' RevokeAllTokens = require '..' describe 'RevokeAllTokens', -> beforeEach (done) -> @uuidAliasResolver = resolve: (uuid, callback) => callback null, uuid database = mongojs 'meshblu-core-...
156426
_ = require 'lodash' mongojs = require 'mongojs' Datastore = require 'meshblu-core-datastore' RevokeAllTokens = require '..' describe 'RevokeAllTokens', -> beforeEach (done) -> @uuidAliasResolver = resolve: (uuid, callback) => callback null, uuid database = mongojs 'meshblu-core-...
true
_ = require 'lodash' mongojs = require 'mongojs' Datastore = require 'meshblu-core-datastore' RevokeAllTokens = require '..' describe 'RevokeAllTokens', -> beforeEach (done) -> @uuidAliasResolver = resolve: (uuid, callback) => callback null, uuid database = mongojs 'meshblu-core-...
[ { "context": "# a simple syntax highlighter for Asteroid\n# (c) Lutz Hamel, Jeffrey Drummond - University of Rhode Island\n\n'", "end": 59, "score": 0.9998592138290405, "start": 49, "tag": "NAME", "value": "Lutz Hamel" }, { "context": " syntax highlighter for Asteroid\n# (c) Lutz Ham...
grammars/asteroid.cson
lutzhamel/language-asteroid
1
# a simple syntax highlighter for Asteroid # (c) Lutz Hamel, Jeffrey Drummond - University of Rhode Island 'scopeName': 'source.asteroid' 'name': 'Asteroid' 'fileTypes': ['ast', 'asteroid'] 'limitLineLength': false 'patterns': [ ################## { # comments 'match': '(--.*(\\n|$))|(#.*(\\n|$))' 'name': ...
148597
# a simple syntax highlighter for Asteroid # (c) <NAME>, <NAME> - University of Rhode Island 'scopeName': 'source.asteroid' 'name': 'Asteroid' 'fileTypes': ['ast', 'asteroid'] 'limitLineLength': false 'patterns': [ ################## { # comments 'match': '(--.*(\\n|$))|(#.*(\\n|$))' 'name': 'comment.line....
true
# a simple syntax highlighter for Asteroid # (c) PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI - University of Rhode Island 'scopeName': 'source.asteroid' 'name': 'Asteroid' 'fileTypes': ['ast', 'asteroid'] 'limitLineLength': false 'patterns': [ ################## { # comments 'match': '(--.*(\\n|$))|(#.*(\\n|$))...
[ { "context": "ish attributes', ->\n data = {\n name: 'bla'\n price: 1\n description: 'blabla'\n ", "end": 1138, "score": 0.9946961402893066, "start": 1135, "tag": "NAME", "value": "bla" }, { "context": ":'blabla',picture:'images/1.png',user:{id:1,name:'jack'...
Resources/specs/models/DishSpec.coffee
yuchenzhang/social_menu_tt
0
describe 'Dish model', -> dish = null beforeEach -> dish = new Ti.Model.Dish describe 'attributes', -> it 'should have its count defined as zero by default', -> expect(dish.attributes.count).toEqual 0 it 'should by default is orderable', -> expect(dish.attributes.orderable).toEqual true...
166667
describe 'Dish model', -> dish = null beforeEach -> dish = new Ti.Model.Dish describe 'attributes', -> it 'should have its count defined as zero by default', -> expect(dish.attributes.count).toEqual 0 it 'should by default is orderable', -> expect(dish.attributes.orderable).toEqual true...
true
describe 'Dish model', -> dish = null beforeEach -> dish = new Ti.Model.Dish describe 'attributes', -> it 'should have its count defined as zero by default', -> expect(dish.attributes.count).toEqual 0 it 'should by default is orderable', -> expect(dish.attributes.orderable).toEqual true...
[ { "context": "- - - - - - - - - - - - - - - #\n# Copyright © 2015 Denis Luchkin-Zhou #\n# See L", "end": 277, "score": 0.9998679757118225, "start": 259, "tag": "NAME", "value": "Denis Luchkin-Zhou" } ]
gulp/aliases.coffee
jluchiji/tranzit
0
# --------------------------------------------------------------------------- # # wyvernzora.ninja build script. # # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # Copyright © 2015 Denis Luchkin-Zhou # ...
160271
# --------------------------------------------------------------------------- # # wyvernzora.ninja build script. # # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # Copyright © 2015 <NAME> # # See LICENS...
true
# --------------------------------------------------------------------------- # # wyvernzora.ninja build script. # # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # Copyright © 2015 PI:NAME:<NAME>END_PI ...
[ { "context": "# Looks Good To Me\n# by Nikolai Warner, 2012\n\nclass LooksGoodToMe\n constructor: (option", "end": 38, "score": 0.9998862147331238, "start": 24, "tag": "NAME", "value": "Nikolai Warner" }, { "context": "comments, for example:\n # https://github.com/nikolaiwarner...
lgtm.coffee
WalrusCow/Looks-Good-To-Me
0
# Looks Good To Me # by Nikolai Warner, 2012 class LooksGoodToMe constructor: (options={}) -> @refresh_rate = options.refresh_rate || 5 * 60000 @ci_status_selector = options.ci_status_selector || 'status_icon' @default_plus_one_message = options.default_plus_one_message || '+1' @good = options.goo...
166037
# Looks Good To Me # by <NAME>, 2012 class LooksGoodToMe constructor: (options={}) -> @refresh_rate = options.refresh_rate || 5 * 60000 @ci_status_selector = options.ci_status_selector || 'status_icon' @default_plus_one_message = options.default_plus_one_message || '+1' @good = options.good || 1 ...
true
# Looks Good To Me # by PI:NAME:<NAME>END_PI, 2012 class LooksGoodToMe constructor: (options={}) -> @refresh_rate = options.refresh_rate || 5 * 60000 @ci_status_selector = options.ci_status_selector || 'status_icon' @default_plus_one_message = options.default_plus_one_message || '+1' @good = optio...
[ { "context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li", "end": 43, "score": 0.9999133348464966, "start": 29, "tag": "EMAIL", "value": "contact@ppy.sh" } ]
resources/assets/coffee/react/_components/user-avatar.coffee
osu-katakuna/osu-katakuna-web
5
# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0. # See the LICENCE file in the repository root for full licence text. import * as React from 'react' import { div } from 'react-dom-factories' bn = 'avatar' export UserAvatar = (props) -> if props.user.id? d...
21380
# Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0. # See the LICENCE file in the repository root for full licence text. import * as React from 'react' import { div } from 'react-dom-factories' bn = 'avatar' export UserAvatar = (props) -> if props.user.id? div ...
true
# Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0. # See the LICENCE file in the repository root for full licence text. import * as React from 'react' import { div } from 'react-dom-factories' bn = 'avatar' export UserAvatar = (props) -> if props.user.i...
[ { "context": " @name grunt-chalkboard\n# @url https://github.com/adrianlee44/grunt-chalkboard\n#\n# @copyright Copyright (c) 201", "end": 82, "score": 0.999178409576416, "start": 71, "tag": "USERNAME", "value": "adrianlee44" }, { "context": "grunt-chalkboard\n#\n# @copyright Copyrigh...
src/chalkboard.coffee
gruntjs-updater/grunt-chalkboard
0
# # @chalk overview # @name grunt-chalkboard # @url https://github.com/adrianlee44/grunt-chalkboard # # @copyright Copyright (c) 2013 Adrian Lee # @license Licensed under the MIT license. # module.exports = (grunt) -> grunt.registerMultiTask "chalkboard", "A simple grunt task to make documentation easier.", -> ...
28986
# # @chalk overview # @name grunt-chalkboard # @url https://github.com/adrianlee44/grunt-chalkboard # # @copyright Copyright (c) 2013 <NAME> # @license Licensed under the MIT license. # module.exports = (grunt) -> grunt.registerMultiTask "chalkboard", "A simple grunt task to make documentation easier.", -> path...
true
# # @chalk overview # @name grunt-chalkboard # @url https://github.com/adrianlee44/grunt-chalkboard # # @copyright Copyright (c) 2013 PI:NAME:<NAME>END_PI # @license Licensed under the MIT license. # module.exports = (grunt) -> grunt.registerMultiTask "chalkboard", "A simple grunt task to make documentation easier....
[ { "context": "sions = (v) ->\n ret = {}\n for obj in v\n key = prng(16)\n hmac = hmac_obj({obj, key}).toString('hex')\n", "end": 722, "score": 0.8976977467536926, "start": 715, "tag": "KEY", "value": "prng(16" }, { "context": " arg =\n user :\n local :\n userna...
test/files/expand.iced
Dexvirxx/proofs
118
{prng} = require 'crypto' {expand_json,stub_json,hmac_obj} = require '../../lib/expand' triplesec = require('triplesec') pgp_utils = require('pgp-utils') {katch,json_stringify_sorted} = pgp_utils.util {KeyManager} = require('kbpgp').kb {prng} = require 'crypto' {constants,errors,alloc,Cryptocurrency} = require '../../'...
88897
{prng} = require 'crypto' {expand_json,stub_json,hmac_obj} = require '../../lib/expand' triplesec = require('triplesec') pgp_utils = require('pgp-utils') {katch,json_stringify_sorted} = pgp_utils.util {KeyManager} = require('kbpgp').kb {prng} = require 'crypto' {constants,errors,alloc,Cryptocurrency} = require '../../'...
true
{prng} = require 'crypto' {expand_json,stub_json,hmac_obj} = require '../../lib/expand' triplesec = require('triplesec') pgp_utils = require('pgp-utils') {katch,json_stringify_sorted} = pgp_utils.util {KeyManager} = require('kbpgp').kb {prng} = require 'crypto' {constants,errors,alloc,Cryptocurrency} = require '../../'...
[ { "context": "T /cache', ->\n beforeEach ->\n @publicKey = '''-----BEGIN PUBLIC KEY-----\nMFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAILmZ+FAnHRH5uxDCjuZNf4/NO1+RlnB\nrgGbCwRSmrezo4kBnAcOEx54m18toGFLI40oHFazEgvOM3F1N3jxelkCAwEAAQ==\n-----END PUBLIC KEY-----'''\n @privateKey = '''-----BEGIN RSA PRIVATE KE", "end...
test/integration/post-cache-spec.coffee
octoblu/meshblu-ref-cache-service
0
{beforeEach, afterEach, describe, it} = global {expect} = require 'chai' sinon = require 'sinon' request = require 'request' enableDestroy = require 'server-destroy' Server = require '../../src/server' Redis = require 'ioredis' RedisNS = require '@octoblu/redis-ns' UUID ...
199880
{beforeEach, afterEach, describe, it} = global {expect} = require 'chai' sinon = require 'sinon' request = require 'request' enableDestroy = require 'server-destroy' Server = require '../../src/server' Redis = require 'ioredis' RedisNS = require '@octoblu/redis-ns' UUID ...
true
{beforeEach, afterEach, describe, it} = global {expect} = require 'chai' sinon = require 'sinon' request = require 'request' enableDestroy = require 'server-destroy' Server = require '../../src/server' Redis = require 'ioredis' RedisNS = require '@octoblu/redis-ns' UUID ...
[ { "context": "scope = $rootScope\n scope.model =\n name: \"username\"\n email: \"me@home.com\"\n number: 150\n\n ", "end": 1215, "score": 0.9960864782333374, "start": 1207, "tag": "USERNAME", "value": "username" }, { "context": "cope.model =\n name: \"username...
src/input-errors/input-errors_test.coffee
bsm/angular-ui-bootstrap-more
0
describe 'provider: bsInputErrorsConfig', -> subject = null beforeEach module('ui.bootstrap.more.input-errors') beforeEach inject((bsInputErrorsConfig) -> subject = bsInputErrorsConfig ) it 'should have config', -> expect(subject.messages).toBeDefined() expect(Object.keys(subject.messages).lengt...
2402
describe 'provider: bsInputErrorsConfig', -> subject = null beforeEach module('ui.bootstrap.more.input-errors') beforeEach inject((bsInputErrorsConfig) -> subject = bsInputErrorsConfig ) it 'should have config', -> expect(subject.messages).toBeDefined() expect(Object.keys(subject.messages).lengt...
true
describe 'provider: bsInputErrorsConfig', -> subject = null beforeEach module('ui.bootstrap.more.input-errors') beforeEach inject((bsInputErrorsConfig) -> subject = bsInputErrorsConfig ) it 'should have config', -> expect(subject.messages).toBeDefined() expect(Object.keys(subject.messages).lengt...
[ { "context": "RL, currently just for debugging\n#\n#\n# Author:\n# Chris Coveney <xkickflip@gmail.com>\n\nmodule.exports = (robot) -", "end": 600, "score": 0.9998012781143188, "start": 587, "tag": "NAME", "value": "Chris Coveney" }, { "context": "st for debugging\n#\n#\n# Author:\n...
node_modules/hubot-jira-linkifier/src/jira-linkifier.coffee
grokify/glipbot-demos-enterprise
0
# Description # Hubot listens for a list of your Jira project codes and responds with full clickable links to the tickets # that are generated from the configured Jira base url. # # Configuration: # HUBOT_JIRA_LINKIFIER_JIRA_URL # HUBOT_JIRA_LINKIFIER_PROJECT_PREFIXES # # Commands: # hubot jl url - Respond...
10197
# Description # Hubot listens for a list of your Jira project codes and responds with full clickable links to the tickets # that are generated from the configured Jira base url. # # Configuration: # HUBOT_JIRA_LINKIFIER_JIRA_URL # HUBOT_JIRA_LINKIFIER_PROJECT_PREFIXES # # Commands: # hubot jl url - Respond...
true
# Description # Hubot listens for a list of your Jira project codes and responds with full clickable links to the tickets # that are generated from the configured Jira base url. # # Configuration: # HUBOT_JIRA_LINKIFIER_JIRA_URL # HUBOT_JIRA_LINKIFIER_PROJECT_PREFIXES # # Commands: # hubot jl url - Respond...
[ { "context": " blogName: \"yahoo.tumblr.com\"\n appKey: \"NOTHING\"\n debug: false\n\n # Merge default settings", "end": 155, "score": 0.9499258995056152, "start": 148, "tag": "KEY", "value": "NOTHING" } ]
jQuery.tumblr-random-posts.coffee
razagill/tumblr-random-posts
5
$ = jQuery $.fn.extend tumblrRandomPosts: (options) -> # Default settings settings = blogName: "yahoo.tumblr.com" appKey: "NOTHING" debug: false # Merge default settings with options. settings = $.extend settings, options # Simple logger. log = (msg) -> console?.lo...
42570
$ = jQuery $.fn.extend tumblrRandomPosts: (options) -> # Default settings settings = blogName: "yahoo.tumblr.com" appKey: "<KEY>" debug: false # Merge default settings with options. settings = $.extend settings, options # Simple logger. log = (msg) -> console?.log ...
true
$ = jQuery $.fn.extend tumblrRandomPosts: (options) -> # Default settings settings = blogName: "yahoo.tumblr.com" appKey: "PI:KEY:<KEY>END_PI" debug: false # Merge default settings with options. settings = $.extend settings, options # Simple logger. log = (msg) -> ...
[ { "context": "###\n * 测试\n * @author jackieLin <dashi_lin@163.com>\n###\n\n'use strict'\n\nrequire 's", "end": 30, "score": 0.9284088611602783, "start": 21, "tag": "NAME", "value": "jackieLin" }, { "context": "###\n * 测试\n * @author jackieLin <dashi_lin@163.com>\n###\n\n'use strict'\...
test/test.coffee
JackieLin/store
0
### * 测试 * @author jackieLin <dashi_lin@163.com> ### 'use strict' require 'should' store = require '../dist/store' describe '测试 store', -> ### * 更新数据 ### it '#updateall()', -> store.updateAll() ### * 测试删除方法 ### it '#destory()', -> Object.keys(store.destroy()).len...
213248
### * 测试 * @author <NAME> <<EMAIL>> ### 'use strict' require 'should' store = require '../dist/store' describe '测试 store', -> ### * 更新数据 ### it '#updateall()', -> store.updateAll() ### * 测试删除方法 ### it '#destory()', -> Object.keys(store.destroy()).length.should.eq...
true
### * 测试 * @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> ### 'use strict' require 'should' store = require '../dist/store' describe '测试 store', -> ### * 更新数据 ### it '#updateall()', -> store.updateAll() ### * 测试删除方法 ### it '#destory()', -> Object.keys(stor...
[ { "context": "can be an array or string, see https://github.com/docpad/docpad-plugin-sass/pull/26\n\n\t\t\t\t# Sourcemaps or s", "end": 2696, "score": 0.9895913600921631, "start": 2690, "tag": "USERNAME", "value": "docpad" }, { "context": "\t\t\t\t\tcommand.push('--require')\n\t\t\t\...
source/index.coffee
docpad/docpad-plugin-sass
0
# Export Plugin module.exports = (BasePlugin) -> # Requires safeps = require('safeps') fs = require('fs') {TaskGroup} = require('taskgroup') # Define Plugin class SassPlugin extends BasePlugin # Plugin name name: 'sass' # Plugin config # Only on the development environment use expanded, otherwise use co...
130984
# Export Plugin module.exports = (BasePlugin) -> # Requires safeps = require('safeps') fs = require('fs') {TaskGroup} = require('taskgroup') # Define Plugin class SassPlugin extends BasePlugin # Plugin name name: 'sass' # Plugin config # Only on the development environment use expanded, otherwise use co...
true
# Export Plugin module.exports = (BasePlugin) -> # Requires safeps = require('safeps') fs = require('fs') {TaskGroup} = require('taskgroup') # Define Plugin class SassPlugin extends BasePlugin # Plugin name name: 'sass' # Plugin config # Only on the development environment use expanded, otherwise use co...
[ { "context": "t shout down every idea I have? How about you call Bruce Springsteen and tell him to get another nickname since you're", "end": 364, "score": 0.9053998589515686, "start": 347, "tag": "NAME", "value": "Bruce Springsteen" }, { "context": "You want the mustache on, or off?...
src/scripts/sealab.coffee
Reelhouse/hubot-scripts
1,450
# Description: # Respond to specific phrases with quotes from Sealab 2021 # # Configuration: # None # # Commands: # /(did|can) hubot/ - "Not me! I'm gonna be an Adrienne Barbeau-bot" # energy - "I have the energy of a bear that has the energy of two bears!" # bad idea - "Oh why don't you just shout down every idea ...
30443
# Description: # Respond to specific phrases with quotes from Sealab 2021 # # Configuration: # None # # Commands: # /(did|can) hubot/ - "Not me! I'm gonna be an Adrienne Barbeau-bot" # energy - "I have the energy of a bear that has the energy of two bears!" # bad idea - "Oh why don't you just shout down every idea ...
true
# Description: # Respond to specific phrases with quotes from Sealab 2021 # # Configuration: # None # # Commands: # /(did|can) hubot/ - "Not me! I'm gonna be an Adrienne Barbeau-bot" # energy - "I have the energy of a bear that has the energy of two bears!" # bad idea - "Oh why don't you just shout down every idea ...
[ { "context": "-- monmigrate ---\n\nReleased under MIT license.\n\nby Gustavo Vargas - @xgvargas - 2018\n\nOriginal coffee code and issu", "end": 71, "score": 0.9998815655708313, "start": 57, "tag": "NAME", "value": "Gustavo Vargas" }, { "context": "\n\nReleased under MIT license.\n\n...
src/cli.coffee
xgvargas/monmigrate
0
###! --- monmigrate --- Released under MIT license. by Gustavo Vargas - @xgvargas - 2018 Original coffee code and issues at: https://github.com/xgvargas/monmigrate ### yargs = require 'yargs' argv = yargs .wrap yargs.terminalWidth() .strict yes .alias 'h', 'help' # .config 'cfg' .usage 'Usage: $0 [options] [comman...
129309
###! --- monmigrate --- Released under MIT license. by <NAME> - @xgvargas - 2018 Original coffee code and issues at: https://github.com/xgvargas/monmigrate ### yargs = require 'yargs' argv = yargs .wrap yargs.terminalWidth() .strict yes .alias 'h', 'help' # .config 'cfg' .usage 'Usage: $0 [options] [command]' .epi...
true
###! --- monmigrate --- Released under MIT license. by PI:NAME:<NAME>END_PI - @xgvargas - 2018 Original coffee code and issues at: https://github.com/xgvargas/monmigrate ### yargs = require 'yargs' argv = yargs .wrap yargs.terminalWidth() .strict yes .alias 'h', 'help' # .config 'cfg' .usage 'Usage: $0 [options] [...
[ { "context": "}}', ->\n valid_item =\n active: yes\n name: 'George'\n\n valid_update =\n name: 'John'\n\n invalid_it", "end": 74, "score": 0.9977479577064514, "start": 68, "tag": "NAME", "value": "George" }, { "context": "s\n name: 'George'\n\n valid_update =\n nam...
bin/templates/test.iced
tosadvisor/link-shortener
7
describe '/{{lower}}', -> valid_item = active: yes name: 'George' valid_update = name: 'John' invalid_item = _.clone valid_item delete invalid_item.name it 'should allow a new document to be created', (done) -> await client.post '/{{lower}}', {}, valid_item, defer e,r if e then return d...
51625
describe '/{{lower}}', -> valid_item = active: yes name: '<NAME>' valid_update = name: '<NAME>' invalid_item = _.clone valid_item delete invalid_item.name it 'should allow a new document to be created', (done) -> await client.post '/{{lower}}', {}, valid_item, defer e,r if e then return...
true
describe '/{{lower}}', -> valid_item = active: yes name: 'PI:NAME:<NAME>END_PI' valid_update = name: 'PI:NAME:<NAME>END_PI' invalid_item = _.clone valid_item delete invalid_item.name it 'should allow a new document to be created', (done) -> await client.post '/{{lower}}', {}, valid_item, de...
[ { "context": "mage*-1)\n if (damage > 0)\n @announce cb, \"Evan chilled out. His case was increased by \" + damage", "end": 375, "score": 0.9953721165657043, "start": 371, "tag": "NAME", "value": "Evan" }, { "context": "by \" + damage + \".\"\n else\n @announce cb, \"...
src/js/moves/cool.coffee
Huntrr/Battle-Resolution
0
$ = require './../lib/jquery.js' Move = require './../move.coffee' # PROOF BY ASSERTION IS A VALID TACTIC OF ARGUMENT module.exports = class Cool extends Move constructor: () -> super 'COOL EGO' getDamage: () -> return @user.civility use: (cb) -> super() damage = @getDamage() @user.damage(d...
61940
$ = require './../lib/jquery.js' Move = require './../move.coffee' # PROOF BY ASSERTION IS A VALID TACTIC OF ARGUMENT module.exports = class Cool extends Move constructor: () -> super 'COOL EGO' getDamage: () -> return @user.civility use: (cb) -> super() damage = @getDamage() @user.damage(d...
true
$ = require './../lib/jquery.js' Move = require './../move.coffee' # PROOF BY ASSERTION IS A VALID TACTIC OF ARGUMENT module.exports = class Cool extends Move constructor: () -> super 'COOL EGO' getDamage: () -> return @user.civility use: (cb) -> super() damage = @getDamage() @user.damage(d...
[ { "context": "Size : (512*3)/32\n\ninputs = [\n {\n password : \"cats11\"\n salt : \"aabbccddeeff\"\n },{\n password : \"", "end": 157, "score": 0.9991316795349121, "start": 151, "tag": "PASSWORD", "value": "cats11" }, { "context": "\"\n salt : \"aabbccddeeff\"\n },{\n...
test/gen/gen_pbkdf2.iced
CyberFlameGO/triplesec
274
{CryptoJS} = require 'cryptojs-1sp' opts = hasher : CryptoJS.algo.SHA512 iterations : 64 keySize : (512*3)/32 inputs = [ { password : "cats11" salt : "aabbccddeeff" },{ password : "yo ho ho and a bottle of rum" salt : "1234abcd9876" },{ password : "let me in!" salt : "0123456789"...
155619
{CryptoJS} = require 'cryptojs-1sp' opts = hasher : CryptoJS.algo.SHA512 iterations : 64 keySize : (512*3)/32 inputs = [ { password : "<PASSWORD>" salt : "aabbccddeeff" },{ password : "<PASSWORD>" salt : "<PASSWORD>" },{ password : "<PASSWORD>!" salt : "0123456789" },{ pass...
true
{CryptoJS} = require 'cryptojs-1sp' opts = hasher : CryptoJS.algo.SHA512 iterations : 64 keySize : (512*3)/32 inputs = [ { password : "PI:PASSWORD:<PASSWORD>END_PI" salt : "aabbccddeeff" },{ password : "PI:PASSWORD:<PASSWORD>END_PI" salt : "PI:PASSWORD:<PASSWORD>END_PI" },{ password ...
[ { "context": "in package.json to \"awe-test-package\")\n repo: 'git@github.com:alberon/awe.git'\n\n # Delete files\n clean:\n ", "end": 322, "score": 0.9992977380752563, "start": 308, "tag": "EMAIL", "value": "git@github.com" }, { "context": " to \"awe-test-package\")\n r...
Gruntfile.coffee
davejamesmiller/awe
0
chalk = require('chalk') fs = require('fs') semver = require('semver') module.exports = (grunt) -> pkg = grunt.file.readJSON('package.json') grunt.initConfig pkg: pkg # Change this for testing the publish task # (Also change "name" in package.json to "awe-test-package") repo: 'git@github.c...
75017
chalk = require('chalk') fs = require('fs') semver = require('semver') module.exports = (grunt) -> pkg = grunt.file.readJSON('package.json') grunt.initConfig pkg: pkg # Change this for testing the publish task # (Also change "name" in package.json to "awe-test-package") repo: '<EMAIL>:albe...
true
chalk = require('chalk') fs = require('fs') semver = require('semver') module.exports = (grunt) -> pkg = grunt.file.readJSON('package.json') grunt.initConfig pkg: pkg # Change this for testing the publish task # (Also change "name" in package.json to "awe-test-package") repo: 'PI:EMAIL:<EM...
[ { "context": "#\n#/*!\n# * node-uglifier\n# * Copyright (c) 2014 Zsolt Szabo Istvan\n# * MIT Licensed\n# *\n# */\n#\n\n_ = require('undersc", "end": 66, "score": 0.9998455047607422, "start": 48, "tag": "NAME", "value": "Zsolt Szabo Istvan" } ]
src/libs/cryptoUtils.coffee
BenHall/node-uglifier
185
# #/*! # * node-uglifier # * Copyright (c) 2014 Zsolt Szabo Istvan # * MIT Licensed # * # */ # _ = require('underscore') sugar = require('sugar') crypto=require("crypto") seedrandom=require("seedrandom") cryptoUtils=module.exports cryptoUtils.generateSalt=(saltLength)->crypto.randomBytes(Math.ceil(saltLength / 2)).t...
27789
# #/*! # * node-uglifier # * Copyright (c) 2014 <NAME> # * MIT Licensed # * # */ # _ = require('underscore') sugar = require('sugar') crypto=require("crypto") seedrandom=require("seedrandom") cryptoUtils=module.exports cryptoUtils.generateSalt=(saltLength)->crypto.randomBytes(Math.ceil(saltLength / 2)).toString('hex...
true
# #/*! # * node-uglifier # * Copyright (c) 2014 PI:NAME:<NAME>END_PI # * MIT Licensed # * # */ # _ = require('underscore') sugar = require('sugar') crypto=require("crypto") seedrandom=require("seedrandom") cryptoUtils=module.exports cryptoUtils.generateSalt=(saltLength)->crypto.randomBytes(Math.ceil(saltLength / 2))...
[ { "context": " user = RocketChat.models.Users.findOne({username: username})\n if user? and user.avatarUrl?\n ", "end": 113, "score": 0.9657111167907715, "start": 105, "tag": "USERNAME", "value": "username" }, { "context": " return user.avatarUrl\n k...
rocketchat/packages/rocketchat-ui/lib/getAvatarUrlFromUsername.coffee
Ritesh1991/mobile_app_server
0
@getAvatarUrlFromUsername = (username) -> user = RocketChat.models.Users.findOne({username: username}) if user? and user.avatarUrl? return user.avatarUrl key = "avatar_random_#{username}" random = Session?.keys[key] or 0 if not u...
121652
@getAvatarUrlFromUsername = (username) -> user = RocketChat.models.Users.findOne({username: username}) if user? and user.avatarUrl? return user.avatarUrl key = "<KEY> random = Session?.keys[key] or 0 if not username? ...
true
@getAvatarUrlFromUsername = (username) -> user = RocketChat.models.Users.findOne({username: username}) if user? and user.avatarUrl? return user.avatarUrl key = "PI:KEY:<KEY>END_PI random = Session?.keys[key] or 0 if not username?...
[ { "context": ">\n clean = (key) ->\n key = key.replace /:/g, 'IDBI'\n key.replace /\\//g, 'IIDI'\n unclean = (key) ", "end": 150, "score": 0.9320762753486633, "start": 146, "tag": "KEY", "value": "IDBI" }, { "context": " key.replace /:/g, 'IDBI'\n key.replace /\\//g, 'IIDI...
src/local-fs.coffee
ndxbxrme/rsdb
0
fs = require 'fs-extra' glob = require 'glob' path = require 'path' module.exports = (config) -> clean = (key) -> key = key.replace /:/g, 'IDBI' key.replace /\//g, 'IIDI' unclean = (key) -> key = key.replace /IDBI/g, ':' key = key.replace /IIDI/g, '/' regex = new RegExp '^' + path.join(config.l...
165712
fs = require 'fs-extra' glob = require 'glob' path = require 'path' module.exports = (config) -> clean = (key) -> key = key.replace /:/g, '<KEY>' key.replace /\//g, '<KEY>' unclean = (key) -> key = key.replace /IDBI/g, ':' key = key.replace /IIDI/g, '/' regex = new RegExp '^' + path.join(config...
true
fs = require 'fs-extra' glob = require 'glob' path = require 'path' module.exports = (config) -> clean = (key) -> key = key.replace /:/g, 'PI:KEY:<KEY>END_PI' key.replace /\//g, 'PI:KEY:<KEY>END_PI' unclean = (key) -> key = key.replace /IDBI/g, ':' key = key.replace /IIDI/g, '/' regex = new Reg...
[ { "context": "dow\n# BBNS.error 'Whoops, we are out of stock on Simon Talek', window.location\n#\n# It basically works li", "end": 1369, "score": 0.5451070666313171, "start": 1364, "tag": "NAME", "value": "Simon" } ]
src/coffeescript/log.js.coffee
mihar/backbone-skeleton
6
# Protection against exceptions when window.console is not defined. window.console = {} if not window.console unless console.log console.log = -> unless console.warn console.warn = -> unless console.error console.error = -> unless console.info console.info = -> # Main log output function. BBNS.console_output =...
194607
# Protection against exceptions when window.console is not defined. window.console = {} if not window.console unless console.log console.log = -> unless console.warn console.warn = -> unless console.error console.error = -> unless console.info console.info = -> # Main log output function. BBNS.console_output =...
true
# Protection against exceptions when window.console is not defined. window.console = {} if not window.console unless console.log console.log = -> unless console.warn console.warn = -> unless console.error console.error = -> unless console.info console.info = -> # Main log output function. BBNS.console_output =...
[ { "context": "tasks.length}}'\n 'input type=\"text\"':\n '@val': '@new_task_name'\n '.d1':\n 'a':\n '@on click': 'addNewTask", "end": 1500, "score": 0.9983041286468506, "start": 1485, "tag": "USERNAME", "value": "'@new_task_name" }, { "context": "lick': 'addNewTask()'\n ...
examples/todo/todo.coffee
aligo/casua
2
TasksCtrl = casua.defineController (scope) -> scope.set 'new_task_name', 'new' addNewTask: -> scope.get('tasks').push 'name': scope.get('new_task_name') scope.set 'new_task_name', '' removeSelectedTasks: -> scope.get('tasks').filter (task) -> not task.get 'done' TaskCtrl = casua.defineController...
28707
TasksCtrl = casua.defineController (scope) -> scope.set 'new_task_name', 'new' addNewTask: -> scope.get('tasks').push 'name': scope.get('new_task_name') scope.set 'new_task_name', '' removeSelectedTasks: -> scope.get('tasks').filter (task) -> not task.get 'done' TaskCtrl = casua.defineController...
true
TasksCtrl = casua.defineController (scope) -> scope.set 'new_task_name', 'new' addNewTask: -> scope.get('tasks').push 'name': scope.get('new_task_name') scope.set 'new_task_name', '' removeSelectedTasks: -> scope.get('tasks').filter (task) -> not task.get 'done' TaskCtrl = casua.defineController...
[ { "context": "'''\nwatchOS : Notification\n\n@auther Jungho song (threeword.com)\n@since 2016.11.23\n'''\nclass expor", "end": 47, "score": 0.9998644590377808, "start": 36, "tag": "NAME", "value": "Jungho song" } ]
modules/watchos-kit-notification.coffee
framer-modules/watchos
2
''' watchOS : Notification @auther Jungho song (threeword.com) @since 2016.11.23 ''' class exports.Notification extends Layer # Button Button = {} # Button : Style Button.Style = {} Button.Style.Default = "buttonStyle.default" Button.Style.Destructive = "buttonStyle.destructive" # Static this.Button = Butto...
181144
''' watchOS : Notification @auther <NAME> (threeword.com) @since 2016.11.23 ''' class exports.Notification extends Layer # Button Button = {} # Button : Style Button.Style = {} Button.Style.Default = "buttonStyle.default" Button.Style.Destructive = "buttonStyle.destructive" # Static this.Button = Button '...
true
''' watchOS : Notification @auther PI:NAME:<NAME>END_PI (threeword.com) @since 2016.11.23 ''' class exports.Notification extends Layer # Button Button = {} # Button : Style Button.Style = {} Button.Style.Default = "buttonStyle.default" Button.Style.Destructive = "buttonStyle.destructive" # Static this.Butto...
[ { "context": "###\nBackbone.js 1.0.0\n\n(c) 2010-2011 Jeremy Ashkenas, DocumentCloud Inc.\n(c) 2011-2013 Jeremy Ashkenas", "end": 52, "score": 0.9998788833618164, "start": 37, "tag": "NAME", "value": "Jeremy Ashkenas" }, { "context": " Jeremy Ashkenas, DocumentCloud Inc.\n(c) 2011-20...
backbone.coffee
Whoaa512/backbone-livescript
1
### Backbone.js 1.0.0 (c) 2010-2011 Jeremy Ashkenas, DocumentCloud Inc. (c) 2011-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors Backbone may be freely distributed under the MIT license. For all details and documentation: http://www.backbonecoffee.org ### # Initial Setup # ------------- #...
62039
### Backbone.js 1.0.0 (c) 2010-2011 <NAME>, DocumentCloud Inc. (c) 2011-2013 <NAME>, DocumentCloud and Investigative Reporters & Editors Backbone may be freely distributed under the MIT license. For all details and documentation: http://www.backbonecoffee.org ### # Initial Setup # ------------- # Save a reference ...
true
### Backbone.js 1.0.0 (c) 2010-2011 PI:NAME:<NAME>END_PI, DocumentCloud Inc. (c) 2011-2013 PI:NAME:<NAME>END_PI, DocumentCloud and Investigative Reporters & Editors Backbone may be freely distributed under the MIT license. For all details and documentation: http://www.backbonecoffee.org ### # Initial Setup # -----...
[ { "context": "= 0\n while i isnt 10\n key = (if (i < 8) then \"push\" else \"pop\")\n array[key] i\n i++\n assertEqu", "end": 2032, "score": 0.41779181361198425, "start": 2028, "tag": "KEY", "value": "push" }, { "context": "i isnt 10\n key = (if (i < 8) then \"push\" el...
deps/v8/test/mjsunit/keyed-call-ic.coffee
lxe/io.coffee
0
# Copyright 2010 the V8 project authors. All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditi...
171759
# Copyright 2010 the V8 project authors. All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditi...
true
# Copyright 2010 the V8 project authors. All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditi...
[ { "context": "Items.SearchBinSets.SearchBinSet.Bin'\n key: 'BinParameter.Value'\n value: 'BinItemCount'\n aggregate: (ke", "end": 328, "score": 0.9392437934875488, "start": 310, "tag": "KEY", "value": "BinParameter.Value" }, { "context": " 'SimilarProducts.SimilarProdu...
example/template.coffee
djelic/json2json
128
tmpl = path: '.' aggregate: total: (key, value, existing) -> if !isArray(value) then value else value.sort().reverse()[0] pages: (key, value, existing) -> if !isArray(value) then value else value.sort().reverse()[0] as: bins: path: 'Items.SearchBinSets.SearchBinSet.Bin' key: 'BinParamet...
124043
tmpl = path: '.' aggregate: total: (key, value, existing) -> if !isArray(value) then value else value.sort().reverse()[0] pages: (key, value, existing) -> if !isArray(value) then value else value.sort().reverse()[0] as: bins: path: 'Items.SearchBinSets.SearchBinSet.Bin' key: '<KEY>' ...
true
tmpl = path: '.' aggregate: total: (key, value, existing) -> if !isArray(value) then value else value.sort().reverse()[0] pages: (key, value, existing) -> if !isArray(value) then value else value.sort().reverse()[0] as: bins: path: 'Items.SearchBinSets.SearchBinSet.Bin' key: 'PI:KEY:<KE...
[ { "context": " ->\n callback(body)\n ).auth( @user, @password, true)\n\n\n # Used to get an object i", "end": 794, "score": 0.8210268020629883, "start": 789, "tag": "USERNAME", "value": "@user" }, { "context": " ->\n callback(body)\n ).a...
src/testrail.coffee
Valencia2019/Node-TestRail
0
request = require("request") API_ROUTE = "/index.php?/api/v2/" class TestRail constructor: (@host, @user, @password) -> # used to construct the host name for the API request # Internal Command # getFullHostName: () -> return @host + API_ROUTE # Used to perform a close command on t...
179628
request = require("request") API_ROUTE = "/index.php?/api/v2/" class TestRail constructor: (@host, @user, @password) -> # used to construct the host name for the API request # Internal Command # getFullHostName: () -> return @host + API_ROUTE # Used to perform a close command on t...
true
request = require("request") API_ROUTE = "/index.php?/api/v2/" class TestRail constructor: (@host, @user, @password) -> # used to construct the host name for the API request # Internal Command # getFullHostName: () -> return @host + API_ROUTE # Used to perform a close command on t...
[ { "context": " list: ['1', '2', '3']\n person:\n name: 'Alexander Schilling'\n job: 'Developer'\n cdata: 'i\\'m not esca", "end": 405, "score": 0.9998220205307007, "start": 386, "tag": "NAME", "value": "Alexander Schilling" } ]
test/mocha/xml.coffee
alinex/node-formatter
0
chai = require 'chai' expect = chai.expect ### eslint-env node, mocha ### fs = require 'fs' debug = require('debug') 'test' chalk = require 'chalk' formatter = require '../../src/index' describe "XML", -> file = __dirname + '/../data/format.xml' format = 'xml' example = fs.readFileSync file, 'UTF8' data = ...
191641
chai = require 'chai' expect = chai.expect ### eslint-env node, mocha ### fs = require 'fs' debug = require('debug') 'test' chalk = require 'chalk' formatter = require '../../src/index' describe "XML", -> file = __dirname + '/../data/format.xml' format = 'xml' example = fs.readFileSync file, 'UTF8' data = ...
true
chai = require 'chai' expect = chai.expect ### eslint-env node, mocha ### fs = require 'fs' debug = require('debug') 'test' chalk = require 'chalk' formatter = require '../../src/index' describe "XML", -> file = __dirname + '/../data/format.xml' format = 'xml' example = fs.readFileSync file, 'UTF8' data = ...
[ { "context": "=============\n# IndexedDB wrapper class\n# Coded by Hajime Oh-yake\n# 2021.01.24 ver0.0.1\n#==========================", "end": 90, "score": 0.9998955726623535, "start": 76, "tag": "NAME", "value": "Hajime Oh-yake" } ]
src/indexStorage.coffee
digitarhythm/indexStorage
0
#===================================== # IndexedDB wrapper class # Coded by Hajime Oh-yake # 2021.01.24 ver0.0.1 #===================================== class indexStorage constructor:(param) -> # define IndexdDB name if (param?) @node_env = param.NODE_ENV || "" else @node_env = "" # Datab...
15657
#===================================== # IndexedDB wrapper class # Coded by <NAME> # 2021.01.24 ver0.0.1 #===================================== class indexStorage constructor:(param) -> # define IndexdDB name if (param?) @node_env = param.NODE_ENV || "" else @node_env = "" # Database vers...
true
#===================================== # IndexedDB wrapper class # Coded by PI:NAME:<NAME>END_PI # 2021.01.24 ver0.0.1 #===================================== class indexStorage constructor:(param) -> # define IndexdDB name if (param?) @node_env = param.NODE_ENV || "" else @node_env = "" #...
[ { "context": "\n\n constructor: ->\n super()\n\n for key in ['w', 'a', 's', 'd']\n $.on key, => @check key, '", "end": 98, "score": 0.6262040138244629, "start": 97, "tag": "KEY", "value": "w" }, { "context": "onstructor: ->\n super()\n\n for key in ['w', 'a', 's', '...
source/module/movement.coffee
notsanchez/genshin-impact-script
0
class MovementX extends KeyBindingX count: 0 constructor: -> super() for key in ['w', 'a', 's', 'd'] $.on key, => @check key, 'down' $.on "#{key}:up", => @check key, 'up' player .on 'move:start', -> if player.isMoving return player.isMoving = true .o...
89662
class MovementX extends KeyBindingX count: 0 constructor: -> super() for key in ['<KEY>', '<KEY>', '<KEY>', 'd'] $.on key, => @check key, 'down' $.on "#{key}:up", => @check key, 'up' player .on 'move:start', -> if player.isMoving return player.isMoving = t...
true
class MovementX extends KeyBindingX count: 0 constructor: -> super() for key in ['PI:KEY:<KEY>END_PI', 'PI:KEY:<KEY>END_PI', 'PI:KEY:<KEY>END_PI', 'd'] $.on key, => @check key, 'down' $.on "#{key}:up", => @check key, 'up' player .on 'move:start', -> if player.isMoving ...
[ { "context": "# jQuery Minical Plugin\n# http://github.com/camerond/jquery-minical\n# version 0.9.4\n#\n# Copyright (c) ", "end": 52, "score": 0.9989273548126221, "start": 44, "tag": "USERNAME", "value": "camerond" }, { "context": "ery-minical\n# version 0.9.4\n#\n# Copyright (c) 201...
wilbur/coffee/minical.coffee
thomasmeagher/Casper
0
# jQuery Minical Plugin # http://github.com/camerond/jquery-minical # version 0.9.4 # # Copyright (c) 2014 Cameron Daigle, http://camerondaigle.com # # 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 So...
151984
# jQuery Minical Plugin # http://github.com/camerond/jquery-minical # version 0.9.4 # # Copyright (c) 2014 <NAME>, http://camerondaigle.com # # 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 w...
true
# jQuery Minical Plugin # http://github.com/camerond/jquery-minical # version 0.9.4 # # Copyright (c) 2014 PI:NAME:<NAME>END_PI, http://camerondaigle.com # # 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 ...
[ { "context": "ispatch('websocket_rails.channel_token', {token: 'abc123'})\n expect(@channel._token).toEqual 'abc123'", "end": 3102, "score": 0.8223152756690979, "start": 3096, "tag": "KEY", "value": "abc123" }, { "context": "'abc123'})\n expect(@channel._token).toEqual 'abc...
spec/javascripts/websocket_rails/channel_spec.coffee
ryanoboril/websocket-rails
943
describe 'WebSocketRails.Channel:', -> beforeEach -> @dispatcher = new class WebSocketRailsStub new_message: -> true dispatch: -> true trigger_event: (event) -> true state: 'connected' _conn: connection_id: 12345 @channel = new WebSocketRails.Channel('public', @dispatcher...
8548
describe 'WebSocketRails.Channel:', -> beforeEach -> @dispatcher = new class WebSocketRailsStub new_message: -> true dispatch: -> true trigger_event: (event) -> true state: 'connected' _conn: connection_id: 12345 @channel = new WebSocketRails.Channel('public', @dispatcher...
true
describe 'WebSocketRails.Channel:', -> beforeEach -> @dispatcher = new class WebSocketRailsStub new_message: -> true dispatch: -> true trigger_event: (event) -> true state: 'connected' _conn: connection_id: 12345 @channel = new WebSocketRails.Channel('public', @dispatcher...
[ { "context": "ateTypingIn $inputor\n data = [{id: 1, name: \"one\"}, {id: 2, name: \"two\"}]\n controller.model.s", "end": 538, "score": 0.8807251453399658, "start": 535, "tag": "NAME", "value": "one" }, { "context": " data = [{id: 1, name: \"one\"}, {id: 2, name: \"two...
spec/javascripts/apis.spec.coffee
spmjs/At.js
1
$inputor = null app = null describe "api", -> beforeEach -> loadFixtures("inputors.html") $inputor = $("#inputor").atwho at: "@", data: fixtures["names"] app = getAppOf $inputor describe "inner", -> controller = null callbacks = null beforeEach -> controller = app.controller() ...
133314
$inputor = null app = null describe "api", -> beforeEach -> loadFixtures("inputors.html") $inputor = $("#inputor").atwho at: "@", data: fixtures["names"] app = getAppOf $inputor describe "inner", -> controller = null callbacks = null beforeEach -> controller = app.controller() ...
true
$inputor = null app = null describe "api", -> beforeEach -> loadFixtures("inputors.html") $inputor = $("#inputor").atwho at: "@", data: fixtures["names"] app = getAppOf $inputor describe "inner", -> controller = null callbacks = null beforeEach -> controller = app.controller() ...
[ { "context": "gramming for microcontrollers\n# Copyright (c) 2013 Jon Nordby <jononor@gmail.com>\n# MicroFlo may be freely dist", "end": 90, "score": 0.9998292922973633, "start": 80, "tag": "NAME", "value": "Jon Nordby" }, { "context": "microcontrollers\n# Copyright (c) 2013 Jon Nord...
test/commandstream.coffee
microflo/microflo
136
### MicroFlo - Flow-Based Programming for microcontrollers # Copyright (c) 2013 Jon Nordby <jononor@gmail.com> # MicroFlo may be freely distributed under the MIT license ### componentlib = null commandstream = null if typeof process != 'undefined' and process.execPath and process.execPath.indexOf('node') != -1 chai ...
200257
### MicroFlo - Flow-Based Programming for microcontrollers # Copyright (c) 2013 <NAME> <<EMAIL>> # MicroFlo may be freely distributed under the MIT license ### componentlib = null commandstream = null if typeof process != 'undefined' and process.execPath and process.execPath.indexOf('node') != -1 chai = require('cha...
true
### MicroFlo - Flow-Based Programming for microcontrollers # Copyright (c) 2013 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> # MicroFlo may be freely distributed under the MIT license ### componentlib = null commandstream = null if typeof process != 'undefined' and process.execPath and process.execPath.indexOf('node'...
[ { "context": "me = req.body.user.last_name\n user.password = req.body.user.password\n\n user.save (err, user_updated)->\n re", "end": 2496, "score": 0.9991980791091919, "start": 2474, "tag": "PASSWORD", "value": "req.body.user.password" } ]
express/controllers/users_controller.coffee
denya133/neemb
0
mongoose = require 'mongoose' uuid = require "node-uuid" _ = require 'lodash' roles = require '../config/roles' User = mongoose.model 'User' Apikey = mongoose.model 'Apikey' Role = mongoose.model 'Role' module.exports = (app, passport, config)-> app.post "/rest-api/sessions", (req, re...
74305
mongoose = require 'mongoose' uuid = require "node-uuid" _ = require 'lodash' roles = require '../config/roles' User = mongoose.model 'User' Apikey = mongoose.model 'Apikey' Role = mongoose.model 'Role' module.exports = (app, passport, config)-> app.post "/rest-api/sessions", (req, re...
true
mongoose = require 'mongoose' uuid = require "node-uuid" _ = require 'lodash' roles = require '../config/roles' User = mongoose.model 'User' Apikey = mongoose.model 'Apikey' Role = mongoose.model 'Role' module.exports = (app, passport, config)-> app.post "/rest-api/sessions", (req, re...
[ { "context": "s file is part of the Konsserto package.\n *\n * (c) Jessym Reziga <jessym@konsserto.com>\n * (c) Marvin Frachet <mar", "end": 74, "score": 0.999890148639679, "start": 61, "tag": "NAME", "value": "Jessym Reziga" }, { "context": "f the Konsserto package.\n *\n * (c) Jess...
node_modules/konsserto/lib/src/Konsserto/Component/HttpKernel/Kernel.coffee
konsserto/konsserto
2
### * This file is part of the Konsserto package. * * (c) Jessym Reziga <jessym@konsserto.com> * (c) Marvin Frachet <marvin@konsserto.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. ### cc = use('cli-color') wait = use('wait.for...
22609
### * This file is part of the Konsserto package. * * (c) <NAME> <<EMAIL>> * (c) <NAME> <<EMAIL>> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. ### cc = use('cli-color') wait = use('wait.for') CONFIG = use('/app/config/config') Ex...
true
### * This file is part of the Konsserto package. * * (c) PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> * (c) PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. ### cc = use('cli-color') wai...
[ { "context": "# Copyright (c) 2008-2013 Michael Dvorkin and contributors.\n#\n# Fat Free CRM is freely dist", "end": 41, "score": 0.9998599886894226, "start": 26, "tag": "NAME", "value": "Michael Dvorkin" } ]
app/assets/javascripts/lists.js.coffee
ramses-lopez/re-crm
1
# Copyright (c) 2008-2013 Michael Dvorkin and contributors. # # Fat Free CRM is freely distributable under the terms of MIT license. # See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php #------------------------------------------------------------------------------ (($) -> class @Lists con...
157027
# Copyright (c) 2008-2013 <NAME> and contributors. # # Fat Free CRM is freely distributable under the terms of MIT license. # See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php #------------------------------------------------------------------------------ (($) -> class @Lists constructor:...
true
# Copyright (c) 2008-2013 PI:NAME:<NAME>END_PI and contributors. # # Fat Free CRM is freely distributable under the terms of MIT license. # See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php #------------------------------------------------------------------------------ (($) -> class @Lists ...
[ { "context": " context: context,\n user_name: 'Niels Wonderweblabs'\n user_name_href: '#/test'\n }", "end": 1647, "score": 0.9997636079788208, "start": 1628, "tag": "NAME", "value": "Niels Wonderweblabs" } ]
build/index.coffee
wonderweblabs/wwl-js-backend
0
require('webcomponentsjs/webcomponents') global.$ = require('jquery') global.jquery = global.jQuery = global.$ global._ = require 'underscore' global.underscore = global._ global.Backbone = require 'backbone' global...
54144
require('webcomponentsjs/webcomponents') global.$ = require('jquery') global.jquery = global.jQuery = global.$ global._ = require 'underscore' global.underscore = global._ global.Backbone = require 'backbone' global...
true
require('webcomponentsjs/webcomponents') global.$ = require('jquery') global.jquery = global.jQuery = global.$ global._ = require 'underscore' global.underscore = global._ global.Backbone = require 'backbone' global...
[ { "context": "# @author Gianluigi Mango\n# Image API\nImageHandler = require './handler/ima", "end": 25, "score": 0.9998661875724792, "start": 10, "tag": "NAME", "value": "Gianluigi Mango" } ]
dev/server/api/imageApi.coffee
knickatheart/mean-api
0
# @author Gianluigi Mango # Image API ImageHandler = require './handler/imageHandler' module.exports = class ImageApi constructor: (@action, @path, @req, @res) -> @imageHandler = new ImageHandler @req console.info '[Query]', action switch @action when 'getProfileImage' then @imageHandler.getProfileImage @...
44073
# @author <NAME> # Image API ImageHandler = require './handler/imageHandler' module.exports = class ImageApi constructor: (@action, @path, @req, @res) -> @imageHandler = new ImageHandler @req console.info '[Query]', action switch @action when 'getProfileImage' then @imageHandler.getProfileImage @path, @re...
true
# @author PI:NAME:<NAME>END_PI # Image API ImageHandler = require './handler/imageHandler' module.exports = class ImageApi constructor: (@action, @path, @req, @res) -> @imageHandler = new ImageHandler @req console.info '[Query]', action switch @action when 'getProfileImage' then @imageHandler.getProfileIm...
[ { "context": "4-06-01T00:00:00.000-03:00\"\n description: \"Sueldo\"\n type: \"income\"\n value: 4000\n ", "end": 623, "score": 0.6014218330383301, "start": 617, "tag": "NAME", "value": "Sueldo" }, { "context": "4-06-02T00:00:00.000-03:00\"\n descripti...
js/mycoins.coffee
sanchan/my-coins
1
fakeData = -> # Transaction Categories if not MyCoins.transactionCategoriesCollection.length transactionCategories = ["Bills", "Car", "Clothing", "Health", "Housing", "Others", "Restaurants", "Taxes", "Transport", "Travels"] for t in transactionCategories MyCoins.transactionCategoriesCollection.create...
156760
fakeData = -> # Transaction Categories if not MyCoins.transactionCategoriesCollection.length transactionCategories = ["Bills", "Car", "Clothing", "Health", "Housing", "Others", "Restaurants", "Taxes", "Transport", "Travels"] for t in transactionCategories MyCoins.transactionCategoriesCollection.create...
true
fakeData = -> # Transaction Categories if not MyCoins.transactionCategoriesCollection.length transactionCategories = ["Bills", "Car", "Clothing", "Health", "Housing", "Others", "Restaurants", "Taxes", "Transport", "Travels"] for t in transactionCategories MyCoins.transactionCategoriesCollection.create...
[ { "context": " @$input = $('input[name=\"email\"]')\n .val 'barbaz@example.com'\n\n alertable { $input: @$input, message: \"Pl", "end": 472, "score": 0.9999257922172546, "start": 454, "tag": "EMAIL", "value": "barbaz@example.com" }, { "context": "ange your email.\" }, (va...
src/desktop/components/alertable_input/test/index.coffee
kanaabe/force
1
benv = require 'benv' alertable = require '../index' describe 'alertable', -> before (done) -> benv.setup -> benv.expose $: benv.require('jquery'), jQuery: benv.require('jquery') done() after -> benv.teardown() beforeEach -> $('body').html ' <input name="email"> <button>Subm...
24649
benv = require 'benv' alertable = require '../index' describe 'alertable', -> before (done) -> benv.setup -> benv.expose $: benv.require('jquery'), jQuery: benv.require('jquery') done() after -> benv.teardown() beforeEach -> $('body').html ' <input name="email"> <button>Subm...
true
benv = require 'benv' alertable = require '../index' describe 'alertable', -> before (done) -> benv.setup -> benv.expose $: benv.require('jquery'), jQuery: benv.require('jquery') done() after -> benv.teardown() beforeEach -> $('body').html ' <input name="email"> <button>Subm...
[ { "context": "metadata.primaryKey}\": @config.model::attributes[@config.model.metadata.primaryKey].attributes.schema.required()\n\n plugins:\n ", "end": 18851, "score": 0.7329272031784058, "start": 18819, "tag": "EMAIL", "value": "config.model.metadata.primaryKey" } ]
src/views/modelView.coffee
BlackBalloon/hapi-simple-orm
2
'use strict' _ = require 'underscore' Joi = require 'joi' Boom = require 'boom' BaseView = require './baseView' moduleKeywords = ['extended', 'included'] require 'datejs' class ModelView extends BaseView @applyConfiguration: (obj) -> @::['config'] = {} for key, value of obj ...
149361
'use strict' _ = require 'underscore' Joi = require 'joi' Boom = require 'boom' BaseView = require './baseView' moduleKeywords = ['extended', 'included'] require 'datejs' class ModelView extends BaseView @applyConfiguration: (obj) -> @::['config'] = {} for key, value of obj ...
true
'use strict' _ = require 'underscore' Joi = require 'joi' Boom = require 'boom' BaseView = require './baseView' moduleKeywords = ['extended', 'included'] require 'datejs' class ModelView extends BaseView @applyConfiguration: (obj) -> @::['config'] = {} for key, value of obj ...
[ { "context": " port: process.env.REDIS_PORT\n pass: process.env.REDIS_PASSWORD\n db: process.env.REDIS_DBID", "end": 633, "score": 0.807610809803009, "start": 622, "tag": "PASSWORD", "value": "process.env" } ]
player/src/app.coffee
setpixel/storyboard-fountain
148
util = require('util') module.exports = { app: null initialize: (next) -> express = require('express') logfmt = require('logfmt') flash = require('connect-flash') app = express() busboy = require('connect-busboy') session = require('express-session') RedisStore = require('connect-redis...
83139
util = require('util') module.exports = { app: null initialize: (next) -> express = require('express') logfmt = require('logfmt') flash = require('connect-flash') app = express() busboy = require('connect-busboy') session = require('express-session') RedisStore = require('connect-redis...
true
util = require('util') module.exports = { app: null initialize: (next) -> express = require('express') logfmt = require('logfmt') flash = require('connect-flash') app = express() busboy = require('connect-busboy') session = require('express-session') RedisStore = require('connect-redis...
[ { "context": "alues, callback) ->\n callback(200, id: 'token123')\n\n browser.payment = browser.window.jQuery('p", "end": 348, "score": 0.5188608765602112, "start": 345, "tag": "PASSWORD", "value": "123" } ]
test/index.coffee
stripe-archive/payment-tag
5
zombie = require 'zombie' path = require 'path' vows = require 'vows' assert = require 'assert' browser = (callback) -> zombie.visit "file://#{__dirname}/index.html", (err, browser) => throw err if err browser.window.console.error = -> browser.window.Stripe.createToken = (values, callback) -> ...
27346
zombie = require 'zombie' path = require 'path' vows = require 'vows' assert = require 'assert' browser = (callback) -> zombie.visit "file://#{__dirname}/index.html", (err, browser) => throw err if err browser.window.console.error = -> browser.window.Stripe.createToken = (values, callback) -> ...
true
zombie = require 'zombie' path = require 'path' vows = require 'vows' assert = require 'assert' browser = (callback) -> zombie.visit "file://#{__dirname}/index.html", (err, browser) => throw err if err browser.window.console.error = -> browser.window.Stripe.createToken = (values, callback) -> ...
[ { "context": " expect(helpers.calculatePasswordStrength('Admin123')).toEqual(2)\n return\n\n it 'returns 4 for 10 ", "end": 1062, "score": 0.7691345810890198, "start": 1059, "tag": "PASSWORD", "value": "123" } ]
specs/helpers/calculatePasswordStrength.spec.coffee
aryaroudi/Cyclops
28
describe 'helpers: calculatePasswordStrength', -> it 'it hangs off the internal helpers object', -> expect(helpers.calculatePasswordStrength).toBeDefined() return it 'returns 0 for passwords less than 8 characters even with multiple char types', -> expect(helpers.calculatePasswordStrength('1$Ab')).toEqu...
143908
describe 'helpers: calculatePasswordStrength', -> it 'it hangs off the internal helpers object', -> expect(helpers.calculatePasswordStrength).toBeDefined() return it 'returns 0 for passwords less than 8 characters even with multiple char types', -> expect(helpers.calculatePasswordStrength('1$Ab')).toEqu...
true
describe 'helpers: calculatePasswordStrength', -> it 'it hangs off the internal helpers object', -> expect(helpers.calculatePasswordStrength).toBeDefined() return it 'returns 0 for passwords less than 8 characters even with multiple char types', -> expect(helpers.calculatePasswordStrength('1$Ab')).toEqu...
[ { "context": "lse \"B-\"\n else\n \"C\"\n\neldest: if 24 > 21 then \"Liz\" else \"Ike\"", "end": 173, "score": 0.9899570941925049, "start": 170, "tag": "NAME", "value": "Liz" }, { "context": "else\n \"C\"\n\neldest: if 24 > 21 then \"Liz\" else \"Ike\"", "end": 184, "s...
documentation/coffee/expressions.coffee
tlrobinson/coffee-script
1
grade: student => if student.excellent_work "A+" else if student.okay_stuff if student.tried_hard then "B" else "B-" else "C" eldest: if 24 > 21 then "Liz" else "Ike"
158582
grade: student => if student.excellent_work "A+" else if student.okay_stuff if student.tried_hard then "B" else "B-" else "C" eldest: if 24 > 21 then "<NAME>" else "<NAME>"
true
grade: student => if student.excellent_work "A+" else if student.okay_stuff if student.tried_hard then "B" else "B-" else "C" eldest: if 24 > 21 then "PI:NAME:<NAME>END_PI" else "PI:NAME:<NAME>END_PI"
[ { "context": " errors.push error\n keys[0] = key.toString()\n backend.create(collection, {some_", "end": 7679, "score": 0.8876968622207642, "start": 7671, "tag": "KEY", "value": "toString" }, { "context": " errors.push error\n keys[1] = k...
spec/integration/backend.spec.coffee
trankimhieu/cucumber-storra
1
# This spec tests all backend connectors without mocking/spying their # dependencies. That is, it truely accesses the database used by the connector. # In case of the MongoDB backend connector, MongoDB needs to be up and running # for this spec to succeed. describe "Common backend integration test:", -> TIMEOUT = 50...
12255
# This spec tests all backend connectors without mocking/spying their # dependencies. That is, it truely accesses the database used by the connector. # In case of the MongoDB backend connector, MongoDB needs to be up and running # for this spec to succeed. describe "Common backend integration test:", -> TIMEOUT = 50...
true
# This spec tests all backend connectors without mocking/spying their # dependencies. That is, it truely accesses the database used by the connector. # In case of the MongoDB backend connector, MongoDB needs to be up and running # for this spec to succeed. describe "Common backend integration test:", -> TIMEOUT = 50...
[ { "context": "model = new DotLedger.Models.Payment\n name: 'Some Payment'\n view = createView(model).render()\n expect", "end": 2243, "score": 0.9867969155311584, "start": 2231, "tag": "NAME", "value": "Some Payment" }, { "context": "der()\n\n view.$el.find('input[name=...
spec/javascripts/dot_ledger/views/payments/form_spec.js.coffee
timobleeker/dotledger
0
describe "DotLedger.Views.Payments.Form", -> createView = (model = new DotLedger.Models.Payment())-> categories = new DotLedger.Collections.Categories [ { id: 11 name: 'Category One' type: 'Essential' } { id: 22 name: 'Category Two' type: 'Flexible...
21333
describe "DotLedger.Views.Payments.Form", -> createView = (model = new DotLedger.Models.Payment())-> categories = new DotLedger.Collections.Categories [ { id: 11 name: 'Category One' type: 'Essential' } { id: 22 name: 'Category Two' type: 'Flexible...
true
describe "DotLedger.Views.Payments.Form", -> createView = (model = new DotLedger.Models.Payment())-> categories = new DotLedger.Collections.Categories [ { id: 11 name: 'Category One' type: 'Essential' } { id: 22 name: 'Category Two' type: 'Flexible...
[ { "context": "uire('os')\nfs = require('fs')\n\nparentConfigKey = \"atom-beautify.executables\"\n\n\nclass Executable\n\n name: null\n cmd: null\n k", "end": 249, "score": 0.8301540017127991, "start": 224, "tag": "KEY", "value": "atom-beautify.executables" }, { "context": "sic not...
src/beautifiers/executable.coffee
MSP-Greg/atom-beautify
0
Promise = require('bluebird') _ = require('lodash') which = require('which') spawn = require('child_process').spawn path = require('path') semver = require('semver') os = require('os') fs = require('fs') parentConfigKey = "atom-beautify.executables" class Executable name: null cmd: null key: null homepage: ...
202422
Promise = require('bluebird') _ = require('lodash') which = require('which') spawn = require('child_process').spawn path = require('path') semver = require('semver') os = require('os') fs = require('fs') parentConfigKey = "<KEY>" class Executable name: null cmd: null key: null homepage: null installation:...
true
Promise = require('bluebird') _ = require('lodash') which = require('which') spawn = require('child_process').spawn path = require('path') semver = require('semver') os = require('os') fs = require('fs') parentConfigKey = "PI:KEY:<KEY>END_PI" class Executable name: null cmd: null key: null homepage: null ...
[ { "context": "# #\n# @author: Nino P. Cocchiarella #\n#\t Copyright (C) 2014 #\n# htt", "end": 109, "score": 0.9998654127120972, "start": 89, "tag": "NAME", "value": "Nino P. Cocchiarella" } ]
src/static/site/coffeescript/coffeescript/class.TriangleStrip.coffee
nino-c/plerp.org
0
##################################### # # # @author: Nino P. Cocchiarella # # Copyright (C) 2014 # # http://nino.cc # # # ##################################### root = Math.sqrt pi = Math.PI abs = Math.abs cla...
197975
##################################### # # # @author: <NAME> # # Copyright (C) 2014 # # http://nino.cc # # # ##################################### root = Math.sqrt pi = Math.PI abs = Math.abs class TriangleStr...
true
##################################### # # # @author: PI:NAME:<NAME>END_PI # # Copyright (C) 2014 # # http://nino.cc # # # ##################################### root = Math.sqrt pi = Math.PI abs = Math.abs cla...
[ { "context": " 3\n \"body[0].username\": \"root\"\n \"body[0].name\": \"Administr", "end": 1496, "score": 0.9992363452911377, "start": 1492, "tag": "USERNAME", "value": "root" }, { "context": "level\": 50\n \"body[1].username...
bin/js/test/redmineSetupTest.coffee
xpfriend/pocci
1
###global describe, it, before, after### ###jshint quotmark:true### "use strict" path = require("path") setup = require("pocci/setup.js") gitlab = require("pocci/gitlab.js") redmine = require("pocci/redmine.js") test = require("./resq.js") chai = require("chai") LdapClient = require("promised-ldap") describe "setup.r...
192530
###global describe, it, before, after### ###jshint quotmark:true### "use strict" path = require("path") setup = require("pocci/setup.js") gitlab = require("pocci/gitlab.js") redmine = require("pocci/redmine.js") test = require("./resq.js") chai = require("chai") LdapClient = require("promised-ldap") describe "setup.r...
true
###global describe, it, before, after### ###jshint quotmark:true### "use strict" path = require("path") setup = require("pocci/setup.js") gitlab = require("pocci/gitlab.js") redmine = require("pocci/redmine.js") test = require("./resq.js") chai = require("chai") LdapClient = require("promised-ldap") describe "setup.r...
[ { "context": "critHeight\nexports.glyphs['breve'] =\n\tglyphName: 'breve'\n\tcharacterName: 'BREVE ACCENT'\n\tanchors:\n\t\t0:\n\t\t", "end": 76, "score": 0.7083044052124023, "start": 71, "tag": "NAME", "value": "breve" }, { "context": "s['breve'] =\n\tglyphName: 'breve'\n\tcharacter...
src/glyphs/components/breve.coffee
byte-foundry/antique.ptf
0
# TODO: check all diacritHeight exports.glyphs['breve'] = glyphName: 'breve' characterName: 'BREVE ACCENT' anchors: 0: x: parentAnchors[0].x y: parentAnchors[0].y tags: [ 'component', 'diacritic' ] contours: 0: skeleton: true closed: false nodes: 0: x: anchors[0].x - (45 * width + ...
210172
# TODO: check all diacritHeight exports.glyphs['breve'] = glyphName: '<NAME>' characterName: '<NAME>' anchors: 0: x: parentAnchors[0].x y: parentAnchors[0].y tags: [ 'component', 'diacritic' ] contours: 0: skeleton: true closed: false nodes: 0: x: anchors[0].x - (45 * width + 116 -...
true
# TODO: check all diacritHeight exports.glyphs['breve'] = glyphName: 'PI:NAME:<NAME>END_PI' characterName: 'PI:NAME:<NAME>END_PI' anchors: 0: x: parentAnchors[0].x y: parentAnchors[0].y tags: [ 'component', 'diacritic' ] contours: 0: skeleton: true closed: false nodes: 0: x: anchor...
[ { "context": "t']\nprivateProperties = ['permissions', 'email', 'firstName', 'lastName', 'gender', 'facebookID', 'music', 'v", "end": 425, "score": 0.9979386925697327, "start": 416, "tag": "NAME", "value": "firstName" }, { "context": "operties = ['permissions', 'email', 'firstName', ...
server/handlers/user.coffee
cusion/codecombat
1
winston = require('winston') schema = require('../schemas/user') crypto = require('crypto') request = require('request') User = require('../models/User') Handler = require('./Handler') languages = require '../languages' mongoose = require 'mongoose' config = require '../../server_config' serverProperties = ['passwordH...
96999
winston = require('winston') schema = require('../schemas/user') crypto = require('crypto') request = require('request') User = require('../models/User') Handler = require('./Handler') languages = require '../languages' mongoose = require 'mongoose' config = require '../../server_config' serverProperties = ['passwordH...
true
winston = require('winston') schema = require('../schemas/user') crypto = require('crypto') request = require('request') User = require('../models/User') Handler = require('./Handler') languages = require '../languages' mongoose = require 'mongoose' config = require '../../server_config' serverProperties = ['passwordH...
[ { "context": "blocklyTool.getFriendField = () ->\n #friends = ['Fangrui', 'Qijiang', 'Yuxin', 'Xiaoyu']\n tmplist = block", "end": 387, "score": 0.999289870262146, "start": 380, "tag": "NAME", "value": "Fangrui" }, { "context": ".getFriendField = () ->\n #friends = ['Fangrui', 'Qi...
web/js/blocklyTools.coffee
Flockly/Flockly
1
# Blockly Tools.. blocklyTool = {} #$.getJSON '/get_friends', (data) -> #blocklyTool.friends = [] #data.forEach (user) -> #username = user['name'] + '/' + user['id'] #blocklyTool.friends.push(username) blocklyTool.duplicateList = (arr) -> ret = [] arr.forEach((ele) -> ret.push([ele, ele]) ) re...
12289
# Blockly Tools.. blocklyTool = {} #$.getJSON '/get_friends', (data) -> #blocklyTool.friends = [] #data.forEach (user) -> #username = user['name'] + '/' + user['id'] #blocklyTool.friends.push(username) blocklyTool.duplicateList = (arr) -> ret = [] arr.forEach((ele) -> ret.push([ele, ele]) ) re...
true
# Blockly Tools.. blocklyTool = {} #$.getJSON '/get_friends', (data) -> #blocklyTool.friends = [] #data.forEach (user) -> #username = user['name'] + '/' + user['id'] #blocklyTool.friends.push(username) blocklyTool.duplicateList = (arr) -> ret = [] arr.forEach((ele) -> ret.push([ele, ele]) ) re...
[ { "context": "util = require('./util')\n###\n From Vibrant.js by Jari Zwarts\n Ported to node.js by AKFish\n\n Swatch class\n###", "end": 61, "score": 0.9998944997787476, "start": 50, "tag": "NAME", "value": "Jari Zwarts" }, { "context": "m Vibrant.js by Jari Zwarts\n Ported to n...
src/swatch.coffee
Kronuz/node-vibrant
0
util = require('./util') ### From Vibrant.js by Jari Zwarts Ported to node.js by AKFish Swatch class ### module.exports = class Swatch hsl: undefined rgb: undefined population: 1 yiq: 0 constructor: (rgb, population) -> @rgb = rgb @population = population getHsl: -> if not @hsl @h...
65498
util = require('./util') ### From Vibrant.js by <NAME> Ported to node.js by AKFish Swatch class ### module.exports = class Swatch hsl: undefined rgb: undefined population: 1 yiq: 0 constructor: (rgb, population) -> @rgb = rgb @population = population getHsl: -> if not @hsl @hsl = ...
true
util = require('./util') ### From Vibrant.js by PI:NAME:<NAME>END_PI Ported to node.js by AKFish Swatch class ### module.exports = class Swatch hsl: undefined rgb: undefined population: 1 yiq: 0 constructor: (rgb, population) -> @rgb = rgb @population = population getHsl: -> if not @hsl...
[ { "context": "duplication is better than the wrong abstraction - Sandi Metz\n currentFile: ->\n # there is no current file ", "end": 1839, "score": 0.9935643672943115, "start": 1829, "tag": "NAME", "value": "Sandi Metz" } ]
lib/git-links.coffee
calebmeyer/git-links
4
{CompositeDisposable, BufferedProcess} = require 'atom' Path = require 'path' module.exports = GitLinks = subscriptions: null activate: (state) -> # Events subscribed to in atom's system can be easily cleaned up with a CompositeDisposable @subscriptions = new CompositeDisposable # Register commands ...
51282
{CompositeDisposable, BufferedProcess} = require 'atom' Path = require 'path' module.exports = GitLinks = subscriptions: null activate: (state) -> # Events subscribed to in atom's system can be easily cleaned up with a CompositeDisposable @subscriptions = new CompositeDisposable # Register commands ...
true
{CompositeDisposable, BufferedProcess} = require 'atom' Path = require 'path' module.exports = GitLinks = subscriptions: null activate: (state) -> # Events subscribed to in atom's system can be easily cleaned up with a CompositeDisposable @subscriptions = new CompositeDisposable # Register commands ...
[ { "context": "存在,请选择其它用户名\") if exists\n#\n# data.password = _common.md5 data.password\n# self.save data, cb\n\nmodule.e", "end": 1199, "score": 0.759884774684906, "start": 1189, "tag": "PASSWORD", "value": "common.md5" } ]
src/entity/member.coffee
kiteam/kiteam
0
### 成员 ### _util = require 'util' _bijou = require('bijou') _BaseEntity = _bijou.BaseEntity _http = _bijou.http _common = require '../common' class Member extends _BaseEntity constructor: ()-> super require('../schema/member').schema #检查用户是否已经存在 memberExists: (username, cb)-> @exists username: userna...
96037
### 成员 ### _util = require 'util' _bijou = require('bijou') _BaseEntity = _bijou.BaseEntity _http = _bijou.http _common = require '../common' class Member extends _BaseEntity constructor: ()-> super require('../schema/member').schema #检查用户是否已经存在 memberExists: (username, cb)-> @exists username: userna...
true
### 成员 ### _util = require 'util' _bijou = require('bijou') _BaseEntity = _bijou.BaseEntity _http = _bijou.http _common = require '../common' class Member extends _BaseEntity constructor: ()-> super require('../schema/member').schema #检查用户是否已经存在 memberExists: (username, cb)-> @exists username: userna...
[ { "context": "editor, \"Hello Mayor.\\n\n My name is Alfred, and I'll help you to build up and create the bes", "end": 523, "score": 0.9998281002044678, "start": 517, "tag": "NAME", "value": "Alfred" } ]
lib/controller/create.coffee
SynderDEV/atom-city
2
Controller = require '../abstract/controller' GameState = require '../core/gamestate' queue = require '../tools/queue' input = require '../tools/input' slugify = require '../tools/slugify' class CreateController extends Controller ### # Init Controller ### init: () -> @game.editor.readOnly...
215553
Controller = require '../abstract/controller' GameState = require '../core/gamestate' queue = require '../tools/queue' input = require '../tools/input' slugify = require '../tools/slugify' class CreateController extends Controller ### # Init Controller ### init: () -> @game.editor.readOnly...
true
Controller = require '../abstract/controller' GameState = require '../core/gamestate' queue = require '../tools/queue' input = require '../tools/input' slugify = require '../tools/slugify' class CreateController extends Controller ### # Init Controller ### init: () -> @game.editor.readOnly...
[ { "context": "perties', ->\n attributes = Adapter.get {name: 'Abraham'}\n expect(attributes.name).to.eq 'Abraham'\n\n ", "end": 201, "score": 0.9602545499801636, "start": 194, "tag": "NAME", "value": "Abraham" }, { "context": "me: 'Abraham'}\n expect(attributes.name).to.eq ...
test/yayson/adapter.coffee
nie7321/yayson
193
expect = require('chai').expect Adapter = require('../../src/yayson.coffee')().Adapter describe 'Adapter', -> it 'should get all object properties', -> attributes = Adapter.get {name: 'Abraham'} expect(attributes.name).to.eq 'Abraham' it 'should get object property', -> name = Adapter.get {name: 'Ab...
46526
expect = require('chai').expect Adapter = require('../../src/yayson.coffee')().Adapter describe 'Adapter', -> it 'should get all object properties', -> attributes = Adapter.get {name: '<NAME>'} expect(attributes.name).to.eq '<NAME>' it 'should get object property', -> name = Adapter.get {name: '<NAM...
true
expect = require('chai').expect Adapter = require('../../src/yayson.coffee')().Adapter describe 'Adapter', -> it 'should get all object properties', -> attributes = Adapter.get {name: 'PI:NAME:<NAME>END_PI'} expect(attributes.name).to.eq 'PI:NAME:<NAME>END_PI' it 'should get object property', -> nam...
[ { "context": "h Bootstrap\n# http://kxq.io\n#\n# Copyright (c) 2015 XQ Kuang\n# Created by: XQ Kuang <xuqingkuang@gmail.com>\n#\n", "end": 92, "score": 0.9998682141304016, "start": 84, "tag": "NAME", "value": "XQ Kuang" }, { "context": "q.io\n#\n# Copyright (c) 2015 XQ Kuang\n# Creat...
src/bootstrap-dual-select.coffee
xuqingkuang/bootstrap-dual-select
0
# # jQuery Dual Select plugin with Bootstrap # http://kxq.io # # Copyright (c) 2015 XQ Kuang # Created by: XQ Kuang <xuqingkuang@gmail.com> # # Usage: # Create a <select> and apply this script to that select via jQuery like so: # $('select').dualSelect(); - the Dual Select will than be created for you. # # Option...
148465
# # jQuery Dual Select plugin with Bootstrap # http://kxq.io # # Copyright (c) 2015 <NAME> # Created by: <NAME> <<EMAIL>> # # Usage: # Create a <select> and apply this script to that select via jQuery like so: # $('select').dualSelect(); - the Dual Select will than be created for you. # # Options and parameters c...
true
# # jQuery Dual Select plugin with Bootstrap # http://kxq.io # # Copyright (c) 2015 PI:NAME:<NAME>END_PI # Created by: PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> # # Usage: # Create a <select> and apply this script to that select via jQuery like so: # $('select').dualSelect(); - the Dual Select will than be crea...