public/build/static/application.js
function() {
            var that = this;

            return api.execute("get:alerts")
            .then(function(data) {
                console.log("alerts", data);
                that.reset(data);
                return that;
            });
        }
function() {
            var that = this;

            return api.execute("get:alerts")
            .then(function(data) {
                console.log("alerts", data);
                that.reset(data);
                return that;
            });
        }
function ( ) { var that = this ; return api . execute ( "get:alerts" ) . then ( function ( data ) { console . log ( "alerts" , data ) ; that . reset ( data ) ; return that ; } ) ; }
Load all alerts
Load all alerts