diff options
author | Evan Winslow <evan@elgg.org> | 2011-05-19 16:04:19 -0700 |
---|---|---|
committer | Evan Winslow <evan@elgg.org> | 2011-05-19 16:04:19 -0700 |
commit | 888751ed186a8312fa482ae41a91eed0f8786d2b (patch) | |
tree | 6be0f840ce73a8abfcbcacb91d3a4617ecd8f5dc | |
parent | 72fc1afa98e78c67baafdd5b777a5878c9607daf (diff) | |
download | elgg-888751ed186a8312fa482ae41a91eed0f8786d2b.tar.gz elgg-888751ed186a8312fa482ae41a91eed0f8786d2b.tar.bz2 |
Moved 3rd party javascripts to a vendors folder
-rw-r--r-- | start.php | 6 | ||||
-rw-r--r-- | vendors/Modernizr-1.5.min.js (renamed from js/Modernizr-1.5.min.js) | 0 | ||||
-rw-r--r-- | vendors/jquery/jquery.placeholder-1.0.1.js (renamed from js/jquery.placeholder-1.0.1.js) | 0 |
3 files changed, 3 insertions, 3 deletions
@@ -1,10 +1,10 @@ <?php
function html5_init() {
- elgg_extend_view('css/screen', 'html5/css');
+ elgg_extend_view('css/elgg', 'html5/css', 1);
- elgg_register_js('Modernizr', 'mod/html5/js/Modernizr-1.5.js', 'head', 1);
- elgg_register_js('jquery.placeholder', 'mod/html5/js/jquery.placeholder-1.0.1.js', 'footer');
+ elgg_register_js('Modernizr', '/mod/html5/vendors/Modernizr-1.5.js', 'head', 1);
+ elgg_register_js('jquery.placeholder', '/mod/html5/vendors/jquery/jquery.placeholder-1.0.1.js', 'footer');
}
elgg_register_event_handler('init', 'system', 'html5_init');
diff --git a/js/Modernizr-1.5.min.js b/vendors/Modernizr-1.5.min.js index a8dc724e6..a8dc724e6 100644 --- a/js/Modernizr-1.5.min.js +++ b/vendors/Modernizr-1.5.min.js diff --git a/js/jquery.placeholder-1.0.1.js b/vendors/jquery/jquery.placeholder-1.0.1.js index 61dfb87e6..61dfb87e6 100644 --- a/js/jquery.placeholder-1.0.1.js +++ b/vendors/jquery/jquery.placeholder-1.0.1.js |