allthethings
Advanced tools
Comparing version 0.0.1-alpha-6 to 0.0.1-alpha-7
@@ -1,2 +0,2 @@ | ||
/*! allthethings v0.0.1-alpha-6 | ||
/*! allthethings v0.0.1-alpha-7 | ||
* https://github.com/markdalgleish/allthethings.js | ||
@@ -34,2 +34,2 @@ * Copyright (c) 2012 Mark Dalgleish; Licensed MIT */ | ||
}(typeof exports === 'object' && exports || (this.allthethings = {}))); | ||
}(typeof exports === 'object' && exports || (this.ALLTHETHINGS = {}))); |
@@ -1,2 +0,2 @@ | ||
/*! allthethings v0.0.1-alpha-6 | (c) 2012 Mark Dalgleish | https://github.com/markdalgleish/allthethings.js | Licensed MIT */ | ||
(function(e){var t={filter:/^(filter|is)/,reduce:/^(reduce|add|calculate)/,reduceRight:/^(reduce|add|calculate)Right/,some:/^(some|contains|has)/,every:/^(every|all)/},n=function(e,n){var r="_allthethings_func";return e[r]||(e[r]=n[Object.keys(t).reduce(function(n,r){return t[r].test(e.name)?r:n},"map")])},r=function(e){return n(this,e).call(e,this)};["allThe","fromThe","inThe"].forEach(function(e){Function.prototype[e]=r}),e.rules=t})(typeof exports=="object"&&exports||(this.allthethings={})); | ||
/*! allthethings v0.0.1-alpha-7 | (c) 2012 Mark Dalgleish | https://github.com/markdalgleish/allthethings.js | Licensed MIT */ | ||
(function(e){var t={filter:/^(filter|is)/,reduce:/^(reduce|add|calculate)/,reduceRight:/^(reduce|add|calculate)Right/,some:/^(some|contains|has)/,every:/^(every|all)/},n=function(e,n){var r="_allthethings_func";return e[r]||(e[r]=n[Object.keys(t).reduce(function(n,r){return t[r].test(e.name)?r:n},"map")])},r=function(e){return n(this,e).call(e,this)};["allThe","fromThe","inThe"].forEach(function(e){Function.prototype[e]=r}),e.rules=t})(typeof exports=="object"&&exports||(this.ALLTHETHINGS={})); |
@@ -30,2 +30,2 @@ (function(exports) { | ||
}(typeof exports === 'object' && exports || (this.allthethings = {}))); | ||
}(typeof exports === 'object' && exports || (this.ALLTHETHINGS = {}))); |
{ | ||
"name": "allthethings", | ||
"description": "Let your iterations read like actual sentences.", | ||
"version": "0.0.1-alpha-6", | ||
"version": "0.0.1-alpha-7", | ||
"homepage": "https://github.com/markdalgleish/allthethings.js", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -47,6 +47,6 @@ [![Build Status](https://secure.travis-ci.org/markdalgleish/allthethings.js.png)](http://travis-ci.org/markdalgleish/allthethings.js) | ||
Install with: `npm install allthethings` | ||
Install with: `npm install ALLTHETHINGS` | ||
```javascript | ||
require('allthethings'); | ||
require('ALLTHETHINGS'); | ||
``` | ||
@@ -240,5 +240,5 @@ | ||
``` js | ||
var allthethings = require('allthethings'); | ||
var ALLTHETHINGS = require('ALLTHETHINGS'); | ||
allthethings.rules.filter = /foobar/; | ||
ALLTHETHINGS.rules.filter = /foobar/; | ||
``` | ||
@@ -249,3 +249,3 @@ | ||
``` js | ||
window.allthethings.rules.filter = /foobar/; | ||
window.ALLTHETHINGS.rules.filter = /foobar/; | ||
``` | ||
@@ -252,0 +252,0 @@ |
/*global require:true */ | ||
var allthethings = require('../lib/allthethings.js'); | ||
var ALLTHETHINGS = require('../lib/allthethings.js'); | ||
@@ -138,3 +138,3 @@ exports['ALL THE THINGS'] = { | ||
'custom rules': function(test) { | ||
allthethings.rules.filter = /foobar/; | ||
ALLTHETHINGS.rules.filter = /foobar/; | ||
@@ -141,0 +141,0 @@ var numbers = [1,2,3,4]; |