mirror of
https://gitlab.com/JKANetwork/CheckServer.git
synced 2026-02-23 21:43:46 +01:00
Start again
This commit is contained in:
26
vendors/pnotify/libtests/browserify/index.js
vendored
Normal file
26
vendors/pnotify/libtests/browserify/index.js
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
|
||||
// Not working? Did you `npm install` `npm run build` first?
|
||||
|
||||
var $ = require("jquery");
|
||||
var PNotify = require("pnotify");
|
||||
|
||||
$(function(){
|
||||
$("#button1").click(function(){
|
||||
new PNotify({
|
||||
title: "Yay!",
|
||||
text: "It works!"
|
||||
});
|
||||
});
|
||||
|
||||
$("#button12").click(function(){
|
||||
require("pnotify.reference");
|
||||
|
||||
new PNotify({
|
||||
title: "Yay!",
|
||||
text: "It works!",
|
||||
reference: {
|
||||
put_thing: true
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user