From f9b4c9da648f81aef1fbee41d24822e420eb56f9 Mon Sep 17 00:00:00 2001 From: Di Peng Date: Thu, 14 Jul 2011 18:28:15 -0700 Subject: refactor(docs): run e2e tests with and without jquery - e2e tests will run index.html (without jquery) and with index-jq.html(with jquery). - many small changes to make e2e tests work withough JQuery as we discover problems that were previously hidden by using real JQuery. --- docs/src/gen-docs.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs/src/gen-docs.js') diff --git a/docs/src/gen-docs.js b/docs/src/gen-docs.js index ead01c32..425831b6 100755 --- a/docs/src/gen-docs.js +++ b/docs/src/gen-docs.js @@ -27,6 +27,8 @@ var writes = callback.chain(function(){ writer.copyDir('img', writes.waitFor()); writer.copyDir('examples', writes.waitFor()); writer.copyTpl('index.html', writes.waitFor()); + writer.copy('docs/src/templates/index.html', 'build/docs/index-jq.html', writes.waitFor(), + '<-- jquery place holder -->', '