From c8a514aa3773f4ea4e2dc319926ce18aa327f122 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Tue, 14 Jan 2014 11:03:49 -0500 Subject: [PATCH] updated new timeago path --- public/vendor/jquery/{js => timeago}/jquery.timeago.js | 0 src/meta.js | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename public/vendor/jquery/{js => timeago}/jquery.timeago.js (100%) diff --git a/public/vendor/jquery/js/jquery.timeago.js b/public/vendor/jquery/timeago/jquery.timeago.js similarity index 100% rename from public/vendor/jquery/js/jquery.timeago.js rename to public/vendor/jquery/timeago/jquery.timeago.js diff --git a/src/meta.js b/src/meta.js index dc3b8f56d1..8af0917d8c 100644 --- a/src/meta.js +++ b/src/meta.js @@ -203,7 +203,7 @@ var fs = require('fs'), scripts: [ 'vendor/jquery/js/jquery.js', 'vendor/jquery/js/jquery-ui-1.10.3.custom.min.js', - 'vendor/jquery/js/jquery.timeago.js', + 'vendor/jquery/timeago/jquery.timeago.js', 'vendor/jquery/js/jquery.form.js', 'vendor/bootstrap/js/bootstrap.min.js', 'vendor/requirejs/require.js', @@ -266,7 +266,7 @@ var fs = require('fs'), } else { Meta.js.minify(function () { callback(null, [ - path.relative(path.join(__dirname, '../public'), Meta.js.minFile) + (meta.config['cache-buster'] ? '?vs=' + meta.config['cache-buster'] : '') + path.relative(path.join(__dirname, '../public'), Meta.js.minFile) + (meta.config['cache-buster'] ? '?v=' + meta.config['cache-buster'] : '') ]); }); }