corrade-nucleus-nucleons – Diff between revs 35 and 37
?pathlinks?
Rev 35 | Rev 37 | |||
---|---|---|---|---|
Line 1... | Line 1... | |||
1 | // Load the window manager desktop icons. |
1 | // Load the window manager desktop icons. |
|
2 | function loadWindowManagerIcons(path) { |
2 | function loadWindowManagerIcons(path) { |
|
3 | // Search and load all nucleons. |
3 | // Search and load all nucleons. |
|
4 | $.get(path, function(data) { |
4 | $.get(path, function(nucleons) { |
|
5 | var nucleons = wasCSVToArray(data); |
- | ||
6 | var x = 0, y = 0; |
5 | var x = 0, y = 0; |
|
7 | $.each(nucleons, function(index, value) { |
6 | $.each(nucleons, function(index, value) { |
|
8 | // Skip files starting with full stop (POSIX). |
7 | // Skip files starting with full stop (POSIX). |
|
9 | if (/^\./.test(value)) return; |
8 | if (/^\./.test(value)) return; |
|
10 | $.get(path + '/' + value, function(doc) { |
9 | $.get(path + '/' + value, function(doc) { |