Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

cleaner node modules and node 0.10 recognition #100

Closed
wants to merge 5 commits into from

2 participants

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 5, 2013
  1. @vavere

    add node 0.10 support

    vavere authored
  2. @vavere

    ignore dev and hidden dirs

    vavere authored
Commits on Jun 19, 2013
  1. @vavere

    async used for tests only

    vavere authored
Commits on Jul 2, 2013
  1. @vavere
Commits on Aug 29, 2013
  1. @vavere

    length must not be zero

    vavere authored
This page is out of date. Refresh to see the latest.
Showing with 8 additions and 6 deletions.
  1. +4 −2 .npmignore
  2. +2 −2 package.json
  3. +2 −2 src/data-type.coffee
View
6 .npmignore
@@ -1,4 +1,6 @@
src/
todo
-.git*
-.project
+.*
+test
+examples
+scripts
View
4 package.json
@@ -31,15 +31,15 @@
"url": "git://github.com/pekim/tedious.git"
},
"engines": {
- "node": "0.6 || 0.7 || 0.8 || 0.9"
+ "node": "0.6 || 0.7 || 0.8 || 0.9 || 0.10"
},
"dependencies": {
- "async": "0.2.6",
"iconv-lite": "0.2.7",
"sprintf": "0.1.1"
},
"devDependencies": {
"coffee-script": "1.6.2",
+ "async": "0.2.6",
"nodeunit": "0.8.0"
},
"scripts": {
View
4 src/data-type.coffee
@@ -288,7 +288,7 @@ TYPE =
if parameter.length
length = parameter.length
else if parameter.value?
- length = parameter.value.toString().length
+ length = parameter.value.toString().length || 1
else if parameter.value is null
length = 1
else
@@ -348,7 +348,7 @@ TYPE =
if parameter.length
length = parameter.length
else if parameter.value?
- length = parameter.value.toString().length
+ length = parameter.value.toString().length || 1
else if parameter.value is null
length = 1
else
Something went wrong with that request. Please try again.