yosinch / editing

document.execCommand in JavaScript for Blink
4 stars 6 forks source link

insertOrderedList: remove [].forEach and use while instead #47

Closed hajimehoshi closed 10 years ago

hajimehoshi commented 10 years ago

Since manipulating the child nodes in [].forEach is dangerous, I replaced them with while loop.