diff --git a/source/Ox.UI/js/Core/Ox.Element.js b/source/Ox.UI/js/Core/Ox.Element.js index ba6f57b4..6969656a 100644 --- a/source/Ox.UI/js/Core/Ox.Element.js +++ b/source/Ox.UI/js/Core/Ox.Element.js @@ -303,7 +303,7 @@ Ox.Element = function(options, self) { bind('bind', event, callback); }); return that; - } + }; /*@ bindEventOnce Binds a function to an event, once diff --git a/tools/build/build.py b/tools/build/build.py index 0a3575d5..b61eef0b 100755 --- a/tools/build/build.py +++ b/tools/build/build.py @@ -107,7 +107,7 @@ def build_oxjs(geo): js = '' root = source_path + 'Ox.UI/' for path, dirnames, filenames in os.walk(root): - for filename in filenames: + for filename in sorted(filenames): # jquery gets included by Ox.UI loader # theme css files get included by main css # svgs are loaded as URLs or dataURLs