Reputation: 401
I want to include JavaScript file in my view.
And I want to render it together and not as script file (registerScriptFile).
How can I do that?
Upvotes: 1
Views: 1276
Reputation:
Just renderFile()
it would render any file, remember to wrap it with <script>
tag.
Upvotes: 5