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

mojito-markup-test

Package Overview
Dependencies
Maintainers
4
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mojito-markup-test - npm Package Compare versions

Comparing version

to
0.0.10

2

package.json
{
"name": "mojito-markup-test",
"description": "Utility for view markup validation in mojito unit tests.",
"version": "0.0.9",
"version": "0.0.10",
"author": "David Gomez <dgomez@yahoo-inc.com>",

@@ -6,0 +6,0 @@ "contributors": [

@@ -23,3 +23,2 @@ /*

CORE_YUI_MODULES = ['get', 'features', 'intl-base', 'mojito'],
DEFAULT_LANG = 'en-US',

@@ -51,11 +50,2 @@ DEFAULT_ENV = 'server',

preloadStore = function (cfg) {
if (!store || !cfg.reuse) {
store = rs.createStore(cfg);
store._staticDetails = {};
store._appY = Y;
store.preload();
}
},
configureYUI = function () {

@@ -83,4 +73,16 @@ var modules,

Y.applyConfig({ useSync: false });
store.Y = Y;
},
preloadStore = function (cfg) {
if (!store || !cfg.reuse) {
store = rs.createStore(cfg);
store._staticDetails = {};
store._appY = Y;
store.preload();
configureYUI();
}
},
isMojitDefined = function (env, type) {

@@ -126,4 +128,2 @@ var found = Y.Array.find(store.listAllMojits(env), function (name) {

configureYUI();
getMojitTypeDetails(env, ctx, type, function (err, instance) {

@@ -130,0 +130,0 @@