cache as ES6

This commit is contained in:
Florent Vilmart
2016-02-24 15:55:11 -05:00
parent c0714b9b9d
commit c4abd1e267
11 changed files with 64 additions and 82 deletions

View File

@@ -2,10 +2,12 @@
// configured.
// mount is the URL for the root of the API; includes http, domain, etc.
import cache from './cache';
export class Config {
constructor(applicationId, mount) {
var cache = require('./cache');
var DatabaseAdapter = require('./DatabaseAdapter');
var cacheInfo = cache.apps[applicationId];