blob: 08353bae870adf3f25c22dc24ed4c9f1b12843d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
/**
* ownCloud - News app
*
* @author Bernhard Posselt
* Copyright (c) 2012 - Bernhard Posselt <nukeawhale@gmail.com>
*
* This file is licensed under the Affero General Public License version 3 or later.
* See the COPYING-README file
*
*/
/**
* The cache is used to cache items and tell the program which items have been
* loaded
*/
(function(exports) {
"use strict";
var Cache = function(){
this.reset();
};
Cache.prototype.reset = function(){
this.items = [];
};
exports.Cache = Cache;
}(typeof exports === "undefined" ? (this.moduleName = {}): exports));
|