Skip to content
Browse files

Update attr.js

  • Loading branch information...
1 parent 4f2f9a7 commit 8524c456f8a9f9125d887944f5eee09f83af16f0 @RubyLouvre committed Jul 5, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 attr.js
View
2 attr.js
@@ -153,7 +153,7 @@ define("attr", !! this.getComputedStyle ? ["node"] : ["attr_fix"], function($) {
return el.hasAttribute(attr)
} : function(el, attr){//IE67
var outer = el.outerHTML, part = outer.slice(0, outer.search(/\/?['"]?>(?![^<]*<['"])/));
- return new RegExp("\\s" + prop + "\\b", "i").test(part);
+ return new RegExp("\\s" + attr + "\\b", "i").test(part);
},
prop: function(node, name, value) {
if($["@bind"] in node) {

0 comments on commit 8524c45

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