Skip to content

Commit

Permalink
Merge pull request #7 from warlock/typecheck-package
Browse files Browse the repository at this point in the history
Typecheck package
  • Loading branch information
warlock authored Aug 5, 2017
2 parents 5336899 + cfdcc60 commit bcb2804
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 174 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "spellbook",
"version": "1.0.2",
"version": "1.0.3",
"description": "Functional and asynchronous conjurations for Javascript",
"main": "spellbook.js",
"scripts": {
Expand Down Expand Up @@ -47,6 +47,7 @@
"mocha-eslint": "^4.0.0",
"mocha-jshint": "^2.3.1",
"webpack": "^3.4.1",
"snc": "*"
"snc": "*",
"tck": "*"
}
}
2 changes: 1 addition & 1 deletion spellbook.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/array.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var type = require('./type');
var type = require('tck');
var object = require('./object');

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion src/chain.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var snc = require('snc');
var tools = require('./tools');
var type = require('./type');
var type = require('tck');
var array = require('./array');
var object = require('./object');
var string = require('./string');
Expand Down
2 changes: 1 addition & 1 deletion src/events.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var type = require('./type');
var type = require('tck');

var events = {
'eventstack': {},
Expand Down
2 changes: 1 addition & 1 deletion src/generic.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var type = require('./type');
var type = require('tck');

module.exports = {

Expand Down
4 changes: 2 additions & 2 deletions src/main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// http://www.spellbook.io
var snc = require('snc');
var type = require('tck');
var tools = require('./tools');
var type = require('./type');
var array = require('./array');
var object = require('./object');
var string = require('./string');
Expand All @@ -11,7 +11,7 @@ var generic = require('./generic');
var events = require('./events');
var Chain = require('./chain');

module.exports ={
module.exports = {
"range": tools.range,
"random": tools.random,
"ifElse": tools.ifElse,
Expand Down
2 changes: 1 addition & 1 deletion src/number.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var type = require('./type');
var type = require('tck');

module.exports = {
'duplicate': function (value) {
Expand Down
2 changes: 1 addition & 1 deletion src/object.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var type = require('./type');
var type = require('tck');

module.exports = {
'extend': function (obj, obj2) {
Expand Down
2 changes: 1 addition & 1 deletion src/string.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var type = require('./type');
var type = require('tck');

module.exports = {
'toInt': function (value) {
Expand Down
2 changes: 1 addition & 1 deletion src/tools.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var type = require('./type');
var type = require('tck');

module.exports = {
'range': function (a, b, step) {
Expand Down
36 changes: 0 additions & 36 deletions src/type.js

This file was deleted.

125 changes: 0 additions & 125 deletions test/type.test.js

This file was deleted.

0 comments on commit bcb2804

Please sign in to comment.