File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 3535 /**
3636 * Generates DOM from HTML-string.
3737 * @param {string } html
38- * @returns {Element }
38+ * @returns {? Element }
3939 */
4040 ns . html2node = function ( html ) {
4141 if ( ! html ) {
Original file line number Diff line number Diff line change 11451145
11461146 /**
11471147 * Ищет элемент для вида по его ключу
1148- * @param {HTMLElement } node
1149- * @returns {Node }
1148+ * @param {Element } node
1149+ * @returns {?Element }
11501150 * @private
11511151 */
11521152 ns . View . prototype . _extractNodeByKey = function ( node ) {
11661166 } ;
11671167
11681168 /**
1169- *
1170- * @param {HTMLElement } node
1171- * @returns {Node }
1169+ * Ищет ноду для вида в отрендеренном DOM.
1170+ * @param {Element } node
1171+ * @returns {?Element } Ноды может не быть, эту ситуацию надо обрабатывать.
11721172 * @private
11731173 */
11741174 ns . View . prototype . _extractNode = function ( node ) {
You can’t perform that action at this time.
0 commit comments