Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added support for % in parser

  • Loading branch information...
commit a69a5b062090d241d60ce2b3f2d28f56070959b8 1 parent df559a1
Kris Zyp authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  put.js
2  put.js
View
@@ -13,7 +13,7 @@ define([], forDocument = function(doc, newFragmentFasterHeuristic){
// | put("div.foo");
fragmentFasterHeuristic = newFragmentFasterHeuristic || fragmentFasterHeuristic;
try{
- var selectorParse = /(?:\s*([-+ ,<>]))?\s*(\.|!\.?|#)?([-\w$]+)?(?:\[([^\]=]+)=?['"]?([^\]'"]*)['"]?\])?/g,
+ var selectorParse = /(?:\s*([-+ ,<>]))?\s*(\.|!\.?|#)?([-\w%$]+)?(?:\[([^\]=]+)=?['"]?([^\]'"]*)['"]?\])?/g,
undefined,
doc = doc || document,
ieCreateElement = 1;
Please sign in to comment.
Something went wrong with that request. Please try again.