WoW what a great answer mate really, even the last sentence was really valuable to me.
I will ask you one last question just to understand it sorry you are the best person that I can ask for help
So this is the example of the package owners.
<script src="../dist/tribute.js"></script>
<script>
// example of alternative callback
var tribute = new Tribute({
// menuContainer: document.getElementById('content'),
values: [
{
key: "Jordan Humphreys",
value: "Jordan Humphreys",
email: "[email protected]"
},
{
key: "Sir Walter Riley",
value: "Sir Walter Riley",
email: "[email protected]"
}
],
as you can see inside their example file they never use the BOM (window.) global and it still works ...
does that mean I have to use webpack somehow if I want to integrate the package without the BOM?
Or would you say it doesn't matter if i use the BOM or not?
In your last message you said:
quote: In their example they never use the js outside of js
But when you look at this example file I mean they do ?! don't they?
https://github.com/zurb/tribute/blob/master/example/index.html