diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-15 12:26:42 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-15 12:26:42 +0200 |
commit | d6625bc44524500e11c9072c6ba294112cd52d43 (patch) | |
tree | cd1e93b6b21434d6aba7725821d811d312d687f7 /js/service | |
parent | 866f17fe43f841691a8858d671962d623369d3b3 (diff) |
fix protractor tests
Diffstat (limited to 'js/service')
-rw-r--r-- | js/service/loading.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/js/service/loading.js b/js/service/loading.js new file mode 100644 index 000000000..1b6ecffd0 --- /dev/null +++ b/js/service/loading.js @@ -0,0 +1,23 @@ +/** + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Bernhard Posselt <dev@bernhard-posselt.com> + * @copyright Bernhard Posselt 2012, 2014 + */ +app.service('Loading', function () { + 'use strict'; + + this.loading = false; + + this.setLoading = function (isLoading) { + this.loading = isLoading; + }; + + this.isLoading = function () { + return this.loading; + }; + +});
\ No newline at end of file |