id stringlengths 34 124 | type stringclasses 4
values | prompt stringlengths 0 4.95k | response stringlengths 21 4.89k | source_lang stringclasses 3
values | target_lang stringclasses 2
values | repo stringclasses 75
values | path stringlengths 10 88 | license stringclasses 1
value | commit stringlengths 40 40 | stars int64 431 18.7k | source_url stringlengths 86 176 | line_start int64 1 214 | line_end int64 3 253 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ExpediaGroup/cyclotron:cyclotron-site/app/scripts/common/services/services.logService.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
###
# Copyright (c) 2013-2015 the original author or authors.
#
# Licensed under the MIT License (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.opensource.org/licens... | /*
* Copyright (c) 2013-2015 the original author or authors.
*
* Licensed under the MIT License (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.opensource.org/licenses/mit-license.php
*
* Unless required by applica... | CoffeeScript | JavaScript | ExpediaGroup/cyclotron | cyclotron-site/app/scripts/common/services/services.logService.coffee | MIT | 425ed381cbae1e6fb7fd34c1d1427426d69292df | 1,544 | https://github.com/ExpediaGroup/cyclotron/blob/425ed381cbae1e6fb7fd34c1d1427426d69292df/cyclotron-site/app/scripts/common/services/services.logService.coffee | 1 | 50 |
ExpediaGroup/cyclotron:cyclotron-site/app/scripts/common/services/services.logService.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
/*
* Copyright (c) 2013-2015 the original author or authors.
*
* Licensed under the MIT License (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.opensource.org/li... | ###
# Copyright (c) 2013-2015 the original author or authors.
#
# Licensed under the MIT License (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.opensource.org/licenses/mit-license.php
#
# Unless required by applicable law ... | JavaScript | CoffeeScript | ExpediaGroup/cyclotron | cyclotron-site/app/scripts/common/services/services.logService.coffee | MIT | 425ed381cbae1e6fb7fd34c1d1427426d69292df | 1,544 | https://github.com/ExpediaGroup/cyclotron/blob/425ed381cbae1e6fb7fd34c1d1427426d69292df/cyclotron-site/app/scripts/common/services/services.logService.coffee | 1 | 50 |
ExpediaGroup/cyclotron:cyclotron-site/app/scripts/common/services/services.logService.coffee:1:completion | completion | ###
# Copyright (c) 2013-2015 the original author or authors.
#
# Licensed under the MIT License (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.opensource.org/licenses/mit-license.php
#
# Unless required by applicable law ... | obj
# Logs any number of arguments prefixed with the time
writeLog = (args) ->
$window.console.log '[' + now() + '] ' + _.map(args, getString).join ' '
service = {
debug: ->
args = Array.prototype.slice.call arguments
args.unshift 'DEBUG:'
writeLog args
... | CoffeeScript | CoffeeScript | ExpediaGroup/cyclotron | cyclotron-site/app/scripts/common/services/services.logService.coffee | MIT | 425ed381cbae1e6fb7fd34c1d1427426d69292df | 1,544 | https://github.com/ExpediaGroup/cyclotron/blob/425ed381cbae1e6fb7fd34c1d1427426d69292df/cyclotron-site/app/scripts/common/services/services.logService.coffee | 1 | 50 |
ExpediaGroup/cyclotron:cyclotron-site/app/scripts/common/services/services.logService.coffee:1:raw_corpus | raw_corpus | ###
# Copyright (c) 2013-2015 the original author or authors.
#
# Licensed under the MIT License (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.opensource.org/licenses/mit-license.php
#
# Unless required by applicable law ... | CoffeeScript | ExpediaGroup/cyclotron | cyclotron-site/app/scripts/common/services/services.logService.coffee | MIT | 14b0e411415be801f94fe13ea6f63d5ad957c2ed | 1,544 | https://github.com/ExpediaGroup/cyclotron/blob/14b0e411415be801f94fe13ea6f63d5ad957c2ed/cyclotron-site/app/scripts/common/services/services.logService.coffee | 1 | 30 | ||
ExpediaGroup/cyclotron:cyclotron-site/app/scripts/common/services/services.logService.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
###
# Copyright (c) 2013-2015 the original author or authors.
#
# Licensed under the MIT License (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.opensource.org/licens... | /*
* Copyright (c) 2013-2015 the original author or authors.
*
* Licensed under the MIT License (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.opensource.org/licenses/mit-license.php
*
* Unless required by applica... | CoffeeScript | JavaScript | ExpediaGroup/cyclotron | cyclotron-site/app/scripts/common/services/services.logService.coffee | MIT | 14b0e411415be801f94fe13ea6f63d5ad957c2ed | 1,544 | https://github.com/ExpediaGroup/cyclotron/blob/14b0e411415be801f94fe13ea6f63d5ad957c2ed/cyclotron-site/app/scripts/common/services/services.logService.coffee | 1 | 30 |
ExpediaGroup/cyclotron:cyclotron-site/app/scripts/common/services/services.logService.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
/*
* Copyright (c) 2013-2015 the original author or authors.
*
* Licensed under the MIT License (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.opensource.org/li... | ###
# Copyright (c) 2013-2015 the original author or authors.
#
# Licensed under the MIT License (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.opensource.org/licenses/mit-license.php
#
# Unless required by applicable law ... | JavaScript | CoffeeScript | ExpediaGroup/cyclotron | cyclotron-site/app/scripts/common/services/services.logService.coffee | MIT | 14b0e411415be801f94fe13ea6f63d5ad957c2ed | 1,544 | https://github.com/ExpediaGroup/cyclotron/blob/14b0e411415be801f94fe13ea6f63d5ad957c2ed/cyclotron-site/app/scripts/common/services/services.logService.coffee | 1 | 30 |
ExpediaGroup/cyclotron:cyclotron-site/app/scripts/common/services/services.logService.coffee:1:completion | completion | ###
# Copyright (c) 2013-2015 the original author or authors.
#
# Licensed under the MIT License (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.opensource.org/licenses/mit-license.php
#
# Unless required by applicable law ... | cyclotronServices.factory 'logService', ($window, configService) ->
getString = (obj) ->
if _.isObject obj
JSON.stringify(obj)
else
obj
{
info: (obj) ->
$window.console.log getString(obj)
time: (obj) ->
$window.console.log $window... | CoffeeScript | CoffeeScript | ExpediaGroup/cyclotron | cyclotron-site/app/scripts/common/services/services.logService.coffee | MIT | 14b0e411415be801f94fe13ea6f63d5ad957c2ed | 1,544 | https://github.com/ExpediaGroup/cyclotron/blob/14b0e411415be801f94fe13ea6f63d5ad957c2ed/cyclotron-site/app/scripts/common/services/services.logService.coffee | 1 | 30 |
jianliaoim/talk-os:talk-api2x/migrations/1420698024936-fix-team-owner-patch.coffee:1:raw_corpus | raw_corpus | exports.up = (next) ->
mongo ->
teams = db.teams.find()
teams.forEach (team) ->
member = db.members.findOne _id: team.creator
return unless member
team.creator = member.user
db.teams.save team
rooms = db.rooms.find()
rooms.forEach (room) ->
member = db.members.findOne _id... | CoffeeScript | jianliaoim/talk-os | talk-api2x/migrations/1420698024936-fix-team-owner-patch.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-api2x/migrations/1420698024936-fix-team-owner-patch.coffee | 1 | 18 | ||
jianliaoim/talk-os:talk-api2x/migrations/1420698024936-fix-team-owner-patch.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
exports.up = (next) ->
mongo ->
teams = db.teams.find()
teams.forEach (team) ->
member = db.members.findOne _id: team.creator
return unless member
team.creator = member.user
db.teams.save team
rooms = db.rooms.find()
room... | exports.up = function(next) {
mongo(function() {
var rooms, teams;
teams = db.teams.find();
teams.forEach(function(team) {
var member;
member = db.members.findOne({
_id: team.creator
});
if (!member) {
return;
}
team.creator = member.user;
return d... | CoffeeScript | JavaScript | jianliaoim/talk-os | talk-api2x/migrations/1420698024936-fix-team-owner-patch.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-api2x/migrations/1420698024936-fix-team-owner-patch.coffee | 1 | 18 |
jianliaoim/talk-os:talk-api2x/migrations/1420698024936-fix-team-owner-patch.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
exports.up = function(next) {
mongo(function() {
var rooms, teams;
teams = db.teams.find();
teams.forEach(function(team) {
var member;
member = db.members.findOne({
_id: team.creator
});
if (!member) {
return;
... | exports.up = (next) ->
mongo ->
teams = db.teams.find()
teams.forEach (team) ->
member = db.members.findOne _id: team.creator
return unless member
team.creator = member.user
db.teams.save team
rooms = db.rooms.find()
rooms.forEach (room) ->
member = db.members.findOne _id... | JavaScript | CoffeeScript | jianliaoim/talk-os | talk-api2x/migrations/1420698024936-fix-team-owner-patch.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-api2x/migrations/1420698024936-fix-team-owner-patch.coffee | 1 | 18 |
jianliaoim/talk-os:talk-api2x/migrations/1420698024936-fix-team-owner-patch.coffee:1:completion | completion | exports.up = (next) ->
mongo ->
teams = db.teams.find()
teams.forEach (team) ->
member = db.members.findOne _id: team.creator
return unless member
team.creator = member.user
db.teams.save team
rooms = db.rooms.find() | rooms.forEach (room) ->
member = db.members.findOne _id: room.creator
return unless member
room.creator = member.user
db.rooms.save room
next()
exports.down = (next) ->
next() | CoffeeScript | CoffeeScript | jianliaoim/talk-os | talk-api2x/migrations/1420698024936-fix-team-owner-patch.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-api2x/migrations/1420698024936-fix-team-owner-patch.coffee | 1 | 18 |
jianliaoim/talk-os:talk-api2x/server/schemas/search-message.coffee:1:raw_corpus | raw_corpus | {Schema} = require 'mongoose'
config = require 'config'
mongoosastic = require 'mongoosastic'
SearchMessageSchemaConstructor = require './constructors/search-message'
module.exports = SearchMessageSchema = SearchMessageSchemaConstructor()
return # @osv
SearchMessageSchema.add
tags: [
_tagId:
type: Schema... | CoffeeScript | jianliaoim/talk-os | talk-api2x/server/schemas/search-message.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-api2x/server/schemas/search-message.coffee | 1 | 28 | ||
jianliaoim/talk-os:talk-api2x/server/schemas/search-message.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
{Schema} = require 'mongoose'
config = require 'config'
mongoosastic = require 'mongoosastic'
SearchMessageSchemaConstructor = require './constructors/search-message'
module.exports = SearchMessageSchema = SearchMessageSchemaConstructor()
return # @osv
SearchM... | var Schema, SearchMessageSchema, SearchMessageSchemaConstructor, config, mongoosastic;
({Schema} = require('mongoose'));
config = require('config');
mongoosastic = require('mongoosastic');
SearchMessageSchemaConstructor = require('./constructors/search-message');
module.exports = SearchMessageSchema = SearchMessag... | CoffeeScript | JavaScript | jianliaoim/talk-os | talk-api2x/server/schemas/search-message.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-api2x/server/schemas/search-message.coffee | 1 | 28 |
jianliaoim/talk-os:talk-api2x/server/schemas/search-message.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var Schema, SearchMessageSchema, SearchMessageSchemaConstructor, config, mongoosastic;
({Schema} = require('mongoose'));
config = require('config');
mongoosastic = require('mongoosastic');
SearchMessageSchemaConstructor = require('./constructors/search-message'... | {Schema} = require 'mongoose'
config = require 'config'
mongoosastic = require 'mongoosastic'
SearchMessageSchemaConstructor = require './constructors/search-message'
module.exports = SearchMessageSchema = SearchMessageSchemaConstructor()
return # @osv
SearchMessageSchema.add
tags: [
_tagId:
type: Schema... | JavaScript | CoffeeScript | jianliaoim/talk-os | talk-api2x/server/schemas/search-message.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-api2x/server/schemas/search-message.coffee | 1 | 28 |
jianliaoim/talk-os:talk-api2x/server/schemas/search-message.coffee:1:completion | completion | {Schema} = require 'mongoose'
config = require 'config'
mongoosastic = require 'mongoosastic'
SearchMessageSchemaConstructor = require './constructors/search-message'
module.exports = SearchMessageSchema = SearchMessageSchemaConstructor()
return # @osv
SearchMessageSchema.add
tags: [
_tagId:
type: Schema... | get: -> @_id
name:
type: String
es_term_vector: 'with_positions_offsets'
es_analyzer: 'ik_max_word'
]
SearchMessageSchema.plugin mongoosastic,
index: 'talk_messages_recent'
type: 'messages'
host: config.searchHost
port: config.searchPort
protocol: config.searchProtocol
bulk: config.... | CoffeeScript | CoffeeScript | jianliaoim/talk-os | talk-api2x/server/schemas/search-message.coffee | MIT | 2545c4497865779a55762e03963a39237df9046b | 2,703 | https://github.com/jianliaoim/talk-os/blob/2545c4497865779a55762e03963a39237df9046b/talk-api2x/server/schemas/search-message.coffee | 1 | 28 |
flosse/sloc:spec/formatters/cli-table.spec.coffee:1:raw_corpus | raw_corpus | chai = require 'chai'
table = require '../../src/formatters/cli-table'
should = chai.should()
describe "The table formatter", ->
it "should be a function", ->
table.should.be.a 'function'
it "should return a string", ->
table({},{},[]).should.be.a 'string' | CoffeeScript | flosse/sloc | spec/formatters/cli-table.spec.coffee | MIT | e26044011821c4e170859362f2de657d64118711 | 969 | https://github.com/flosse/sloc/blob/e26044011821c4e170859362f2de657d64118711/spec/formatters/cli-table.spec.coffee | 1 | 11 | ||
flosse/sloc:spec/formatters/cli-table.spec.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
chai = require 'chai'
table = require '../../src/formatters/cli-table'
should = chai.should()
describe "The table formatter", ->
it "should be a function", ->
table.should.be.a 'function'
it "should return a string", ->
table({},{},[]).... | var chai, should, table;
chai = require('chai');
table = require('../../src/formatters/cli-table');
should = chai.should();
describe("The table formatter", function() {
it("should be a function", function() {
return table.should.be.a('function');
});
return it("should return a string", function() {
re... | CoffeeScript | JavaScript | flosse/sloc | spec/formatters/cli-table.spec.coffee | MIT | e26044011821c4e170859362f2de657d64118711 | 969 | https://github.com/flosse/sloc/blob/e26044011821c4e170859362f2de657d64118711/spec/formatters/cli-table.spec.coffee | 1 | 11 |
flosse/sloc:spec/formatters/cli-table.spec.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var chai, should, table;
chai = require('chai');
table = require('../../src/formatters/cli-table');
should = chai.should();
describe("The table formatter", function() {
it("should be a function", function() {
return table.should.be.a('function');
});
... | chai = require 'chai'
table = require '../../src/formatters/cli-table'
should = chai.should()
describe "The table formatter", ->
it "should be a function", ->
table.should.be.a 'function'
it "should return a string", ->
table({},{},[]).should.be.a 'string' | JavaScript | CoffeeScript | flosse/sloc | spec/formatters/cli-table.spec.coffee | MIT | e26044011821c4e170859362f2de657d64118711 | 969 | https://github.com/flosse/sloc/blob/e26044011821c4e170859362f2de657d64118711/spec/formatters/cli-table.spec.coffee | 1 | 11 |
flosse/sloc:spec/formatters/cli-table.spec.coffee:1:completion | completion | chai = require 'chai'
table = require '../../src/formatters/cli-table'
should = chai.should()
describe "The table formatter", -> | it "should be a function", ->
table.should.be.a 'function'
it "should return a string", ->
table({},{},[]).should.be.a 'string' | CoffeeScript | CoffeeScript | flosse/sloc | spec/formatters/cli-table.spec.coffee | MIT | e26044011821c4e170859362f2de657d64118711 | 969 | https://github.com/flosse/sloc/blob/e26044011821c4e170859362f2de657d64118711/spec/formatters/cli-table.spec.coffee | 1 | 11 |
flosse/sloc:spec/formatters/cli-table.spec.coffee:1:raw_corpus | raw_corpus | chai = require 'chai'
table = require '../../src/formatters/cli-table'
should = chai.should()
describe "The table formatter", ->
it "should be a function", ->
table.should.be.a 'function'
it "should return a string", ->
table({}).should.be.a 'string' | CoffeeScript | flosse/sloc | spec/formatters/cli-table.spec.coffee | MIT | c2cdea855a9849d15a177cdcabc048a0a336a335 | 969 | https://github.com/flosse/sloc/blob/c2cdea855a9849d15a177cdcabc048a0a336a335/spec/formatters/cli-table.spec.coffee | 1 | 11 | ||
flosse/sloc:spec/formatters/cli-table.spec.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
chai = require 'chai'
table = require '../../src/formatters/cli-table'
should = chai.should()
describe "The table formatter", ->
it "should be a function", ->
table.should.be.a 'function'
it "should return a string", ->
table({}).should... | var chai, should, table;
chai = require('chai');
table = require('../../src/formatters/cli-table');
should = chai.should();
describe("The table formatter", function() {
it("should be a function", function() {
return table.should.be.a('function');
});
return it("should return a string", function() {
re... | CoffeeScript | JavaScript | flosse/sloc | spec/formatters/cli-table.spec.coffee | MIT | c2cdea855a9849d15a177cdcabc048a0a336a335 | 969 | https://github.com/flosse/sloc/blob/c2cdea855a9849d15a177cdcabc048a0a336a335/spec/formatters/cli-table.spec.coffee | 1 | 11 |
flosse/sloc:spec/formatters/cli-table.spec.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var chai, should, table;
chai = require('chai');
table = require('../../src/formatters/cli-table');
should = chai.should();
describe("The table formatter", function() {
it("should be a function", function() {
return table.should.be.a('function');
});
... | chai = require 'chai'
table = require '../../src/formatters/cli-table'
should = chai.should()
describe "The table formatter", ->
it "should be a function", ->
table.should.be.a 'function'
it "should return a string", ->
table({}).should.be.a 'string' | JavaScript | CoffeeScript | flosse/sloc | spec/formatters/cli-table.spec.coffee | MIT | c2cdea855a9849d15a177cdcabc048a0a336a335 | 969 | https://github.com/flosse/sloc/blob/c2cdea855a9849d15a177cdcabc048a0a336a335/spec/formatters/cli-table.spec.coffee | 1 | 11 |
flosse/sloc:spec/formatters/cli-table.spec.coffee:1:completion | completion | chai = require 'chai'
table = require '../../src/formatters/cli-table'
should = chai.should()
describe "The table formatter", -> | it "should be a function", ->
table.should.be.a 'function'
it "should return a string", ->
table({}).should.be.a 'string' | CoffeeScript | CoffeeScript | flosse/sloc | spec/formatters/cli-table.spec.coffee | MIT | c2cdea855a9849d15a177cdcabc048a0a336a335 | 969 | https://github.com/flosse/sloc/blob/c2cdea855a9849d15a177cdcabc048a0a336a335/spec/formatters/cli-table.spec.coffee | 1 | 11 |
flosse/sloc:spec/formatters/cli-table.spec.coffee:1:raw_corpus | raw_corpus | chai = require 'chai'
csv = require '../../src/formatters/cli-table'
should = chai.should()
describe "The table formatter", ->
it "should be a function", ->
csv.should.be.a 'function'
it "should return a string", ->
csv({}).should.be.a 'string' | CoffeeScript | flosse/sloc | spec/formatters/cli-table.spec.coffee | MIT | 8a6836f63b89f134d84408d5fb8178e50a6f3469 | 969 | https://github.com/flosse/sloc/blob/8a6836f63b89f134d84408d5fb8178e50a6f3469/spec/formatters/cli-table.spec.coffee | 1 | 11 | ||
flosse/sloc:spec/formatters/cli-table.spec.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
chai = require 'chai'
csv = require '../../src/formatters/cli-table'
should = chai.should()
describe "The table formatter", ->
it "should be a function", ->
csv.should.be.a 'function'
it "should return a string", ->
csv({}).should.be.... | var chai, csv, should;
chai = require('chai');
csv = require('../../src/formatters/cli-table');
should = chai.should();
describe("The table formatter", function() {
it("should be a function", function() {
return csv.should.be.a('function');
});
return it("should return a string", function() {
return c... | CoffeeScript | JavaScript | flosse/sloc | spec/formatters/cli-table.spec.coffee | MIT | 8a6836f63b89f134d84408d5fb8178e50a6f3469 | 969 | https://github.com/flosse/sloc/blob/8a6836f63b89f134d84408d5fb8178e50a6f3469/spec/formatters/cli-table.spec.coffee | 1 | 11 |
flosse/sloc:spec/formatters/cli-table.spec.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var chai, csv, should;
chai = require('chai');
csv = require('../../src/formatters/cli-table');
should = chai.should();
describe("The table formatter", function() {
it("should be a function", function() {
return csv.should.be.a('function');
});
return... | chai = require 'chai'
csv = require '../../src/formatters/cli-table'
should = chai.should()
describe "The table formatter", ->
it "should be a function", ->
csv.should.be.a 'function'
it "should return a string", ->
csv({}).should.be.a 'string' | JavaScript | CoffeeScript | flosse/sloc | spec/formatters/cli-table.spec.coffee | MIT | 8a6836f63b89f134d84408d5fb8178e50a6f3469 | 969 | https://github.com/flosse/sloc/blob/8a6836f63b89f134d84408d5fb8178e50a6f3469/spec/formatters/cli-table.spec.coffee | 1 | 11 |
flosse/sloc:spec/formatters/cli-table.spec.coffee:1:completion | completion | chai = require 'chai'
csv = require '../../src/formatters/cli-table'
should = chai.should()
describe "The table formatter", -> | it "should be a function", ->
csv.should.be.a 'function'
it "should return a string", ->
csv({}).should.be.a 'string' | CoffeeScript | CoffeeScript | flosse/sloc | spec/formatters/cli-table.spec.coffee | MIT | 8a6836f63b89f134d84408d5fb8178e50a6f3469 | 969 | https://github.com/flosse/sloc/blob/8a6836f63b89f134d84408d5fb8178e50a6f3469/spec/formatters/cli-table.spec.coffee | 1 | 11 |
ichord/At.js:spec/spec_helper.coffee:1:raw_corpus | raw_corpus | $ = jQuery
@KEY_CODE =
DOWN: 40
UP: 38
ESC: 27
TAB: 9
ENTER: 13
CTRL: 17
P: 80
N: 78
@fixtures or= loadJSONFixtures("data.json")["data.json"]
@triggerAtwhoAt = ($inputor) ->
simulateTypingIn $inputor
simulateChoose $inputor
@simulateTypingIn = ($inputor, flag, pos=31) ->
$inputor.data("atwho")... | CoffeeScript | ichord/At.js | spec/spec_helper.coffee | MIT | a627b5fcac22c35d52b7fb6d8a93181d2546f3c0 | 5,250 | https://github.com/ichord/At.js/blob/a627b5fcac22c35d52b7fb6d8a93181d2546f3c0/spec/spec_helper.coffee | 1 | 41 | ||
ichord/At.js:spec/spec_helper.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
$ = jQuery
@KEY_CODE =
DOWN: 40
UP: 38
ESC: 27
TAB: 9
ENTER: 13
CTRL: 17
P: 80
N: 78
@fixtures or= loadJSONFixtures("data.json")["data.json"]
@triggerAtwhoAt = ($inputor) ->
simulateTypingIn $inputor
simulateChoose $inputor
@simulateTyping... | var $;
$ = jQuery;
this.KEY_CODE = {
DOWN: 40,
UP: 38,
ESC: 27,
TAB: 9,
ENTER: 13,
CTRL: 17,
P: 80,
N: 78
};
this.fixtures || (this.fixtures = loadJSONFixtures("data.json")["data.json"]);
this.triggerAtwhoAt = function($inputor) {
simulateTypingIn($inputor);
return simulateChoose($inputor);
};
... | CoffeeScript | JavaScript | ichord/At.js | spec/spec_helper.coffee | MIT | a627b5fcac22c35d52b7fb6d8a93181d2546f3c0 | 5,250 | https://github.com/ichord/At.js/blob/a627b5fcac22c35d52b7fb6d8a93181d2546f3c0/spec/spec_helper.coffee | 1 | 41 |
ichord/At.js:spec/spec_helper.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var $;
$ = jQuery;
this.KEY_CODE = {
DOWN: 40,
UP: 38,
ESC: 27,
TAB: 9,
ENTER: 13,
CTRL: 17,
P: 80,
N: 78
};
this.fixtures || (this.fixtures = loadJSONFixtures("data.json")["data.json"]);
this.triggerAtwhoAt = function($inputor) {
simulateTypi... | $ = jQuery
@KEY_CODE =
DOWN: 40
UP: 38
ESC: 27
TAB: 9
ENTER: 13
CTRL: 17
P: 80
N: 78
@fixtures or= loadJSONFixtures("data.json")["data.json"]
@triggerAtwhoAt = ($inputor) ->
simulateTypingIn $inputor
simulateChoose $inputor
@simulateTypingIn = ($inputor, flag, pos=31) ->
$inputor.data("atwho")... | JavaScript | CoffeeScript | ichord/At.js | spec/spec_helper.coffee | MIT | a627b5fcac22c35d52b7fb6d8a93181d2546f3c0 | 5,250 | https://github.com/ichord/At.js/blob/a627b5fcac22c35d52b7fb6d8a93181d2546f3c0/spec/spec_helper.coffee | 1 | 41 |
ichord/At.js:spec/spec_helper.coffee:1:completion | completion | $ = jQuery
@KEY_CODE =
DOWN: 40
UP: 38
ESC: 27
TAB: 9
ENTER: 13
CTRL: 17
P: 80
N: 78
@fixtures or= loadJSONFixtures("data.json")["data.json"]
@triggerAtwhoAt = ($inputor) ->
simulateTypingIn $inputor
simulateChoose $inputor
@simulateTypingIn = ($inputor, flag, pos=31) ->
$inputor.data("atwho")... | oDocument = $inputor[0].ownerDocument
oWindow = oDocument.defaultView || oDocument.parentWindow
if $inputor.attr('contentEditable') == 'true' && oWindow.getSelection
$inputor.focus()
sel = oWindow.getSelection()
range = oDocument.createRange()
range.setStart $inputor.contents().get(0), pos
range... | CoffeeScript | CoffeeScript | ichord/At.js | spec/spec_helper.coffee | MIT | a627b5fcac22c35d52b7fb6d8a93181d2546f3c0 | 5,250 | https://github.com/ichord/At.js/blob/a627b5fcac22c35d52b7fb6d8a93181d2546f3c0/spec/spec_helper.coffee | 1 | 41 |
ichord/At.js:spec/spec_helper.coffee:1:raw_corpus | raw_corpus | @KEY_CODE =
DOWN: 40
UP: 38
ESC: 27
TAB: 9
ENTER: 13
CTRL: 17
P: 80
N: 78
@fixtures or= loadJSONFixtures("data.json")["data.json"]
@triggerAtwhoAt = ($inputor) ->
simulateTypingIn $inputor
simulateChoose $inputor
@simulateTypingIn = ($inputor, flag, pos=31) ->
$inputor.data("atwho").setContextF... | CoffeeScript | ichord/At.js | spec/spec_helper.coffee | MIT | 4673922e4e43ccb85a3f85dbe0d8f4aae8c0a532 | 5,250 | https://github.com/ichord/At.js/blob/4673922e4e43ccb85a3f85dbe0d8f4aae8c0a532/spec/spec_helper.coffee | 1 | 39 | ||
ichord/At.js:spec/spec_helper.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
@KEY_CODE =
DOWN: 40
UP: 38
ESC: 27
TAB: 9
ENTER: 13
CTRL: 17
P: 80
N: 78
@fixtures or= loadJSONFixtures("data.json")["data.json"]
@triggerAtwhoAt = ($inputor) ->
simulateTypingIn $inputor
simulateChoose $inputor
@simulateTypingIn = ($input... | this.KEY_CODE = {
DOWN: 40,
UP: 38,
ESC: 27,
TAB: 9,
ENTER: 13,
CTRL: 17,
P: 80,
N: 78
};
this.fixtures || (this.fixtures = loadJSONFixtures("data.json")["data.json"]);
this.triggerAtwhoAt = function($inputor) {
simulateTypingIn($inputor);
return simulateChoose($inputor);
};
this.simulateTypingIn... | CoffeeScript | JavaScript | ichord/At.js | spec/spec_helper.coffee | MIT | 4673922e4e43ccb85a3f85dbe0d8f4aae8c0a532 | 5,250 | https://github.com/ichord/At.js/blob/4673922e4e43ccb85a3f85dbe0d8f4aae8c0a532/spec/spec_helper.coffee | 1 | 39 |
ichord/At.js:spec/spec_helper.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
this.KEY_CODE = {
DOWN: 40,
UP: 38,
ESC: 27,
TAB: 9,
ENTER: 13,
CTRL: 17,
P: 80,
N: 78
};
this.fixtures || (this.fixtures = loadJSONFixtures("data.json")["data.json"]);
this.triggerAtwhoAt = function($inputor) {
simulateTypingIn($inputor);
ret... | @KEY_CODE =
DOWN: 40
UP: 38
ESC: 27
TAB: 9
ENTER: 13
CTRL: 17
P: 80
N: 78
@fixtures or= loadJSONFixtures("data.json")["data.json"]
@triggerAtwhoAt = ($inputor) ->
simulateTypingIn $inputor
simulateChoose $inputor
@simulateTypingIn = ($inputor, flag, pos=31) ->
$inputor.data("atwho").setContextF... | JavaScript | CoffeeScript | ichord/At.js | spec/spec_helper.coffee | MIT | 4673922e4e43ccb85a3f85dbe0d8f4aae8c0a532 | 5,250 | https://github.com/ichord/At.js/blob/4673922e4e43ccb85a3f85dbe0d8f4aae8c0a532/spec/spec_helper.coffee | 1 | 39 |
ichord/At.js:spec/spec_helper.coffee:1:completion | completion | @KEY_CODE =
DOWN: 40
UP: 38
ESC: 27
TAB: 9
ENTER: 13
CTRL: 17
P: 80
N: 78
@fixtures or= loadJSONFixtures("data.json")["data.json"]
@triggerAtwhoAt = ($inputor) ->
simulateTypingIn $inputor
simulateChoose $inputor
@simulateTypingIn = ($inputor, flag, pos=31) ->
$inputor.data("atwho").setContextF... | oWindow = oDocument.defaultView || oDocument.parentWindow
if $inputor.attr('contentEditable') == 'true' && oWindow.getSelection
$inputor.focus()
sel = oWindow.getSelection()
range = oDocument.createRange()
range.setStart $inputor.contents().get(0), pos
range.setEnd $inputor.contents().get(0), pos
... | CoffeeScript | CoffeeScript | ichord/At.js | spec/spec_helper.coffee | MIT | 4673922e4e43ccb85a3f85dbe0d8f4aae8c0a532 | 5,250 | https://github.com/ichord/At.js/blob/4673922e4e43ccb85a3f85dbe0d8f4aae8c0a532/spec/spec_helper.coffee | 1 | 39 |
ichord/At.js:spec/spec_helper.coffee:1:raw_corpus | raw_corpus | @KEY_CODE =
DOWN: 40
UP: 38
ESC: 27
TAB: 9
ENTER: 13
CTRL: 17
P: 80
N: 78
@fixtures or= loadJSONFixtures("data.json")["data.json"]
@triggerAtwhoAt = ($inputor) ->
simulateTypingIn $inputor
simulateChoose $inputor
@simulateTypingIn = ($inputor, flag, pos=31) ->
$inputor.data("atwho").setContextF... | CoffeeScript | ichord/At.js | spec/spec_helper.coffee | MIT | 88fd9bcbd68bb681f152584999e3b83968e4779d | 5,250 | https://github.com/ichord/At.js/blob/88fd9bcbd68bb681f152584999e3b83968e4779d/spec/spec_helper.coffee | 1 | 40 | ||
ichord/At.js:spec/spec_helper.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
@KEY_CODE =
DOWN: 40
UP: 38
ESC: 27
TAB: 9
ENTER: 13
CTRL: 17
P: 80
N: 78
@fixtures or= loadJSONFixtures("data.json")["data.json"]
@triggerAtwhoAt = ($inputor) ->
simulateTypingIn $inputor
simulateChoose $inputor
@simulateTypingIn = ($input... | this.KEY_CODE = {
DOWN: 40,
UP: 38,
ESC: 27,
TAB: 9,
ENTER: 13,
CTRL: 17,
P: 80,
N: 78
};
this.fixtures || (this.fixtures = loadJSONFixtures("data.json")["data.json"]);
this.triggerAtwhoAt = function($inputor) {
simulateTypingIn($inputor);
return simulateChoose($inputor);
};
this.simulateTypingIn... | CoffeeScript | JavaScript | ichord/At.js | spec/spec_helper.coffee | MIT | 88fd9bcbd68bb681f152584999e3b83968e4779d | 5,250 | https://github.com/ichord/At.js/blob/88fd9bcbd68bb681f152584999e3b83968e4779d/spec/spec_helper.coffee | 1 | 40 |
ichord/At.js:spec/spec_helper.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
this.KEY_CODE = {
DOWN: 40,
UP: 38,
ESC: 27,
TAB: 9,
ENTER: 13,
CTRL: 17,
P: 80,
N: 78
};
this.fixtures || (this.fixtures = loadJSONFixtures("data.json")["data.json"]);
this.triggerAtwhoAt = function($inputor) {
simulateTypingIn($inputor);
ret... | @KEY_CODE =
DOWN: 40
UP: 38
ESC: 27
TAB: 9
ENTER: 13
CTRL: 17
P: 80
N: 78
@fixtures or= loadJSONFixtures("data.json")["data.json"]
@triggerAtwhoAt = ($inputor) ->
simulateTypingIn $inputor
simulateChoose $inputor
@simulateTypingIn = ($inputor, flag, pos=31) ->
$inputor.data("atwho").setContextF... | JavaScript | CoffeeScript | ichord/At.js | spec/spec_helper.coffee | MIT | 88fd9bcbd68bb681f152584999e3b83968e4779d | 5,250 | https://github.com/ichord/At.js/blob/88fd9bcbd68bb681f152584999e3b83968e4779d/spec/spec_helper.coffee | 1 | 40 |
ichord/At.js:spec/spec_helper.coffee:1:completion | completion | @KEY_CODE =
DOWN: 40
UP: 38
ESC: 27
TAB: 9
ENTER: 13
CTRL: 17
P: 80
N: 78
@fixtures or= loadJSONFixtures("data.json")["data.json"]
@triggerAtwhoAt = ($inputor) ->
simulateTypingIn $inputor
simulateChoose $inputor
@simulateTypingIn = ($inputor, flag, pos=31) ->
$inputor.data("atwho").setContextF... | if $inputor.attr('contentEditable') == 'true' && oWindow.getSelection
$inputor.focus()
sel = oWindow.getSelection()
range = sel.getRangeAt(0)
clonedRange = range.cloneRange()
clonedRange.selectNodeContents($inputor[0])
clonedRange.setStart(range.endContainer, pos)
clonedRange.collapse(true)
... | CoffeeScript | CoffeeScript | ichord/At.js | spec/spec_helper.coffee | MIT | 88fd9bcbd68bb681f152584999e3b83968e4779d | 5,250 | https://github.com/ichord/At.js/blob/88fd9bcbd68bb681f152584999e3b83968e4779d/spec/spec_helper.coffee | 1 | 40 |
ichord/At.js:spec/spec_helper.coffee:1:raw_corpus | raw_corpus | @KEY_CODE =
DOWN: 40
UP: 38
ESC: 27
TAB: 9
ENTER: 13
CTRL: 17
P: 80
N: 78
@fixtures or= loadJSONFixtures("data.json")["data.json"]
@triggerAtwhoAt = ($inputor) ->
simulateTypingIn $inputor
simulateChoose $inputor
@simulateTypingIn = ($inputor, flag) ->
$inputor.data("atwho").setContextFor flag ... | CoffeeScript | ichord/At.js | spec/spec_helper.coffee | MIT | dea7f905a54abd351d68c768fd3d6bd4fc281e9c | 5,250 | https://github.com/ichord/At.js/blob/dea7f905a54abd351d68c768fd3d6bd4fc281e9c/spec/spec_helper.coffee | 1 | 41 | ||
ichord/At.js:spec/spec_helper.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
@KEY_CODE =
DOWN: 40
UP: 38
ESC: 27
TAB: 9
ENTER: 13
CTRL: 17
P: 80
N: 78
@fixtures or= loadJSONFixtures("data.json")["data.json"]
@triggerAtwhoAt = ($inputor) ->
simulateTypingIn $inputor
simulateChoose $inputor
@simulateTypingIn = ($input... | this.KEY_CODE = {
DOWN: 40,
UP: 38,
ESC: 27,
TAB: 9,
ENTER: 13,
CTRL: 17,
P: 80,
N: 78
};
this.fixtures || (this.fixtures = loadJSONFixtures("data.json")["data.json"]);
this.triggerAtwhoAt = function($inputor) {
simulateTypingIn($inputor);
return simulateChoose($inputor);
};
this.simulateTypingIn... | CoffeeScript | JavaScript | ichord/At.js | spec/spec_helper.coffee | MIT | dea7f905a54abd351d68c768fd3d6bd4fc281e9c | 5,250 | https://github.com/ichord/At.js/blob/dea7f905a54abd351d68c768fd3d6bd4fc281e9c/spec/spec_helper.coffee | 1 | 41 |
ichord/At.js:spec/spec_helper.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
this.KEY_CODE = {
DOWN: 40,
UP: 38,
ESC: 27,
TAB: 9,
ENTER: 13,
CTRL: 17,
P: 80,
N: 78
};
this.fixtures || (this.fixtures = loadJSONFixtures("data.json")["data.json"]);
this.triggerAtwhoAt = function($inputor) {
simulateTypingIn($inputor);
ret... | @KEY_CODE =
DOWN: 40
UP: 38
ESC: 27
TAB: 9
ENTER: 13
CTRL: 17
P: 80
N: 78
@fixtures or= loadJSONFixtures("data.json")["data.json"]
@triggerAtwhoAt = ($inputor) ->
simulateTypingIn $inputor
simulateChoose $inputor
@simulateTypingIn = ($inputor, flag) ->
$inputor.data("atwho").setContextFor flag ... | JavaScript | CoffeeScript | ichord/At.js | spec/spec_helper.coffee | MIT | dea7f905a54abd351d68c768fd3d6bd4fc281e9c | 5,250 | https://github.com/ichord/At.js/blob/dea7f905a54abd351d68c768fd3d6bd4fc281e9c/spec/spec_helper.coffee | 1 | 41 |
ichord/At.js:spec/spec_helper.coffee:1:completion | completion | @KEY_CODE =
DOWN: 40
UP: 38
ESC: 27
TAB: 9
ENTER: 13
CTRL: 17
P: 80
N: 78
@fixtures or= loadJSONFixtures("data.json")["data.json"]
@triggerAtwhoAt = ($inputor) ->
simulateTypingIn $inputor
simulateChoose $inputor
@simulateTypingIn = ($inputor, flag) ->
$inputor.data("atwho").setContextFor flag ... | if $inputor.attr('contentEditable') == 'true' && oWindow.getSelection
$inputor.focus()
sel = oWindow.getSelection()
range = sel.getRangeAt(0)
clonedRange = range.cloneRange()
clonedRange.selectNodeContents($inputor[0])
clonedRange.setStart(range.endContainer, 30)
clonedRange.collapse(true)
... | CoffeeScript | CoffeeScript | ichord/At.js | spec/spec_helper.coffee | MIT | dea7f905a54abd351d68c768fd3d6bd4fc281e9c | 5,250 | https://github.com/ichord/At.js/blob/dea7f905a54abd351d68c768fd3d6bd4fc281e9c/spec/spec_helper.coffee | 1 | 41 |
ichord/At.js:spec/spec_helper.coffee:1:raw_corpus | raw_corpus | @KEY_CODE =
DOWN: 40
UP: 38
ESC: 27
TAB: 9
ENTER: 13
CTRL: 17
P: 80
N: 78
@fixtures or= loadJSONFixtures("data.json")["data.json"]
@triggerAtwhoAt = ($inputor) ->
simulateTypingIn $inputor
simulateChoose $inputor
@simulateTypingIn = ($inputor, flag) ->
$inputor.data("atwho").set_context_for fla... | CoffeeScript | ichord/At.js | spec/spec_helper.coffee | MIT | b05d51a77ef9a02aa2dbcd72543ead335a5cb5a0 | 5,250 | https://github.com/ichord/At.js/blob/b05d51a77ef9a02aa2dbcd72543ead335a5cb5a0/spec/spec_helper.coffee | 1 | 41 | ||
ichord/At.js:spec/spec_helper.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
@KEY_CODE =
DOWN: 40
UP: 38
ESC: 27
TAB: 9
ENTER: 13
CTRL: 17
P: 80
N: 78
@fixtures or= loadJSONFixtures("data.json")["data.json"]
@triggerAtwhoAt = ($inputor) ->
simulateTypingIn $inputor
simulateChoose $inputor
@simulateTypingIn = ($input... | this.KEY_CODE = {
DOWN: 40,
UP: 38,
ESC: 27,
TAB: 9,
ENTER: 13,
CTRL: 17,
P: 80,
N: 78
};
this.fixtures || (this.fixtures = loadJSONFixtures("data.json")["data.json"]);
this.triggerAtwhoAt = function($inputor) {
simulateTypingIn($inputor);
return simulateChoose($inputor);
};
this.simulateTypingIn... | CoffeeScript | JavaScript | ichord/At.js | spec/spec_helper.coffee | MIT | b05d51a77ef9a02aa2dbcd72543ead335a5cb5a0 | 5,250 | https://github.com/ichord/At.js/blob/b05d51a77ef9a02aa2dbcd72543ead335a5cb5a0/spec/spec_helper.coffee | 1 | 41 |
ichord/At.js:spec/spec_helper.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
this.KEY_CODE = {
DOWN: 40,
UP: 38,
ESC: 27,
TAB: 9,
ENTER: 13,
CTRL: 17,
P: 80,
N: 78
};
this.fixtures || (this.fixtures = loadJSONFixtures("data.json")["data.json"]);
this.triggerAtwhoAt = function($inputor) {
simulateTypingIn($inputor);
ret... | @KEY_CODE =
DOWN: 40
UP: 38
ESC: 27
TAB: 9
ENTER: 13
CTRL: 17
P: 80
N: 78
@fixtures or= loadJSONFixtures("data.json")["data.json"]
@triggerAtwhoAt = ($inputor) ->
simulateTypingIn $inputor
simulateChoose $inputor
@simulateTypingIn = ($inputor, flag) ->
$inputor.data("atwho").set_context_for fla... | JavaScript | CoffeeScript | ichord/At.js | spec/spec_helper.coffee | MIT | b05d51a77ef9a02aa2dbcd72543ead335a5cb5a0 | 5,250 | https://github.com/ichord/At.js/blob/b05d51a77ef9a02aa2dbcd72543ead335a5cb5a0/spec/spec_helper.coffee | 1 | 41 |
ichord/At.js:spec/spec_helper.coffee:1:completion | completion | @KEY_CODE =
DOWN: 40
UP: 38
ESC: 27
TAB: 9
ENTER: 13
CTRL: 17
P: 80
N: 78
@fixtures or= loadJSONFixtures("data.json")["data.json"]
@triggerAtwhoAt = ($inputor) ->
simulateTypingIn $inputor
simulateChoose $inputor
@simulateTypingIn = ($inputor, flag) ->
$inputor.data("atwho").set_context_for fla... | if $inputor.attr('contentEditable') == 'true' && oWindow.getSelection
$inputor.focus()
sel = oWindow.getSelection()
range = sel.getRangeAt(0)
clonedRange = range.cloneRange()
clonedRange.selectNodeContents($inputor[0])
clonedRange.setStart(range.endContainer, 30)
clonedRange.collapse(true)
... | CoffeeScript | CoffeeScript | ichord/At.js | spec/spec_helper.coffee | MIT | b05d51a77ef9a02aa2dbcd72543ead335a5cb5a0 | 5,250 | https://github.com/ichord/At.js/blob/b05d51a77ef9a02aa2dbcd72543ead335a5cb5a0/spec/spec_helper.coffee | 1 | 41 |
ichord/At.js:spec/spec_helper.coffee:1:raw_corpus | raw_corpus | @KEY_CODE =
DOWN: 40
UP: 38
ESC: 27
TAB: 9
ENTER: 13
CTRL: 17
P: 80
N: 78
@fixtures or= loadJSONFixtures("data.json")["data.json"]
@triggerAtwhoAt = ($inputor) ->
simulateTypingIn $inputor
simulateChoose $inputor
@simulateTypingIn = ($inputor, flag) ->
$inputor.data("atwho").set_context_for fla... | CoffeeScript | ichord/At.js | spec/spec_helper.coffee | MIT | ab9bd63d344e5bd67fbd5482caac03fb22bd1898 | 5,250 | https://github.com/ichord/At.js/blob/ab9bd63d344e5bd67fbd5482caac03fb22bd1898/spec/spec_helper.coffee | 1 | 41 | ||
ichord/At.js:spec/spec_helper.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
@KEY_CODE =
DOWN: 40
UP: 38
ESC: 27
TAB: 9
ENTER: 13
CTRL: 17
P: 80
N: 78
@fixtures or= loadJSONFixtures("data.json")["data.json"]
@triggerAtwhoAt = ($inputor) ->
simulateTypingIn $inputor
simulateChoose $inputor
@simulateTypingIn = ($input... | this.KEY_CODE = {
DOWN: 40,
UP: 38,
ESC: 27,
TAB: 9,
ENTER: 13,
CTRL: 17,
P: 80,
N: 78
};
this.fixtures || (this.fixtures = loadJSONFixtures("data.json")["data.json"]);
this.triggerAtwhoAt = function($inputor) {
simulateTypingIn($inputor);
return simulateChoose($inputor);
};
this.simulateTypingIn... | CoffeeScript | JavaScript | ichord/At.js | spec/spec_helper.coffee | MIT | ab9bd63d344e5bd67fbd5482caac03fb22bd1898 | 5,250 | https://github.com/ichord/At.js/blob/ab9bd63d344e5bd67fbd5482caac03fb22bd1898/spec/spec_helper.coffee | 1 | 41 |
ichord/At.js:spec/spec_helper.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
this.KEY_CODE = {
DOWN: 40,
UP: 38,
ESC: 27,
TAB: 9,
ENTER: 13,
CTRL: 17,
P: 80,
N: 78
};
this.fixtures || (this.fixtures = loadJSONFixtures("data.json")["data.json"]);
this.triggerAtwhoAt = function($inputor) {
simulateTypingIn($inputor);
ret... | @KEY_CODE =
DOWN: 40
UP: 38
ESC: 27
TAB: 9
ENTER: 13
CTRL: 17
P: 80
N: 78
@fixtures or= loadJSONFixtures("data.json")["data.json"]
@triggerAtwhoAt = ($inputor) ->
simulateTypingIn $inputor
simulateChoose $inputor
@simulateTypingIn = ($inputor, flag) ->
$inputor.data("atwho").set_context_for fla... | JavaScript | CoffeeScript | ichord/At.js | spec/spec_helper.coffee | MIT | ab9bd63d344e5bd67fbd5482caac03fb22bd1898 | 5,250 | https://github.com/ichord/At.js/blob/ab9bd63d344e5bd67fbd5482caac03fb22bd1898/spec/spec_helper.coffee | 1 | 41 |
ichord/At.js:spec/spec_helper.coffee:1:completion | completion | @KEY_CODE =
DOWN: 40
UP: 38
ESC: 27
TAB: 9
ENTER: 13
CTRL: 17
P: 80
N: 78
@fixtures or= loadJSONFixtures("data.json")["data.json"]
@triggerAtwhoAt = ($inputor) ->
simulateTypingIn $inputor
simulateChoose $inputor
@simulateTypingIn = ($inputor, flag) ->
$inputor.data("atwho").set_context_for fla... | if $inputor.attr('contentEditable') == 'true' && oWindow.getSelection
$inputor.focus()
sel = oWindow.getSelection()
range = sel.getRangeAt(0)
clonedRange = range.cloneRange()
clonedRange.selectNodeContents($inputor[0])
clonedRange.setStart(range.endContainer, 31)
clonedRange.collapse(true)
... | CoffeeScript | CoffeeScript | ichord/At.js | spec/spec_helper.coffee | MIT | ab9bd63d344e5bd67fbd5482caac03fb22bd1898 | 5,250 | https://github.com/ichord/At.js/blob/ab9bd63d344e5bd67fbd5482caac03fb22bd1898/spec/spec_helper.coffee | 1 | 41 |
ichord/At.js:spec/spec_helper.coffee:1:raw_corpus | raw_corpus | @KEY_CODE =
DOWN: 40
UP: 38
ESC: 27
TAB: 9
ENTER: 13
@fixtures or= loadJSONFixtures("data.json")["data.json"]
@triggerAtwhoAt = ($inputor) ->
simulateTypingIn $inputor
simulateChoose $inputor
@simulateTypingIn = ($inputor, flag) ->
$inputor.data("atwho").set_context_for flag || "@"
oDocument = $inp... | CoffeeScript | ichord/At.js | spec/spec_helper.coffee | MIT | e028042d0045d491b94bc51ecbb8462ac71ff902 | 5,250 | https://github.com/ichord/At.js/blob/e028042d0045d491b94bc51ecbb8462ac71ff902/spec/spec_helper.coffee | 1 | 38 | ||
ichord/At.js:spec/spec_helper.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
@KEY_CODE =
DOWN: 40
UP: 38
ESC: 27
TAB: 9
ENTER: 13
@fixtures or= loadJSONFixtures("data.json")["data.json"]
@triggerAtwhoAt = ($inputor) ->
simulateTypingIn $inputor
simulateChoose $inputor
@simulateTypingIn = ($inputor, flag) ->
$inputor.dat... | this.KEY_CODE = {
DOWN: 40,
UP: 38,
ESC: 27,
TAB: 9,
ENTER: 13
};
this.fixtures || (this.fixtures = loadJSONFixtures("data.json")["data.json"]);
this.triggerAtwhoAt = function($inputor) {
simulateTypingIn($inputor);
return simulateChoose($inputor);
};
this.simulateTypingIn = function($inputor, flag) {
... | CoffeeScript | JavaScript | ichord/At.js | spec/spec_helper.coffee | MIT | e028042d0045d491b94bc51ecbb8462ac71ff902 | 5,250 | https://github.com/ichord/At.js/blob/e028042d0045d491b94bc51ecbb8462ac71ff902/spec/spec_helper.coffee | 1 | 38 |
ichord/At.js:spec/spec_helper.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
this.KEY_CODE = {
DOWN: 40,
UP: 38,
ESC: 27,
TAB: 9,
ENTER: 13
};
this.fixtures || (this.fixtures = loadJSONFixtures("data.json")["data.json"]);
this.triggerAtwhoAt = function($inputor) {
simulateTypingIn($inputor);
return simulateChoose($inputor);
... | @KEY_CODE =
DOWN: 40
UP: 38
ESC: 27
TAB: 9
ENTER: 13
@fixtures or= loadJSONFixtures("data.json")["data.json"]
@triggerAtwhoAt = ($inputor) ->
simulateTypingIn $inputor
simulateChoose $inputor
@simulateTypingIn = ($inputor, flag) ->
$inputor.data("atwho").set_context_for flag || "@"
oDocument = $inp... | JavaScript | CoffeeScript | ichord/At.js | spec/spec_helper.coffee | MIT | e028042d0045d491b94bc51ecbb8462ac71ff902 | 5,250 | https://github.com/ichord/At.js/blob/e028042d0045d491b94bc51ecbb8462ac71ff902/spec/spec_helper.coffee | 1 | 38 |
ichord/At.js:spec/spec_helper.coffee:1:completion | completion | @KEY_CODE =
DOWN: 40
UP: 38
ESC: 27
TAB: 9
ENTER: 13
@fixtures or= loadJSONFixtures("data.json")["data.json"]
@triggerAtwhoAt = ($inputor) ->
simulateTypingIn $inputor
simulateChoose $inputor
@simulateTypingIn = ($inputor, flag) ->
$inputor.data("atwho").set_context_for flag || "@"
oDocument = $inp... | sel = oWindow.getSelection()
range = sel.getRangeAt(0)
clonedRange = range.cloneRange()
clonedRange.selectNodeContents($inputor[0])
clonedRange.setStart(range.endContainer, 31)
clonedRange.collapse(true)
sel.removeAllRanges()
sel.addRange(clonedRange)
else
$inputor.caret('pos', 31)
... | CoffeeScript | CoffeeScript | ichord/At.js | spec/spec_helper.coffee | MIT | e028042d0045d491b94bc51ecbb8462ac71ff902 | 5,250 | https://github.com/ichord/At.js/blob/e028042d0045d491b94bc51ecbb8462ac71ff902/spec/spec_helper.coffee | 1 | 38 |
ichord/At.js:spec/spec_helper.coffee:1:raw_corpus | raw_corpus | @KEY_CODE =
DOWN: 40
UP: 38
ESC: 27
TAB: 9
ENTER: 13
@fixtures or= loadJSONFixtures("data.json")["data.json"]
@triggerAtwhoAt = ($inputor) ->
simulateTypingIn $inputor
simulate_choose $inputor
@simulateTypingIn = ($inputor, flag) ->
$inputor.data("atwho").set_context_for flag || "@"
$inputor.caret(... | CoffeeScript | ichord/At.js | spec/spec_helper.coffee | MIT | 05e394acfa13937353bf03db2e478e55e245df71 | 5,250 | https://github.com/ichord/At.js/blob/05e394acfa13937353bf03db2e478e55e245df71/spec/spec_helper.coffee | 1 | 24 | ||
ichord/At.js:spec/spec_helper.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
@KEY_CODE =
DOWN: 40
UP: 38
ESC: 27
TAB: 9
ENTER: 13
@fixtures or= loadJSONFixtures("data.json")["data.json"]
@triggerAtwhoAt = ($inputor) ->
simulateTypingIn $inputor
simulate_choose $inputor
@simulateTypingIn = ($inputor, flag) ->
$inputor.da... | this.KEY_CODE = {
DOWN: 40,
UP: 38,
ESC: 27,
TAB: 9,
ENTER: 13
};
this.fixtures || (this.fixtures = loadJSONFixtures("data.json")["data.json"]);
this.triggerAtwhoAt = function($inputor) {
simulateTypingIn($inputor);
return simulate_choose($inputor);
};
this.simulateTypingIn = function($inputor, flag) {... | CoffeeScript | JavaScript | ichord/At.js | spec/spec_helper.coffee | MIT | 05e394acfa13937353bf03db2e478e55e245df71 | 5,250 | https://github.com/ichord/At.js/blob/05e394acfa13937353bf03db2e478e55e245df71/spec/spec_helper.coffee | 1 | 24 |
ichord/At.js:spec/spec_helper.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
this.KEY_CODE = {
DOWN: 40,
UP: 38,
ESC: 27,
TAB: 9,
ENTER: 13
};
this.fixtures || (this.fixtures = loadJSONFixtures("data.json")["data.json"]);
this.triggerAtwhoAt = function($inputor) {
simulateTypingIn($inputor);
return simulate_choose($inputor);... | @KEY_CODE =
DOWN: 40
UP: 38
ESC: 27
TAB: 9
ENTER: 13
@fixtures or= loadJSONFixtures("data.json")["data.json"]
@triggerAtwhoAt = ($inputor) ->
simulateTypingIn $inputor
simulate_choose $inputor
@simulateTypingIn = ($inputor, flag) ->
$inputor.data("atwho").set_context_for flag || "@"
$inputor.caret(... | JavaScript | CoffeeScript | ichord/At.js | spec/spec_helper.coffee | MIT | 05e394acfa13937353bf03db2e478e55e245df71 | 5,250 | https://github.com/ichord/At.js/blob/05e394acfa13937353bf03db2e478e55e245df71/spec/spec_helper.coffee | 1 | 24 |
ichord/At.js:spec/spec_helper.coffee:1:completion | completion | @KEY_CODE =
DOWN: 40
UP: 38
ESC: 27
TAB: 9
ENTER: 13
@fixtures or= loadJSONFixtures("data.json")["data.json"]
@triggerAtwhoAt = ($inputor) ->
simulateTypingIn $inputor
simulate_choose $inputor | @simulateTypingIn = ($inputor, flag) ->
$inputor.data("atwho").set_context_for flag || "@"
$inputor.caret('pos', 31)
$inputor.trigger("keyup")
@simulate_choose = ($inputor) ->
e = $.Event("keydown", keyCode: KEY_CODE.ENTER)
$inputor.trigger(e)
@getAppOf = ($inputor, at = "@") ->
$inputor.data('atwho').set... | CoffeeScript | CoffeeScript | ichord/At.js | spec/spec_helper.coffee | MIT | 05e394acfa13937353bf03db2e478e55e245df71 | 5,250 | https://github.com/ichord/At.js/blob/05e394acfa13937353bf03db2e478e55e245df71/spec/spec_helper.coffee | 1 | 24 |
gss/engine:src/domains/Numeric.coffee:1:raw_corpus | raw_corpus | ### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../Domain')
Command = require('../Command')
Variable = require('../commands/Variable')
class Numeric extends Domain
priority: 200
@Measurement: require('../types/Measuremen... | CoffeeScript | gss/engine | src/domains/Numeric.coffee | MIT | f8e1347f79067a2261d9ff2ec5c563faa19b06ec | 2,854 | https://github.com/gss/engine/blob/f8e1347f79067a2261d9ff2ec5c563faa19b06ec/src/domains/Numeric.coffee | 1 | 50 | ||
gss/engine:src/domains/Numeric.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../Domain')
Command = require('../Command')
Variable = require('../commands/Variable')
class Numeric extends Domain
pr... | /* Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
*/
var Command, Domain, Numeric, Variable;
Domain = require('../Domain');
Command = require('../Command');
Variable = require('../commands/Variable');
Numeric = (function() {
class Numeric extends Do... | CoffeeScript | JavaScript | gss/engine | src/domains/Numeric.coffee | MIT | f8e1347f79067a2261d9ff2ec5c563faa19b06ec | 2,854 | https://github.com/gss/engine/blob/f8e1347f79067a2261d9ff2ec5c563faa19b06ec/src/domains/Numeric.coffee | 1 | 50 |
gss/engine:src/domains/Numeric.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
/* Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
*/
var Command, Domain, Numeric, Variable;
Domain = require('../Domain');
Command = require('../Command');
Variable = require('../commands/Variable... | ### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../Domain')
Command = require('../Command')
Variable = require('../commands/Variable')
class Numeric extends Domain
priority: 200
@Measurement: require('../types/Measuremen... | JavaScript | CoffeeScript | gss/engine | src/domains/Numeric.coffee | MIT | f8e1347f79067a2261d9ff2ec5c563faa19b06ec | 2,854 | https://github.com/gss/engine/blob/f8e1347f79067a2261d9ff2ec5c563faa19b06ec/src/domains/Numeric.coffee | 1 | 50 |
gss/engine:src/domains/Numeric.coffee:1:completion | completion | ### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../Domain')
Command = require('../Command')
Variable = require('../commands/Variable')
class Numeric extends Domain
priority: 200
@Measurement: require('../types/Measuremen... | get: (path, engine, operation, continuation, scope) ->
if meta = @getMeta(operation)
continuation = meta.key
scope ||= meta.scope && engine.identity[meta.scope] || engine.scope
return engine.watch(null, path, operation, @delimit(continuation || ''), scope)
Numeric::Variable.Expression = Variable.Ex... | CoffeeScript | CoffeeScript | gss/engine | src/domains/Numeric.coffee | MIT | f8e1347f79067a2261d9ff2ec5c563faa19b06ec | 2,854 | https://github.com/gss/engine/blob/f8e1347f79067a2261d9ff2ec5c563faa19b06ec/src/domains/Numeric.coffee | 1 | 50 |
gss/engine:src/domains/Numeric.coffee:1:raw_corpus | raw_corpus | ### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../Domain')
Command = require('../Command')
Variable = require('../commands/Variable')
class Numeric extends Domain
priority: 200
Units: require('../commands/Unit')
# Num... | CoffeeScript | gss/engine | src/domains/Numeric.coffee | MIT | d3a6c74b85e6d12a9ec02c24fef87d4c22bd9cb0 | 2,854 | https://github.com/gss/engine/blob/d3a6c74b85e6d12a9ec02c24fef87d4c22bd9cb0/src/domains/Numeric.coffee | 1 | 47 | ||
gss/engine:src/domains/Numeric.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../Domain')
Command = require('../Command')
Variable = require('../commands/Variable')
class Numeric extends Domain
pr... | /* Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
*/
var Command, Domain, Numeric, Variable;
Domain = require('../Domain');
Command = require('../Command');
Variable = require('../commands/Variable');
Numeric = (function() {
class Numeric extends Do... | CoffeeScript | JavaScript | gss/engine | src/domains/Numeric.coffee | MIT | d3a6c74b85e6d12a9ec02c24fef87d4c22bd9cb0 | 2,854 | https://github.com/gss/engine/blob/d3a6c74b85e6d12a9ec02c24fef87d4c22bd9cb0/src/domains/Numeric.coffee | 1 | 47 |
gss/engine:src/domains/Numeric.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
/* Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
*/
var Command, Domain, Numeric, Variable;
Domain = require('../Domain');
Command = require('../Command');
Variable = require('../commands/Variable... | ### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../Domain')
Command = require('../Command')
Variable = require('../commands/Variable')
class Numeric extends Domain
priority: 200
Units: require('../commands/Unit')
# Num... | JavaScript | CoffeeScript | gss/engine | src/domains/Numeric.coffee | MIT | d3a6c74b85e6d12a9ec02c24fef87d4c22bd9cb0 | 2,854 | https://github.com/gss/engine/blob/d3a6c74b85e6d12a9ec02c24fef87d4c22bd9cb0/src/domains/Numeric.coffee | 1 | 47 |
gss/engine:src/domains/Numeric.coffee:1:completion | completion | ### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../Domain')
Command = require('../Command')
Variable = require('../commands/Variable')
class Numeric extends Domain
priority: 200
Units: require('../commands/Unit')
# Num... | return engine.watch(null, path, operation, @delimit(continuation || ''), scope)
Numeric::Variable.Expression = Variable.Expression.extend(
before: (args, engine)->
for arg in args
if !arg? || arg != arg
return NaN
)
Numeric::Variable.Expression.define(Variable.Expression.algebra)
Numeric::Meta = C... | CoffeeScript | CoffeeScript | gss/engine | src/domains/Numeric.coffee | MIT | d3a6c74b85e6d12a9ec02c24fef87d4c22bd9cb0 | 2,854 | https://github.com/gss/engine/blob/d3a6c74b85e6d12a9ec02c24fef87d4c22bd9cb0/src/domains/Numeric.coffee | 1 | 47 |
gss/engine:src/domains/Numeric.coffee:1:raw_corpus | raw_corpus | ### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../Domain')
Command = require('../Command')
Variable = require('../Variable')
class Numeric extends Domain
priority: 200
# Numeric domains usually dont use worker
url: nu... | CoffeeScript | gss/engine | src/domains/Numeric.coffee | MIT | ba570447bffcb22632d7887ba94b346c05506490 | 2,854 | https://github.com/gss/engine/blob/ba570447bffcb22632d7887ba94b346c05506490/src/domains/Numeric.coffee | 1 | 46 | ||
gss/engine:src/domains/Numeric.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../Domain')
Command = require('../Command')
Variable = require('../Variable')
class Numeric extends Domain
priority: 2... | /* Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
*/
var Command, Domain, Numeric, Variable;
Domain = require('../Domain');
Command = require('../Command');
Variable = require('../Variable');
Numeric = (function() {
class Numeric extends Domain {};
... | CoffeeScript | JavaScript | gss/engine | src/domains/Numeric.coffee | MIT | ba570447bffcb22632d7887ba94b346c05506490 | 2,854 | https://github.com/gss/engine/blob/ba570447bffcb22632d7887ba94b346c05506490/src/domains/Numeric.coffee | 1 | 46 |
gss/engine:src/domains/Numeric.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
/* Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
*/
var Command, Domain, Numeric, Variable;
Domain = require('../Domain');
Command = require('../Command');
Variable = require('../Variable');
Nume... | ### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../Domain')
Command = require('../Command')
Variable = require('../Variable')
class Numeric extends Domain
priority: 200
# Numeric domains usually dont use worker
url: nu... | JavaScript | CoffeeScript | gss/engine | src/domains/Numeric.coffee | MIT | ba570447bffcb22632d7887ba94b346c05506490 | 2,854 | https://github.com/gss/engine/blob/ba570447bffcb22632d7887ba94b346c05506490/src/domains/Numeric.coffee | 1 | 46 |
gss/engine:src/domains/Numeric.coffee:1:completion | completion | ### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../Domain')
Command = require('../Command')
Variable = require('../Variable')
class Numeric extends Domain
priority: 200
# Numeric domains usually dont use worker
url: nu... | Numeric::Variable.Expression = Variable.Expression.extend(
before: (args, engine)->
for arg in args
if !arg? || arg != arg
return NaN
)
Numeric::Variable.Expression.define(Variable.Expression.algebra)
Numeric::Meta = Command.Meta.extend {},
'object':
execute: (result) ->
return result
... | CoffeeScript | CoffeeScript | gss/engine | src/domains/Numeric.coffee | MIT | ba570447bffcb22632d7887ba94b346c05506490 | 2,854 | https://github.com/gss/engine/blob/ba570447bffcb22632d7887ba94b346c05506490/src/domains/Numeric.coffee | 1 | 46 |
gss/engine:src/domains/Numeric.coffee:1:raw_corpus | raw_corpus | ### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../Domain')
Command = require('../Command')
Variable = require('../Variable')
class Numeric extends Domain
priority: 200
# Numeric domains usually dont use worker
url: nu... | CoffeeScript | gss/engine | src/domains/Numeric.coffee | MIT | e8c1d894162b4cbf37214e6e39e1d61799a06d84 | 2,854 | https://github.com/gss/engine/blob/e8c1d894162b4cbf37214e6e39e1d61799a06d84/src/domains/Numeric.coffee | 1 | 44 | ||
gss/engine:src/domains/Numeric.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../Domain')
Command = require('../Command')
Variable = require('../Variable')
class Numeric extends Domain
priority: 2... | /* Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
*/
var Command, Domain, Numeric, Variable;
Domain = require('../Domain');
Command = require('../Command');
Variable = require('../Variable');
Numeric = (function() {
class Numeric extends Domain {};
... | CoffeeScript | JavaScript | gss/engine | src/domains/Numeric.coffee | MIT | e8c1d894162b4cbf37214e6e39e1d61799a06d84 | 2,854 | https://github.com/gss/engine/blob/e8c1d894162b4cbf37214e6e39e1d61799a06d84/src/domains/Numeric.coffee | 1 | 44 |
gss/engine:src/domains/Numeric.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
/* Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
*/
var Command, Domain, Numeric, Variable;
Domain = require('../Domain');
Command = require('../Command');
Variable = require('../Variable');
Nume... | ### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../Domain')
Command = require('../Command')
Variable = require('../Variable')
class Numeric extends Domain
priority: 200
# Numeric domains usually dont use worker
url: nu... | JavaScript | CoffeeScript | gss/engine | src/domains/Numeric.coffee | MIT | e8c1d894162b4cbf37214e6e39e1d61799a06d84 | 2,854 | https://github.com/gss/engine/blob/e8c1d894162b4cbf37214e6e39e1d61799a06d84/src/domains/Numeric.coffee | 1 | 44 |
gss/engine:src/domains/Numeric.coffee:1:completion | completion | ### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../Domain')
Command = require('../Command')
Variable = require('../Variable')
class Numeric extends Domain
priority: 200
# Numeric domains usually dont use worker
url: nu... | return engine.watch(null, path, operation, @delimit(continuation || ''), scope)
Numeric::Variable.Expression = Variable.Expression.extend(
before: (args, engine)->
for arg in args
if !arg? || arg != arg
return NaN
)
Numeric::Variable.Expression.define(Variable.Expression.algebra)
Numeric::Meta = C... | CoffeeScript | CoffeeScript | gss/engine | src/domains/Numeric.coffee | MIT | e8c1d894162b4cbf37214e6e39e1d61799a06d84 | 2,854 | https://github.com/gss/engine/blob/e8c1d894162b4cbf37214e6e39e1d61799a06d84/src/domains/Numeric.coffee | 1 | 44 |
gss/engine:src/domains/Numeric.coffee:1:raw_corpus | raw_corpus | ### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../Domain')
Command = require('../Command')
Variable = require('../Variable')
class Numeric extends Domain
priority: 200
# Numeric domains usually dont use worker
url: nu... | CoffeeScript | gss/engine | src/domains/Numeric.coffee | MIT | 9bc92c72147758363e34d02c9ed4fbfe84e5afd6 | 2,854 | https://github.com/gss/engine/blob/9bc92c72147758363e34d02c9ed4fbfe84e5afd6/src/domains/Numeric.coffee | 1 | 39 | ||
gss/engine:src/domains/Numeric.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../Domain')
Command = require('../Command')
Variable = require('../Variable')
class Numeric extends Domain
priority: 2... | /* Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
*/
var Command, Domain, Numeric, Variable;
Domain = require('../Domain');
Command = require('../Command');
Variable = require('../Variable');
Numeric = (function() {
class Numeric extends Domain {};
... | CoffeeScript | JavaScript | gss/engine | src/domains/Numeric.coffee | MIT | 9bc92c72147758363e34d02c9ed4fbfe84e5afd6 | 2,854 | https://github.com/gss/engine/blob/9bc92c72147758363e34d02c9ed4fbfe84e5afd6/src/domains/Numeric.coffee | 1 | 39 |
gss/engine:src/domains/Numeric.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
/* Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
*/
var Command, Domain, Numeric, Variable;
Domain = require('../Domain');
Command = require('../Command');
Variable = require('../Variable');
Nume... | ### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../Domain')
Command = require('../Command')
Variable = require('../Variable')
class Numeric extends Domain
priority: 200
# Numeric domains usually dont use worker
url: nu... | JavaScript | CoffeeScript | gss/engine | src/domains/Numeric.coffee | MIT | 9bc92c72147758363e34d02c9ed4fbfe84e5afd6 | 2,854 | https://github.com/gss/engine/blob/9bc92c72147758363e34d02c9ed4fbfe84e5afd6/src/domains/Numeric.coffee | 1 | 39 |
gss/engine:src/domains/Numeric.coffee:1:completion | completion | ### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../Domain')
Command = require('../Command')
Variable = require('../Variable')
class Numeric extends Domain
priority: 200
# Numeric domains usually dont use worker
url: nu... | if meta = @getMeta(operation)
continuation = meta.key
scope ||= meta.scope && engine.identity[meta.scope] || engine.scope
return engine.watch(null, path, operation, @delimit(continuation || ''), scope)
Numeric::Variable.Expression = Variable.Expression.extend()
Numeric::Variable.Expression.define(Varia... | CoffeeScript | CoffeeScript | gss/engine | src/domains/Numeric.coffee | MIT | 9bc92c72147758363e34d02c9ed4fbfe84e5afd6 | 2,854 | https://github.com/gss/engine/blob/9bc92c72147758363e34d02c9ed4fbfe84e5afd6/src/domains/Numeric.coffee | 1 | 39 |
gss/engine:src/domains/Numeric.coffee:1:raw_corpus | raw_corpus | ### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../Domain')
Command = require('../Command')
Variable = require('../commands/Variable')
Block = require('../commands/Block')
class Numeric extends Domain
priority: 200
# ... | CoffeeScript | gss/engine | src/domains/Numeric.coffee | MIT | 3295268d8e96e6444ab90dbd86e204d683af5345 | 2,854 | https://github.com/gss/engine/blob/3295268d8e96e6444ab90dbd86e204d683af5345/src/domains/Numeric.coffee | 1 | 45 | ||
gss/engine:src/domains/Numeric.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../Domain')
Command = require('../Command')
Variable = require('../commands/Variable')
Block = require('../commands/Bl... | /* Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
*/
var Block, Command, Domain, Numeric, Variable;
Domain = require('../Domain');
Command = require('../Command');
Variable = require('../commands/Variable');
Block = require('../commands/Block');
Nume... | CoffeeScript | JavaScript | gss/engine | src/domains/Numeric.coffee | MIT | 3295268d8e96e6444ab90dbd86e204d683af5345 | 2,854 | https://github.com/gss/engine/blob/3295268d8e96e6444ab90dbd86e204d683af5345/src/domains/Numeric.coffee | 1 | 45 |
gss/engine:src/domains/Numeric.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
/* Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
*/
var Block, Command, Domain, Numeric, Variable;
Domain = require('../Domain');
Command = require('../Command');
Variable = require('../commands/V... | ### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../Domain')
Command = require('../Command')
Variable = require('../commands/Variable')
Block = require('../commands/Block')
class Numeric extends Domain
priority: 200
# ... | JavaScript | CoffeeScript | gss/engine | src/domains/Numeric.coffee | MIT | 3295268d8e96e6444ab90dbd86e204d683af5345 | 2,854 | https://github.com/gss/engine/blob/3295268d8e96e6444ab90dbd86e204d683af5345/src/domains/Numeric.coffee | 1 | 45 |
gss/engine:src/domains/Numeric.coffee:1:completion | completion | ### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../Domain')
Command = require('../Command')
Variable = require('../commands/Variable')
Block = require('../commands/Block')
class Numeric extends Domain
priority: 200
# ... | scope ||= meta.scope && engine.identity[meta.scope] || engine.scope
return engine.watch(null, path, operation, @delimit(continuation || ''), scope)
Numeric::Variable.Expression = Variable.Expression.extend()
Numeric::Variable.Expression.define(Variable.Expression.algebra)
Numeric::Block = Block.extend()
Numeric::... | CoffeeScript | CoffeeScript | gss/engine | src/domains/Numeric.coffee | MIT | 3295268d8e96e6444ab90dbd86e204d683af5345 | 2,854 | https://github.com/gss/engine/blob/3295268d8e96e6444ab90dbd86e204d683af5345/src/domains/Numeric.coffee | 1 | 45 |
gss/engine:src/domains/Numeric.coffee:1:raw_corpus | raw_corpus | ### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../Domain')
Command = require('../Command')
Variable = require('../commands/Variable')
Block = require('../commands/Block')
class Numeric extends Domain
priority: 10
# N... | CoffeeScript | gss/engine | src/domains/Numeric.coffee | MIT | 31938f86e04f67ada173275db8f0e673655a12e9 | 2,854 | https://github.com/gss/engine/blob/31938f86e04f67ada173275db8f0e673655a12e9/src/domains/Numeric.coffee | 1 | 45 | ||
gss/engine:src/domains/Numeric.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../Domain')
Command = require('../Command')
Variable = require('../commands/Variable')
Block = require('../commands/Bl... | /* Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
*/
var Block, Command, Domain, Numeric, Variable;
Domain = require('../Domain');
Command = require('../Command');
Variable = require('../commands/Variable');
Block = require('../commands/Block');
Nume... | CoffeeScript | JavaScript | gss/engine | src/domains/Numeric.coffee | MIT | 31938f86e04f67ada173275db8f0e673655a12e9 | 2,854 | https://github.com/gss/engine/blob/31938f86e04f67ada173275db8f0e673655a12e9/src/domains/Numeric.coffee | 1 | 45 |
gss/engine:src/domains/Numeric.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
/* Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
*/
var Block, Command, Domain, Numeric, Variable;
Domain = require('../Domain');
Command = require('../Command');
Variable = require('../commands/V... | ### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../Domain')
Command = require('../Command')
Variable = require('../commands/Variable')
Block = require('../commands/Block')
class Numeric extends Domain
priority: 10
# N... | JavaScript | CoffeeScript | gss/engine | src/domains/Numeric.coffee | MIT | 31938f86e04f67ada173275db8f0e673655a12e9 | 2,854 | https://github.com/gss/engine/blob/31938f86e04f67ada173275db8f0e673655a12e9/src/domains/Numeric.coffee | 1 | 45 |
gss/engine:src/domains/Numeric.coffee:1:completion | completion | ### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../Domain')
Command = require('../Command')
Variable = require('../commands/Variable')
Block = require('../commands/Block')
class Numeric extends Domain
priority: 10
# N... | scope ||= meta.scope && engine.identity[meta.scope] || engine.scope
return engine.watch(null, path, operation, @delimit(continuation || ''), scope)
Numeric::Variable.Expression = Variable.Expression.extend()
Numeric::Variable.Expression.define(Variable.Expression.algebra)
Numeric::Block = Block.extend()
Numeric::... | CoffeeScript | CoffeeScript | gss/engine | src/domains/Numeric.coffee | MIT | 31938f86e04f67ada173275db8f0e673655a12e9 | 2,854 | https://github.com/gss/engine/blob/31938f86e04f67ada173275db8f0e673655a12e9/src/domains/Numeric.coffee | 1 | 45 |
gss/engine:src/domains/Numeric.coffee:1:raw_corpus | raw_corpus | ### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../Domain')
Command = require('../Command')
Variable = require('../commands/Variable')
Block = require('../commands/Block')
class Numeric extends Domain
priority: 10
# N... | CoffeeScript | gss/engine | src/domains/Numeric.coffee | MIT | ca12495ce84271272bb93ed0afd03d6f8254daf5 | 2,854 | https://github.com/gss/engine/blob/ca12495ce84271272bb93ed0afd03d6f8254daf5/src/domains/Numeric.coffee | 1 | 45 | ||
gss/engine:src/domains/Numeric.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../Domain')
Command = require('../Command')
Variable = require('../commands/Variable')
Block = require('../commands/Bl... | /* Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
*/
var Block, Command, Domain, Numeric, Variable;
Domain = require('../Domain');
Command = require('../Command');
Variable = require('../commands/Variable');
Block = require('../commands/Block');
Nume... | CoffeeScript | JavaScript | gss/engine | src/domains/Numeric.coffee | MIT | ca12495ce84271272bb93ed0afd03d6f8254daf5 | 2,854 | https://github.com/gss/engine/blob/ca12495ce84271272bb93ed0afd03d6f8254daf5/src/domains/Numeric.coffee | 1 | 45 |
gss/engine:src/domains/Numeric.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
/* Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
*/
var Block, Command, Domain, Numeric, Variable;
Domain = require('../Domain');
Command = require('../Command');
Variable = require('../commands/V... | ### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../Domain')
Command = require('../Command')
Variable = require('../commands/Variable')
Block = require('../commands/Block')
class Numeric extends Domain
priority: 10
# N... | JavaScript | CoffeeScript | gss/engine | src/domains/Numeric.coffee | MIT | ca12495ce84271272bb93ed0afd03d6f8254daf5 | 2,854 | https://github.com/gss/engine/blob/ca12495ce84271272bb93ed0afd03d6f8254daf5/src/domains/Numeric.coffee | 1 | 45 |
gss/engine:src/domains/Numeric.coffee:1:completion | completion | ### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../Domain')
Command = require('../Command')
Variable = require('../commands/Variable')
Block = require('../commands/Block')
class Numeric extends Domain
priority: 10
# N... | scope ||= meta.scope && engine.identity[meta.scope] || engine.scope
return engine.watch(null, path, operation, @continuate(continuation || ''), scope)
Numeric::Variable.Expression = Variable.Expression.extend()
Numeric::Variable.Expression.define(Variable.Expression.algebra)
Numeric::Block = Block.extend()
Numeri... | CoffeeScript | CoffeeScript | gss/engine | src/domains/Numeric.coffee | MIT | ca12495ce84271272bb93ed0afd03d6f8254daf5 | 2,854 | https://github.com/gss/engine/blob/ca12495ce84271272bb93ed0afd03d6f8254daf5/src/domains/Numeric.coffee | 1 | 45 |
gss/engine:src/domains/Numeric.coffee:1:raw_corpus | raw_corpus | ### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../concepts/Domain')
Command = require('../concepts/Command')
Variable = require('../commands/Variable')
Block = require('../commands/Block')
class Numeric extends Domain
p... | CoffeeScript | gss/engine | src/domains/Numeric.coffee | MIT | 946a5d15c6550a851fae3395251cbc4823460c3d | 2,854 | https://github.com/gss/engine/blob/946a5d15c6550a851fae3395251cbc4823460c3d/src/domains/Numeric.coffee | 1 | 45 | ||
gss/engine:src/domains/Numeric.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../concepts/Domain')
Command = require('../concepts/Command')
Variable = require('../commands/Variable')
Block = requi... | /* Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
*/
var Block, Command, Domain, Numeric, Variable;
Domain = require('../concepts/Domain');
Command = require('../concepts/Command');
Variable = require('../commands/Variable');
Block = require('../comma... | CoffeeScript | JavaScript | gss/engine | src/domains/Numeric.coffee | MIT | 946a5d15c6550a851fae3395251cbc4823460c3d | 2,854 | https://github.com/gss/engine/blob/946a5d15c6550a851fae3395251cbc4823460c3d/src/domains/Numeric.coffee | 1 | 45 |
gss/engine:src/domains/Numeric.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
/* Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
*/
var Block, Command, Domain, Numeric, Variable;
Domain = require('../concepts/Domain');
Command = require('../concepts/Command');
Variable = requ... | ### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../concepts/Domain')
Command = require('../concepts/Command')
Variable = require('../commands/Variable')
Block = require('../commands/Block')
class Numeric extends Domain
p... | JavaScript | CoffeeScript | gss/engine | src/domains/Numeric.coffee | MIT | 946a5d15c6550a851fae3395251cbc4823460c3d | 2,854 | https://github.com/gss/engine/blob/946a5d15c6550a851fae3395251cbc4823460c3d/src/domains/Numeric.coffee | 1 | 45 |
gss/engine:src/domains/Numeric.coffee:1:completion | completion | ### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../concepts/Domain')
Command = require('../concepts/Command')
Variable = require('../commands/Variable')
Block = require('../commands/Block')
class Numeric extends Domain
p... | scope ||= meta.scope && engine.identity[meta.scope] || engine.scope
return engine.watch(null, path, operation, engine.Continuation(continuation || ""), scope)
Numeric::Variable.Expression = Variable.Expression.extend()
Numeric::Variable.Expression.define(Variable.Expression.algebra)
Numeric::Block = Block.extend(... | CoffeeScript | CoffeeScript | gss/engine | src/domains/Numeric.coffee | MIT | 946a5d15c6550a851fae3395251cbc4823460c3d | 2,854 | https://github.com/gss/engine/blob/946a5d15c6550a851fae3395251cbc4823460c3d/src/domains/Numeric.coffee | 1 | 45 |
gss/engine:src/domains/Numeric.coffee:1:raw_corpus | raw_corpus | ### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../concepts/Domain')
Command = require('../concepts/Command')
Variable = require('../commands/Variable')
Block = require('../commands/Block')
class Numeric extends Domain
p... | CoffeeScript | gss/engine | src/domains/Numeric.coffee | MIT | 527308fd09ab6b18a30ad7b6194f0fd00f872647 | 2,854 | https://github.com/gss/engine/blob/527308fd09ab6b18a30ad7b6194f0fd00f872647/src/domains/Numeric.coffee | 1 | 43 | ||
gss/engine:src/domains/Numeric.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../concepts/Domain')
Command = require('../concepts/Command')
Variable = require('../commands/Variable')
Block = requi... | /* Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
*/
var Block, Command, Domain, Numeric, Variable;
Domain = require('../concepts/Domain');
Command = require('../concepts/Command');
Variable = require('../commands/Variable');
Block = require('../comma... | CoffeeScript | JavaScript | gss/engine | src/domains/Numeric.coffee | MIT | 527308fd09ab6b18a30ad7b6194f0fd00f872647 | 2,854 | https://github.com/gss/engine/blob/527308fd09ab6b18a30ad7b6194f0fd00f872647/src/domains/Numeric.coffee | 1 | 43 |
gss/engine:src/domains/Numeric.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
/* Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
*/
var Block, Command, Domain, Numeric, Variable;
Domain = require('../concepts/Domain');
Command = require('../concepts/Command');
Variable = requ... | ### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../concepts/Domain')
Command = require('../concepts/Command')
Variable = require('../commands/Variable')
Block = require('../commands/Block')
class Numeric extends Domain
p... | JavaScript | CoffeeScript | gss/engine | src/domains/Numeric.coffee | MIT | 527308fd09ab6b18a30ad7b6194f0fd00f872647 | 2,854 | https://github.com/gss/engine/blob/527308fd09ab6b18a30ad7b6194f0fd00f872647/src/domains/Numeric.coffee | 1 | 43 |
gss/engine:src/domains/Numeric.coffee:1:completion | completion | ### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../concepts/Domain')
Command = require('../concepts/Command')
Variable = require('../commands/Variable')
Block = require('../commands/Block')
class Numeric extends Domain
p... | return engine.watch(null, path, operation, engine.Continuation(continuation || ""), scope)
Numeric::Variable.Expression = Variable.Expression.extend()
Numeric::Variable.Expression.define(Variable.Expression.algebra)
Numeric::Block = Block.extend()
Numeric::Block.Meta = Block.Meta.extend {
signature: [
body: ['A... | CoffeeScript | CoffeeScript | gss/engine | src/domains/Numeric.coffee | MIT | 527308fd09ab6b18a30ad7b6194f0fd00f872647 | 2,854 | https://github.com/gss/engine/blob/527308fd09ab6b18a30ad7b6194f0fd00f872647/src/domains/Numeric.coffee | 1 | 43 |
gss/engine:src/domains/Numeric.coffee:1:raw_corpus | raw_corpus | ### Domain: Solved values
Merges values from all other domains,
enables anonymous constraints on immutable values
###
Domain = require('../concepts/Domain')
Command = require('../concepts/Command')
Value = require('../commands/Value')
Block = require('../commands/Block')
class Numeric extends Domain
priority... | CoffeeScript | gss/engine | src/domains/Numeric.coffee | MIT | 6bb82858753ae588e930911ac6dc5db1ced37cb0 | 2,854 | https://github.com/gss/engine/blob/6bb82858753ae588e930911ac6dc5db1ced37cb0/src/domains/Numeric.coffee | 1 | 50 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.