1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 07:49:41 +02:00
portainer/assets/js/angular-oboe.min.js
2015-04-18 23:06:58 -07:00

1 line
No EOL
347 B
JavaScript

"use strict";angular.module("ngOboe",[]).service("Oboe",["OboeStream",function(a){return function(b){return a.get(b)}}]).factory("OboeStream",["$q",function(a){return{get:function(b){var c=a.defer();return oboe(b).start(function(){}).node(b.pattern||".",function(a){return c.notify(a),oboe.drop}).done(function(){return oboe.drop}),c.promise}}}]);