Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neurospeech/atoms-pre-compiler
Atoms.js precompiler service to generate HTML5 compliant HTML and JavaScript to run with CSP
https://github.com/neurospeech/atoms-pre-compiler
Last synced: about 2 months ago
JSON representation
Atoms.js precompiler service to generate HTML5 compliant HTML and JavaScript to run with CSP
- Host: GitHub
- URL: https://github.com/neurospeech/atoms-pre-compiler
- Owner: neurospeech
- License: mit
- Created: 2015-03-18T12:08:57.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-07-25T11:41:37.000Z (over 7 years ago)
- Last Synced: 2024-04-16T12:24:26.639Z (8 months ago)
- Language: C#
- Size: 654 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Atoms Pre Compiler
Atoms.js precompiler service to generate HTML5 compliant HTML and JavaScript to run with CSPAtomsPreCompiler compiles atoms markup into valid HTML5 by breaking up inline expressions into
generated JavaScript. This pre-compiled document runs in strict mode without using `eval` without compromising speed.Usage
-----Download nuget package Atoms.js PreCompiler
Modify web.config as shown below on IIS7 onwards
Query String Parameters
-----------------------Turn on/off pre compilation
atoms-pre-compile=(yes/no) default=yes
Turn on/off debug mode
atoms-pre-compile-mode=(debug/none) default=none