Permalink
Browse files

tweaking

  • Loading branch information...
1 parent eba4d9a commit 949249ba9d8c66baf46a66f919f9c1e5c539b5a8 @slevithan committed Mar 12, 2012
Showing with 3 additions and 16 deletions.
  1. +1 −0 .npmignore
  2. +2 −2 package.json
  3. +0 −7 src/xregexp.js
  4. +0 −7 xregexp-all.js
View
1 .npmignore
@@ -1,2 +1,3 @@
src/
+tests/
tools/
View
4 package.json
@@ -1,6 +1,6 @@
{
"name": "xregexp",
- "version": "2.0.0-beta",
+ "version": "2.0.0-beta2",
"homepage": "http://xregexp.com/",
"author": "Steven Levithan <steves_list@hotmail.com>",
"license": "MIT",
@@ -9,6 +9,6 @@
"url": "https://github.com/slevithan/XRegExp.git"
}],
"description": "Extended regular expressions",
- "keywords": ["regex", "regexp", "xregexp"],
+ "keywords": ["regex", "regexp"],
"main": "xregexp-all.js"
}
View
7 src/xregexp.js
@@ -95,7 +95,6 @@ function XRegExp (pattern, flags) {
return augment(new R(output.join(""), nativ.replace.call(flags, flagClip, "")), tokenContext);
}
-
/*--------------------------------------
* Private variables
*------------------------------------*/
@@ -181,7 +180,6 @@ var addToken = {
}
};
-
/*--------------------------------------
* Public properties/methods
*------------------------------------*/
@@ -589,7 +587,6 @@ X.uninstall = function (options) {
if (features.extensibility && options.extensibility) setExtensibility(false);
};
-
/*--------------------------------------
* XRegExp.prototype methods
*------------------------------------*/
@@ -622,7 +619,6 @@ X.prototype.call = function (context, str) {
return this.test(str); // Intentionally doesn't specify fixed/native `test`
};
-
/*--------------------------------------
* Fixed/extended native methods
*------------------------------------*/
@@ -846,7 +842,6 @@ fixed.split = function (s /*separator*/, limit) {
return output.length > limit ? output.slice(0, limit) : output;
};
-
/*--------------------------------------
* Built-in tokens
*------------------------------------*/
@@ -949,7 +944,6 @@ add(/\((?!\?)/,
}
});
-
/*--------------------------------------
* Private helper functions
*------------------------------------*/
@@ -1145,7 +1139,6 @@ function setNatives (on) {
features.natives = on;
}
-
/*--------------------------------------
* Expose XRegExp
*------------------------------------*/
View
7 xregexp-all.js
@@ -98,7 +98,6 @@ function XRegExp (pattern, flags) {
return augment(new R(output.join(""), nativ.replace.call(flags, flagClip, "")), tokenContext);
}
-
/*--------------------------------------
* Private variables
*------------------------------------*/
@@ -184,7 +183,6 @@ var addToken = {
}
};
-
/*--------------------------------------
* Public properties/methods
*------------------------------------*/
@@ -592,7 +590,6 @@ X.uninstall = function (options) {
if (features.extensibility && options.extensibility) setExtensibility(false);
};
-
/*--------------------------------------
* XRegExp.prototype methods
*------------------------------------*/
@@ -625,7 +622,6 @@ X.prototype.call = function (context, str) {
return this.test(str); // Intentionally doesn't specify fixed/native `test`
};
-
/*--------------------------------------
* Fixed/extended native methods
*------------------------------------*/
@@ -849,7 +845,6 @@ fixed.split = function (s /*separator*/, limit) {
return output.length > limit ? output.slice(0, limit) : output;
};
-
/*--------------------------------------
* Built-in tokens
*------------------------------------*/
@@ -952,7 +947,6 @@ add(/\((?!\?)/,
}
});
-
/*--------------------------------------
* Private helper functions
*------------------------------------*/
@@ -1148,7 +1142,6 @@ function setNatives (on) {
features.natives = on;
}
-
/*--------------------------------------
* Expose XRegExp
*------------------------------------*/

0 comments on commit 949249b

Please sign in to comment.