@giantcz/nette
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -20,9 +20,4 @@ 'use strict'; | ||
exports.replaceSnippet = replaceSnippet; | ||
exports.triggerEvent = triggerEvent; | ||
exports.setComponents = setComponents; | ||
var _eventbus = require('gia/eventbus'); | ||
var _eventbus2 = _interopRequireDefault(_eventbus); | ||
var _loadComponents = require('gia/loadComponents'); | ||
@@ -148,5 +143,2 @@ | ||
function processResponse(response) { | ||
if (response.action) { | ||
triggerEvent(response.action); | ||
} | ||
if (response.snippets) { | ||
@@ -195,6 +187,2 @@ replaceSnippets(response.snippets); | ||
function triggerEvent(action) { | ||
_eventbus2.default.emit('nette:' + action); | ||
} | ||
var Snippet = exports.Snippet = function () { | ||
@@ -268,5 +256,4 @@ function Snippet(element) { | ||
replaceSnippet: replaceSnippet, | ||
triggerEvent: triggerEvent, | ||
setComponents: setComponents, | ||
Snippet: Snippet | ||
}; |
{ | ||
"name": "@giantcz/nette", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Nette helpers.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
11948
206