Permalink
Browse files

Added component support

  • Loading branch information...
1 parent 7557416 commit a77d0e2d1b08731209c89f95c6456c9b5db03549 @tj committed May 4, 2012
Showing with 9 additions and 27 deletions.
  1. +1 −1 lib/head.js
  2. +0 −12 lib/querystring.js
  3. +1 −1 lib/tail.js
  4. +5 −0 package.json
  5. +2 −13 querystring.js
View
@@ -1 +1 @@
-(function(exports){
+;(function(){
View
@@ -1,16 +1,4 @@
-/*!
- * querystring
- * Copyright(c) 2010 TJ Holowaychuk <tj@vision-media.ca>
- * MIT Licensed
- */
-
-/**
- * Library version.
- */
-
-exports.version = '0.4.2';
-
/**
* Object#toString() ref for stringify().
*/
View
@@ -1 +1 @@
-})('undefined' == typeof exports ? qs = {} : exports);
+})();
View
@@ -10,6 +10,11 @@
"mocha": "*"
, "expect.js": "*"
},
+ "component": {
+ "scripts": {
+ "qs": "querystring.js"
+ }
+ },
"author": "TJ Holowaychuk <tj@vision-media.ca> (http://tjholowaychuk.com)",
"main": "index",
"engines": { "node": "*" }
View
@@ -1,15 +1,4 @@
-(function(exports){
-/*!
- * querystring
- * Copyright(c) 2010 TJ Holowaychuk <tj@vision-media.ca>
- * MIT Licensed
- */
-
-/**
- * Library version.
- */
-
-exports.version = '0.4.2';
+;(function(){
/**
* Object#toString() ref for stringify().
@@ -262,4 +251,4 @@ function lastBraceInKey(str) {
if ('=' == c && !brace) return i;
}
}
-})('undefined' == typeof exports ? qs = {} : exports);
+})();

0 comments on commit a77d0e2

Please sign in to comment.