Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added support for % in parser

  • Loading branch information...
commit a69a5b062090d241d60ce2b3f2d28f56070959b8 1 parent df559a1
Kris Zyp authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  put.js
2  put.js
@@ -13,7 +13,7 @@ define([], forDocument = function(doc, newFragmentFasterHeuristic){
13 13 // | put("div.foo");
14 14 fragmentFasterHeuristic = newFragmentFasterHeuristic || fragmentFasterHeuristic;
15 15 try{
16   - var selectorParse = /(?:\s*([-+ ,<>]))?\s*(\.|!\.?|#)?([-\w$]+)?(?:\[([^\]=]+)=?['"]?([^\]'"]*)['"]?\])?/g,
  16 + var selectorParse = /(?:\s*([-+ ,<>]))?\s*(\.|!\.?|#)?([-\w%$]+)?(?:\[([^\]=]+)=?['"]?([^\]'"]*)['"]?\])?/g,
17 17 undefined,
18 18 doc = doc || document,
19 19 ieCreateElement = 1;

0 comments on commit a69a5b0

Please sign in to comment.
Something went wrong with that request. Please try again.