Skip to content

Instantly share code, notes, and snippets.

@efrister
Last active December 24, 2015 11:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save efrister/6792420 to your computer and use it in GitHub Desktop.
Save efrister/6792420 to your computer and use it in GitHub Desktop.
Example usage of stdWrap in ViewHelper
<v:asset.script name="test" dependencies="..." standalone="1" stdWrap="insertData = 1
postCObject = TEXT
postCObject {
value = alert(fluidTest);
}">
var fluidTest = "{getIndpEnv:TYPO3_HOST_ONLY}";
</v:asset.script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment