New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@smartface/smartface.emulator

Package Overview
Dependencies
Maintainers
7
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@smartface/smartface.emulator - npm Package Compare versions

Comparing version

to
6.8.2

20

main.js

@@ -66,3 +66,2 @@ define(function(require, exports, module) {

dispatcher.ready(function(err) {
runEmulatorButton.enable();
if (err) {

@@ -75,3 +74,2 @@ dialogError("An error occurred: " + err.constructor.name);

$(".emulatorMain").css("display", "block");
$(".emulatorBtn .c9-icon").css('cssText', '');
//TODO: remove from try-catch later

@@ -89,2 +87,3 @@ try {

smfProjectChecker.check(function(err, reportObj) {
enableRunOnDeviceButton();
if (err) return console.error(err);

@@ -147,2 +146,14 @@

function enableRunOnDeviceButton() {
$(".emulatorBtn .c9-icon").css('cssText', '');
runEmulatorButton.enable();
}
function disableRunOnDeviceButton() {
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();
}
function getQRCodeData(callback) {

@@ -259,6 +270,3 @@ getQRInfo(function(info) {

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();
disableRunOnDeviceButton();
plugin.show();

@@ -265,0 +273,0 @@ }

{
"name": "@smartface/smartface.emulator",
"version": "6.8.1",
"version": "6.8.2",
"description": "Smartface Emulator",

@@ -5,0 +5,0 @@ "main": "main.js",