firecomponent
Advanced tools
Comparing version 1.0.12 to 1.0.13
{ | ||
"name": "firecomponent", | ||
"version": "1.0.12", | ||
"version": "1.0.13", | ||
"description": "A set of components for displaying information from Firebase, allowing admin edits if desired Edit", | ||
@@ -5,0 +5,0 @@ "main": "Components.vue", |
@@ -1,13 +0,21 @@ | ||
import Vue from 'vue' | ||
import Vue from 'vue'; | ||
const eventBus = new Vue() | ||
var eventBus = new Vue(); | ||
const send = (message) => { | ||
eventBus.$emit(message) | ||
} | ||
var send = function(message) { | ||
eventBus.$emit(message); | ||
}; | ||
var save = function() { | ||
send('save'); | ||
}; | ||
var reset = function() { | ||
send('reset'); | ||
}; | ||
export default { | ||
save: () => send('save'), | ||
reset: () => send('reset'), | ||
save: save, | ||
reset: reset, | ||
bus: eventBus, | ||
} |
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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
21978
16
0