first commit, after modifying client section
This commit is contained in:
26
public/assets/vendors/pnotify/libtests/browserify/index.js
vendored
Executable file
26
public/assets/vendors/pnotify/libtests/browserify/index.js
vendored
Executable 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