|
Last change
on this file since a762898 was e4c61dd, checked in by istevanoska <ilinastevanoska@…>, 6 months ago |
|
Prototype 1.1
|
-
Property mode
set to
100644
|
|
File size:
380 bytes
|
| Line | |
|---|
| 1 | export default function() {
|
|---|
| 2 |
|
|---|
| 3 | for (var groups = this._groups, j = -1, m = groups.length; ++j < m;) {
|
|---|
| 4 | for (var group = groups[j], i = group.length - 1, next = group[i], node; --i >= 0;) {
|
|---|
| 5 | if (node = group[i]) {
|
|---|
| 6 | if (next && node.compareDocumentPosition(next) ^ 4) next.parentNode.insertBefore(node, next);
|
|---|
| 7 | next = node;
|
|---|
| 8 | }
|
|---|
| 9 | }
|
|---|
| 10 | }
|
|---|
| 11 |
|
|---|
| 12 | return this;
|
|---|
| 13 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.