-
Notifications
You must be signed in to change notification settings - Fork 27.5k
Conversation
@@ -17,7 +17,7 @@ | |||
<script src="syntaxhighlighter/shBrushJScript.js"></script> | |||
<script src="syntaxhighlighter/shBrushXml.js"></script> | |||
|
|||
<script src="../angular.min.js" ng:autobind></script> | |||
<script src="angular.min.js" ng:autobind></script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks wrong.
I like the new changes. I'm a bit concerned about the naming of Lastly, I don't understand why angular is being bundled with the documentation app. We want to avoid that because it increases the size of the release artifacts and because we want to always use code.angularjs.org in production so that angular.min.js gets cached in user's browsers. |
ng:autostart means that the runner is started automatically (when document ready)
I hope this is fine. |
WRT to copying angular into documenation app: jQuery has nothing to do with docs either - so I did the same for angular - just copy into docs folder. I agree with you - it's wrong. Now I realized I can define a different proxy, see my last commit. So now, I did some changes into docs: rename |
Removed angular.scenario.Application.checkUrlStatus_ method and these tests: * should call error handler if status check fails * should perform a HEAD request to verify file existence * should call error handler if status code is less than 200 * should call error handler if status code is greater than 299 * should call error handler if status code is greater than 299
Sending Content-type header causes JSTD (Jetty) proxy to change GET methods into POST.
Rebased onto last master, squashed into three commits... |
I'll test this against feedback today and if there are no issues, we can go ahead and merge this into master |
Couple of changes into angular.scenario runner: - add autotest config (runs tests when document ready) - update ObjectModel (forwards events) - use only one ObjectModel instance for all outputters - expose error msg and line number in ObjectModel.Spec and ObjectModel.Step - fix generating spec.ids - fix 'html' output so that it does not mutate ObjectModel Couple of changes into docs / generator: - rename copy -> copyTpl - move docs/static into docs/examples (to avoid conflict with jstd proxy) Running all docs e2e tests: ======================================================== 1/ compile angular-scenario, jstd-scenario-adapter >> rake compile 2/ build docs >> rake docs 3/ start jstd server >> ./server-scenario.sh 4/ capture some browser 5/ run node server to serve static content >> node ../lib/nodeserver/server.js 6/ run tests >> ./test-scenario.sh
find . -name "*.js" -print | xargs sed -Ei s/[[:space:]]*$//
this was merged in yesterday! |
closing |
Including three commits: