//>>built
define("dojox/mvc/parserExtension","require dojo/_base/kernel dojo/_base/lang dojo/has!dojo-parser?:dojo/_base/window dojo/has dojo/has!dojo-mobile-parser?:dojo/parser dojo/has!dojo-parser?:dojox/mobile/parser dojox/mvc/_atBindingMixin dojox/mvc/Element".split(" "),function(q,f,r,t,b,n,p,g){b.add("dom-qsa",!!document.createElement("div").querySelectorAll);try{b.add("dojo-parser",!!q("dojo/parser"))}catch(c){}try{b.add("dojo-mobile-parser",!!q("dojox/mobile/parser"))}catch(c){}if(b("dojo-parser")){var u=
n.scan;n.scan=function(c,d){return u.apply(this,r._toArray(arguments)).then(function(h){for(var k=(d.scope||f._scopeName)+"Type",e="data-"+(d.scope||f._scopeName)+"-type",l=b("dom-qsa")?c.querySelectorAll("["+g.prototype.dataBindAttr+"]"):c.getElementsByTagName("*"),a=0,v=l.length;a<v;a++){var m=l[a];m.getAttribute(e)||m.getAttribute(k)||!m.getAttribute(g.prototype.dataBindAttr)||h.push({types:["dojox/mvc/Element"],node:m})}return h})}}if(b("dojo-mobile-parser")){var w=p.parse;p.parse=function(c,
d){var h=((d||{}).scope||f._scopeName)+"Type",k="data-"+((d||{}).scope||f._scopeName)+"-type";nodes=b("dom-qsa")?(c||t.body()).querySelectorAll("["+g.prototype.dataBindAttr+"]"):(c||t.body()).getElementsByTagName("*");for(var e=0,l=nodes.length;e<l;e++){var a=nodes[e];a.getAttribute(k)||a.getAttribute(h)||!a.getAttribute(g.prototype.dataBindAttr)||a.setAttribute(k,"dojox/mvc/Element")}return w.apply(this,r._toArray(arguments))}}return n||p});