fixed a couple typos in the comments at the bottom of this page
This commit is contained in:
parent
282e2a95c7
commit
b99b6fac14
1 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@
|
||||||
Three ways to add a stylesheet:
|
Three ways to add a stylesheet:
|
||||||
|
|
||||||
A. In theme directory:
|
A. In theme directory:
|
||||||
${stylesheets.addFromTheme("/sample.css");
|
${stylesheets.addFromTheme("/sample.css")}
|
||||||
${stylesheets.add(themeStylesheetDir + "/sample.css")}
|
${stylesheets.add(themeStylesheetDir + "/sample.css")}
|
||||||
|
|
||||||
B. Any location
|
B. Any location
|
||||||
|
@ -50,7 +50,7 @@ ${stylesheets.add("/edit/forms/css/sample.css)"}
|
||||||
To add a script:
|
To add a script:
|
||||||
|
|
||||||
A. In theme directory:
|
A. In theme directory:
|
||||||
${scripts.addFromTheme("/sample.js");
|
${scripts.addFromTheme("/sample.js")}
|
||||||
|
|
||||||
B. Any location
|
B. Any location
|
||||||
${scripts("/edit/forms/js/sample.js)"}
|
${scripts("/edit/forms/js/sample.js)"}
|
||||||
|
|
Loading…
Add table
Reference in a new issue