Comparing version 0.1.2 to 0.2.0
@@ -7,2 +7,3 @@ var five = function() { return 5; }; | ||
five.downLow = function() { return '₅'; }; | ||
five.roman = function() { return 'V'; }; | ||
@@ -9,0 +10,0 @@ five.tooSlow = function() { |
{ | ||
"name": "five", | ||
"version": "0.1.2", | ||
"version": "0.2.0", | ||
"description": "Gives you five", | ||
@@ -20,6 +20,3 @@ "main": "index.js", | ||
"url": "https://github.com/jackdcrawford/five/issues" | ||
}, | ||
"devDependencies": { | ||
"mocha": "~1.20.1" | ||
} | ||
} |
@@ -36,2 +36,3 @@ # five.js | ||
five.tooSlow() // 5, with a ~500 millisecond delay | ||
five.roman() // V | ||
``` | ||
@@ -41,3 +42,3 @@ | ||
##### The code | ||
All of the logic & heavy lifting is achieved in one self-contained file: | ||
All of the logic & heavy lifting is achieved in one self-contained file: | ||
``` | ||
@@ -44,0 +45,0 @@ ./index.js |
@@ -9,2 +9,3 @@ var assert = require('assert'); | ||
assert.equal('₅', five.downLow(), 'A down low five should be a subscripted 5'); | ||
assert.equal('V', five.roman(), 'A roman five should be a V'); | ||
@@ -11,0 +12,0 @@ var now = new Date().valueOf(); |
Sorry, the diff of this file is not supported yet
2206
0
23
50