@smartface/smartface.emulator
Advanced tools
Comparing version
11
main.js
@@ -5,3 +5,3 @@ define(function(require, exports, module) { | ||
'ui', 'commands', 'menus', 'proc', 'c9', 'layout', 'dialog.error', 'fs', | ||
'Plugin', 'jquery', 'smf.analytics', 'dialog.confirm', | ||
'Plugin', 'jquery', 'smf.analytics', 'dialog.confirm', "settings", | ||
'smf.dispatcher', 'smf.project.checker', 'info', 'smf.user' | ||
@@ -19,2 +19,3 @@ ]; | ||
var proc = imports.proc; | ||
var settings = imports.settings; | ||
var Plugin = imports.Plugin; | ||
@@ -74,2 +75,5 @@ var staticPrefix = options.staticPrefix || 'static/plugin'; | ||
$(".emulatorMain").css("display", "block"); | ||
$(".emulatorBtn .c9-icon").css('cssText', ''); | ||
runEmulatorButton.enable(); | ||
//TODO: remove from try-catch later | ||
@@ -255,2 +259,6 @@ try { | ||
exec: function() { | ||
var animationUrl = 'url("' + staticPrefix + '/icons/anim_' + settings.get("user/general/@skin") + '.gif")'; | ||
$(".emulatorBtn .c9-icon").css('cssText', 'background-image: ' + | ||
animationUrl + ' !important; background-size: 18px !important; background-position: unset !important;'); | ||
runEmulatorButton.disable(); | ||
plugin.show(); | ||
@@ -262,3 +270,2 @@ } | ||
}), 300, plugin); | ||
} | ||
@@ -265,0 +272,0 @@ |
{ | ||
"name": "@smartface/smartface.emulator", | ||
"version": "6.5.2", | ||
"version": "6.8.0", | ||
"description": "Smartface Emulator", | ||
@@ -5,0 +5,0 @@ "main": "main.js", |
110589
4.66%18
12.5%372
1.92%