/**
 * Created by i070970 on 8/26/14.
 */
(function () {
    'use strict';


    function sapSharedNotificationsService($rootScope) {

        var items = [];

        this.setItems = function (collection) {
            items.length = 0;
            Array.prototype.forEach.call(collection, function (item) {
                items.push(item);
            });
        };

        this.getItems = function () {
            return items;
        };
    }

    angular.
        module('sapShared').
        service('sapSharedNotificationsService', [
            '$rootScope',
            sapSharedNotificationsService
        ]);

}());
/**
 * Created by i070970 on 8/26/14.
 */
(function () {
    'use strict';


    function sapSharedNotificationsService() {

        var items = [];

        this.setItems = function (collection) {
            items.length = 0;
            Array.prototype.forEach.call(collection, function (item) {
                items.push(item);
            });
        };

        this.getItems = function () {
            return items;
        };
    }

    angular.
        module('sapShared').
        service('sapSharedNotificationsService', [
            sapSharedNotificationsService
        ]);

}());
Fix JSLint to pass build
Fix JSLint to pass build
