tt-rss/lib/dijit/_Templated.js
Anders Kaseorg 6887a0f573 lib: Upgrade Dojo and Dijit from 1.8.3 to 1.12.1
The itemNode and expandoNode elements have changed from img to
span (https://bugs.dojotoolkit.org/ticket/16699), so we now put our
tree icons inside them rather than replacing them.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2017-01-21 13:22:14 -05:00

2 satır
No EOL
763 B
JavaScript

//>>built
define("dijit/_Templated",["./_WidgetBase","./_TemplatedMixin","./_WidgetsInTemplateMixin","dojo/_base/array","dojo/_base/declare","dojo/_base/lang","dojo/_base/kernel"],function(_1,_2,_3,_4,_5,_6,_7){_6.extend(_1,{waiRole:"",waiState:""});return _5("dijit._Templated",[_2,_3],{constructor:function(){_7.deprecated(this.declaredClass+": dijit._Templated deprecated, use dijit._TemplatedMixin and if necessary dijit._WidgetsInTemplateMixin","","2.0");},_processNode:function(_8,_9){var _a=this.inherited(arguments);var _b=_9(_8,"waiRole");if(_b){_8.setAttribute("role",_b);}var _c=_9(_8,"waiState");if(_c){_4.forEach(_c.split(/\s*,\s*/),function(_d){if(_d.indexOf("-")!=-1){var _e=_d.split("-");_8.setAttribute("aria-"+_e[0],_e[1]);}});}return _a;}});});