MCPcopy Index your code
hub / github.com/textAngular/textAngular / _resetList

Function _resetList

src/taBind.js:552–561  ·  view source on GitHub ↗
(isUl)

Source from the content-addressed store, hash-verified

550 if (n>0) return this[n-1];
551 };
552 var _resetList = function(isUl){
553 _list.isUl = isUl;
554 _list.element = angular.element(isUl ? "<ul>" : "<ol>");
555 _list.lastIndent = [];
556 _list.lastIndent.peek = function(){
557 var n = this.length;
558 if (n>0) return this[n-1];
559 };
560 _list.lastLevelMatch = null;
561 };
562 for(var i = 0; i <= dom[0].childNodes.length; i++){
563 if(!dom[0].childNodes[i] || dom[0].childNodes[i].nodeName === "#text"){
564 continue;

Callers 1

processpasteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected