diff options
author | Jan Stevens <jan@playpass.be> | 2015-08-19 22:30:46 +0300 |
---|---|---|
committer | Jan Stevens <jan@playpass.be> | 2015-08-19 22:30:46 +0300 |
commit | d804265b6e889cd3e0f593ad42fa16451b4a6e47 (patch) | |
tree | e79f7219ceba7c6c8193111c97706f0bf45ece6a /tasks | |
parent | 620b002557297fd8f20366c7c331ea8f6ed72691 (diff) |
The javascript files are now in dist so lets fetch dist
Diffstat (limited to 'tasks')
-rw-r--r-- | tasks/converter/js_conversion.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/converter/js_conversion.rb b/tasks/converter/js_conversion.rb index 3fda676..0bc322a 100644 --- a/tasks/converter/js_conversion.rb +++ b/tasks/converter/js_conversion.rb @@ -4,7 +4,7 @@ class Converter log_status 'Processing javascripts...' save_to = @save_to[:js] contents = {} - read_files('js', bootstrap_js_files).each do |name, file| + read_files('js/dist', bootstrap_js_files).each do |name, file| contents[name] = file save_file("#{save_to}/#{name}", file) end @@ -29,7 +29,7 @@ class Converter def bootstrap_js_files @bootstrap_js_files ||= begin - files = get_paths_by_type('js', /\.js$/).reject { |path| path =~ %r(^tests/) } + files = get_paths_by_type('js/dist', /\.js$/) files.sort_by { |f| case f # tooltip depends on popover and must be loaded earlier |