inhabit-module-base
Advanced tools
Comparing version 1.3.4 to 1.3.5
"use strict"; | ||
var MODULE_STORAGE = global.__ark_app__.apps; | ||
var InhabitModuleEvents = require("./InhabitModuleEvents"); | ||
/** | ||
@@ -24,3 +24,3 @@ * @constructor | ||
this.name = this.constructor.name; | ||
this.showCustomPreloader = true; | ||
this.inject(dependencies).configure(configuration); | ||
@@ -74,4 +74,4 @@ } | ||
this.searchEngineService = dependencies.searchEngineService; | ||
this.events = dependencies.events || { on: console.log.bind(console, 'There is not events') }; | ||
this.resourcesRoot = dependencies.resourcesRoot || "build/resources/"; | ||
this.events = dependencies.events || InhabitModuleEvents; | ||
this.resourcesRoot = dependencies.resourcesRoot || "build/resources"; | ||
return this; | ||
@@ -78,0 +78,0 @@ }; |
{ | ||
"name": "inhabit-module-base", | ||
"version": "1.3.4", | ||
"version": "1.3.5", | ||
"description": "A Base Module class for InHabit.", | ||
@@ -5,0 +5,0 @@ "main": "build/InhabitModuleBase.js", |
"use strict"; | ||
var MODULE_STORAGE = global.__ark_app__.apps; | ||
var InhabitModuleEvents = require("./InhabitModuleEvents"); | ||
/** | ||
@@ -24,3 +24,3 @@ * @constructor | ||
this.name = this.constructor.name; | ||
this.showCustomPreloader = true; | ||
this.inject(dependencies).configure(configuration); | ||
@@ -74,4 +74,4 @@ } | ||
this.searchEngineService = dependencies.searchEngineService; | ||
this.events = dependencies.events || {on: console.log.bind(console, 'There is not events')}; | ||
this.resourcesRoot = dependencies.resourcesRoot || "build/resources/"; | ||
this.events = dependencies.events || InhabitModuleEvents; | ||
this.resourcesRoot = dependencies.resourcesRoot || "build/resources"; | ||
return this; | ||
@@ -78,0 +78,0 @@ }; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
35100
17
251
0