File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11<!DOCTYPE HTML>
22<!--
33/*
4- * JavaScript Templates Demo 1.0.2
4+ * JavaScript Templates Demo 1.0.3
55 * https://github.com/blueimp/JavaScript-Templates
66 *
77 * Copyright 2011, Sebastian Tschan
@@ -74,7 +74,7 @@ <h2>Result</h2>
7474 </ div >
7575 </ div >
7676</ div >
77- < script type ="text/html " id ="tmpl-demo ">
77+ < script type ="text/x-tmpl " id ="tmpl-demo ">
7878< h3 > { %= o . title % } </ h3 >
7979< p > Released under the
8080< a href = "{%=o.license.url%}" > { %= o . license . name % } </a > . </p >
@@ -85,7 +85,7 @@ <h4>Features</h4>
8585{ % } % }
8686</ul >
8787</ script >
88- < script type ="text/html " id ="tmpl-data ">
88+ < script type ="text/x-tmpl " id ="tmpl-data ">
8989{
9090 "title" : "JavaScript Templates" ,
9191 "license" : {
@@ -99,7 +99,7 @@ <h4>Features</h4>
9999 ]
100100}
101101</ script >
102- < script type ="text/html " id ="tmpl-error ">
102+ < script type ="text/x-tmpl " id ="tmpl-error ">
103103< span class = "label important" > Error</ span >
104104< code > { %= o% } < / c o d e >
105105</ script >
Original file line number Diff line number Diff line change 11<!DOCTYPE HTML>
22<!--
33/*
4- * JavaScript Templates Test 1.0
4+ * JavaScript Templates Test 1.0.1
55 * https://github.com/blueimp/JavaScript-Templates
66 *
77 * Copyright 2011, Sebastian Tschan
2828 mocha . run ( ) ;
2929} ) ;
3030</ script >
31- < script type ="text/html " id ="template "> { %= o . value % } </ script >
31+ < script type ="text/x-tmpl " id ="template "> { %= o . value % } </ script >
3232< script src ="../tmpl.js "> </ script >
3333< script src ="test.js "> </ script >
3434</ body >
You can’t perform that action at this time.
0 commit comments