Explorar el Código

move template and iframe to html/

Benoît Hubert hace 8 años
padre
commit
b727393201
Se han modificado 4 ficheros con 2 adiciones y 2 borrados
  1. 0 0
      html/start-iframe.html
  2. 0 0
      html/template.mustache.html
  3. 1 1
      index.html
  4. 1 1
      sandboxApp.js

exemples/start-iframe.html → html/start-iframe.html


exemples/template.html → html/template.mustache.html


+ 1 - 1
index.html

@@ -48,7 +48,7 @@
     <div class="splitter">
     </div>
 
-    <iframe class="panel-right" src="exemples/start-iframe.html"></iframe>
+    <iframe class="panel-right" src="html/start-iframe.html"></iframe>
 </div>
 
 <script src="js/vendor/modernizr-3.5.0.min.js"></script>

+ 1 - 1
sandboxApp.js

@@ -11,7 +11,7 @@ var Promise      = require('bluebird');
 var Mustache     = require('mustache');
 var app          = express();
 var examplesJSON = __dirname + '/exemples/liste.json';
-var sandboxTpml  = fs.readFileSync(__dirname + '/exemples/template.html').toString();
+var sandboxTpml  = fs.readFileSync(__dirname + '/html/template.mustache.html').toString();
 var examples     = require(examplesJSON);
 Promise.promisifyAll(fs);