Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nogap

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nogap - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

13

lib/ComponentBootstrap.js

@@ -128,7 +128,6 @@ /**

// set some internal variables
var internalContext = Instance.Libs.ComponentContext.getInternalContext();
internalContext.clientAddr = clientAddr;
internalContext.clientIsLocal = clientAddr === 'localhost' || clientAddr === '127.0.0.1';
internalContext.clientRoot = clientRoot;
// store some client information
thisInstance.Context.clientAddr = clientAddr;
thisInstance.Context.clientIsLocal = clientAddr === 'localhost' || clientAddr === '127.0.0.1';
thisInstance.Context.clientRoot = clientRoot;

@@ -177,6 +176,2 @@ // initialize host-side installation and collect code for user-specific initialization commands:

Private: {
getComponentClientRoot: function() {
return this.Instance.Libs.ComponentContext.getInternalContext().clientRoot;
},
/**

@@ -183,0 +178,0 @@ * Get client-specific initialization code

@@ -548,3 +548,3 @@ /**

onClientBootstrap: function() {
var clientRoot = this.Instance.Libs.ComponentBootstrap.getComponentClientRoot();
var clientRoot = this.Context.clientRoot;
console.assert(clientRoot, 'INTERNAL ERROR: clientRoot has not been set by ComponentBootstrap.');

@@ -551,0 +551,0 @@

{
"name": "nogap",
"version": "0.1.0",
"version": "0.1.1",
"author": {

@@ -5,0 +5,0 @@ "name": "Dominik Seifert",

@@ -61,3 +61,3 @@ /**

// get userName & start app on client
this.client.start(session.userName);
this.client.start(session.userName, this.Context.clientAddr);
},

@@ -126,2 +126,3 @@ }

// create main Angular controller:

@@ -133,4 +134,5 @@ app.controller('mainCtrl',

// set user & userName
// set user info
$scope.userName = Instance.Main.userName;
$scope.clientAddr = Instance.Main.clientAddr;

@@ -251,3 +253,6 @@ // remember $scope & $templateCache so we can lazily add partial templates later

*/
start: function(userName) {
start: function(userName, clientAddr) {
// store client address
this.clientAddr = clientAddr;
// set current user and select page to view correspondingly

@@ -254,0 +259,0 @@ this.onUserChanged(userName);

@@ -11,7 +11,4 @@ /**

var process = require('process');
//var squishy = require('squishy');
/**

@@ -22,3 +19,3 @@ * The maintenance object for registering exit hooks.

events: {
exit: GLOBAL.squishy.createEvent()
exit: squishy.createEvent()
}

@@ -25,0 +22,0 @@ };

@@ -18,3 +18,3 @@ {

"squishy": "Domiii/squishy.js",
"squishy": "*",

@@ -21,0 +21,0 @@ "process": "*",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc