Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function init(data, callback){
- boomerang('{{ url('/') }}/comment/' + data.region + '/' + data.summonerName, '#tplComments', '.comment-grid');
- if(!callback) throw new Error("Callback not defined!");
- callback();
- }
- $(window).load(function(){
- init({
- region: "",
- summonerName: ""
- }, function(){
- $('.comment-grid').packery({
- itemSelector: '.comment-tile',
- gutter:0
- }).packery();
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement