forked from gonzalo123/nov-comet
-
Notifications
You must be signed in to change notification settings - Fork 0
Lazy comet with PHP
zohaibrehman/nov-comet
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Lazy comet with PHP. Simple implementation of lazy comet PHP. NovComet.subscribe('customAlert', function(data){ console.log('customAlert'); //console.log(data); }).subscribe('customAlert2', function(data){ console.log('customAlert2'); //console.log(data); }); $(document).ready(function() { $("a.customAlert").click(function(event) { NovComet.publish('customAlert'); }); $("a.customAlert2").click(function(event) { NovComet.publish('customAlert2'); }); NovComet.run(); });
About
Lazy comet with PHP
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- PHP 63.3%
- JavaScript 36.7%