diff options
| author | Igor Minar | 2012-04-05 09:53:36 -0700 |
|---|---|---|
| committer | Igor Minar | 2012-04-05 11:33:42 -0700 |
| commit | 0f2de12273c50729e918c3103d92fdec6b5b3cad (patch) | |
| tree | 554d45d50525ff6e03df644e80593782584a4232 | |
| parent | 1bbc67ef6cba16952ed0ef23d9d62ec8ef960295 (diff) | |
| download | angular.js-0f2de12273c50729e918c3103d92fdec6b5b3cad.tar.bz2 | |
chore(docs): add nonminified jquery debug version of docs
| -rwxr-xr-x | docs/src/gen-docs.js | 1 | ||||
| -rw-r--r-- | docs/src/templates/index.html | 2 | ||||
| l--------- | docs/src/templates/jquery.js | 1 |
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 |
