Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds options param to javascript queue functions. #363

Merged
merged 1 commit into from Nov 5, 2012
Merged

Adds options param to javascript queue functions. #363

merged 1 commit into from Nov 5, 2012

Conversation

jeremyboggs
Copy link
Contributor

Adds an option parameter to queue_js_file and queue_js_string to allow
for, among other things, wrapping the outputs of those with conditional
comments similar to the CSS queue functions.

Other options can be passed as well, per the Zend Framework documentation for
headScript.

Updates the test that shall not be named to check for these conditional
comments.

Adds an option parameter to `queue_js_file` and `queue_js_string` to allow
for, among other things, wrapping the outputs of those with conditional
comments similar to the CSS queue functions.

Other options can be passed as well, per the Zend Framework documentation for
headScript:

http://framework.zend.com/manual/1.12/en/zend.view.helpers.html#zend.view.helpers.initial.headscript

Updates the test that shall not be named to check for these conditional
comments.
@jeremyboggs
Copy link
Contributor Author

In writing the tests, I tried to include a check using assertTag but that kept failing. I'm guessing this method in PHPUnit can't find the tags wrapped in conditional comments? (I did visually confirm that the tags are getting correctly inserted in the page.)

zerocrates added a commit that referenced this pull request Nov 5, 2012
Adds options param to javascript queue functions.
@zerocrates zerocrates merged commit 4e55c4d into omeka:master Nov 5, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants