aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdocs/src/gen-docs.js1
-rw-r--r--docs/src/templates/index.html2
l---------docs/src/templates/jquery.js1
3 files changed, 3 insertions, 1 deletions
diff --git a/docs/src/gen-docs.js b/docs/src/gen-docs.js
index 2915e110..2c5857ec 100755
--- a/docs/src/gen-docs.js
+++ b/docs/src/gen-docs.js
@@ -68,6 +68,7 @@ function writeTheRest(writesFuture) {
writesFuture.push(writer.copyTpl('offline.html'));
writesFuture.push(writer.copyTpl('docs-scenario.html'));
writesFuture.push(writer.copyTpl('jquery.min.js'));
+ writesFuture.push(writer.copyTpl('jquery.js'));
writesFuture.push(writer.output('docs-keywords.js',
['NG_PAGES=', JSON.stringify(metadata).replace(/{/g, '\n{'), ';']));
diff --git a/docs/src/templates/index.html b/docs/src/templates/index.html
index 794b3418..26e95d62 100644
--- a/docs/src/templates/index.html
+++ b/docs/src/templates/index.html
@@ -26,7 +26,7 @@
addTag('link', {rel: 'stylesheet', href: 'syntaxhighlighter/syntaxhighlighter-combined.css',
type: 'text/css'});
addTag('script', {src: 'syntaxhighlighter/syntaxhighlighter-combined.js'}, sync);
- if (jQuery) addTag('script', {src: 'jquery.min.js'});
+ if (jQuery) addTag('script', {src: debug ? 'jquery.js' : 'jquery.min.js'});
addTag('script', {src: path('angular.js')}, sync);
addTag('script', {src: path('angular-resource.js') }, sync);
addTag('script', {src: path('angular-cookies.js') }, sync);
diff --git a/docs/src/templates/jquery.js b/docs/src/templates/jquery.js
new file mode 120000
index 00000000..a87bbc07
--- /dev/null
+++ b/docs/src/templates/jquery.js
@@ -0,0 +1 @@
+../../../lib/jquery/jquery.js \ No newline at end of file