@smartface/smartface.emulator
Advanced tools
Comparing version
@@ -59,6 +59,12 @@ var SMFC_WS; | ||
function parseHtmlForStaticPrefix(html) { | ||
var rgx = /\@\{staticPrefix\}/g; | ||
return html.replace(rgx, staticPrefix); | ||
} | ||
function draw() { | ||
if (drawn) return; | ||
drawn = true; | ||
ui.insertHtml(document.body, require("text!./emulator.html"), plugin); | ||
var markup = parseHtmlForStaticPrefix(require("text!./emulator.html")); | ||
ui.insertHtml(document.body, markup, plugin); | ||
var t = $("#smf-emulator-wizard"); | ||
@@ -65,0 +71,0 @@ t.draggable({ |
{ | ||
"name": "@smartface/smartface.emulator", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "SmartfaceCloud Emulator", | ||
@@ -5,0 +5,0 @@ "main": "main.js", |
Sorry, the diff of this file is not supported yet
81101
0.04%381
1.33%