To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorBuilt-in auto_javascript_include_tag view helper
In order to simplify including javascript files
- Scenarios
-
- Viewing the root path
- Viewing a tier-1 path
- Viewing the index file of a tier-1 path, without filename
- Viewing the index file of a tier-1 path, without filename, with a trailing slash
- Viewing a tier-2 path
- Viewing the root path
-
- Given
- the Server is running at "auto-js-app"
- When
- I go to "/auto-js.html"
- Then
- I should see "javascripts/auto-js.js"
- Viewing a tier-1 path
-
- Given
- the Server is running at "auto-js-app"
- When
- I go to "/auto-js/auto-js.html"
- Then
- I should see "javascripts/auto-js/auto-js.js"
- Viewing the index file of a tier-1 path, without filename
-
- Given
- the Server is running at "auto-js-app"
- When
- I go to "/auto-js"
- Then
- I should see "javascripts/auto-js/index.js"
- Viewing the index file of a tier-1 path, without filename, with a trailing slash
-
- Given
- the Server is running at "auto-js-app"
- When
- I go to "/auto-js/"
- Then
- I should see "javascripts/auto-js/index.js"
- Viewing a tier-2 path
-
- Given
- the Server is running at "auto-js-app"
- When
- I go to "/auto-js/sub/auto-js.html"
- Then
- I should see "javascripts/auto-js/sub/auto-js.js"
Last published over 7 years ago by middleman.