https://github.com/ttreeagency/script
Fusion object to generate a script tag for your Neos CMS or Flow Framework project
https://github.com/ttreeagency/script
flow-framework neos-cms
Last synced: 6 months ago
JSON representation
Fusion object to generate a script tag for your Neos CMS or Flow Framework project
- Host: GitHub
- URL: https://github.com/ttreeagency/script
- Owner: ttreeagency
- License: mit
- Created: 2016-03-31T13:02:25.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-05-04T16:18:19.000Z (over 3 years ago)
- Last Synced: 2025-05-07T11:57:18.009Z (8 months ago)
- Topics: flow-framework, neos-cms
- Homepage:
- Size: 35.2 KB
- Stars: 4
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[](LICENSE)
[](https://packagist.org/packages/ttree/script)
# Script Fusion Prototypes
This package contains Fusion prototypes to work with Script HTML tags in your Flow Framework and Neos CMS project.
## Available Objects
### Ttree.Script:Resource
Generate a HTML script element in HTML5:
stylesheets.main = Ttree.Script:Resource {
uri = 'resource://Your.Package/Public/Scripts/Main.js'
cacheBusting = true
}
You can disable HTTP cache busting by setting ```cacheBusting``` to ```false```.
Set ```inline``` to ```true``` to inline the content of the resource.
### Ttree.Script:External
Generate a HTML script element in HTML5:
javascripts.main = Ttree.Script:External {
uri = 'http://www.domain.com/main.js'
}
## Acknowledgments
Development sponsored by [ttree ltd - neos solution provider](http://ttree.ch).
We try our best to craft this package with a lots of love, we are open to sponsoring, support request, ... just contact us.
## License
The MIT License (MIT). Please see [LICENSE](LICENSE) for more information.