You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
load everything selected and its sub items into an array
(assuming we only seleted timer node)
timer
core
stringhelper.core
unit
ajax
sort the array
Here is a very naive sorting approach (similar to bubble sort), but since we do not have thousands of items, it will be sufficient.
if the current item has a dependency, move the dependency before the item
core core core
timer stringhelper.core stringhelper.core
stringhelper.core timer timer
unit unit ajax
ajax ajax unit
when the final order is achieved concat all the files into a temp file,
minimize and save it under a common name (like o2.timer.min.js)
stream the saved file.
The text was updated successfully, but these errors were encountered:
{
timer : {
'core'
'stringhelper.core'
'unit'
},
}
(assuming we only seleted timer node)
timer
core
stringhelper.core
unit
ajax
Here is a very naive sorting approach (similar to bubble sort), but since we do not have thousands of items, it will be sufficient.
minimize and save it under a common name (like o2.timer.min.js)
The text was updated successfully, but these errors were encountered: