From 90fbdcb2df7c6e199e247f4e20f8317f41f10758 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Thu, 12 Jun 2014 03:35:47 -0400 Subject: [PATCH] refactor(index) files --- html/fs/index.html | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/html/fs/index.html b/html/fs/index.html index 6722ee65..63fd7275 100644 --- a/html/fs/index.html +++ b/html/fs/index.html @@ -37,20 +37,22 @@ var script, lib = 'lib/', - client = lib + 'client/', + client = 'client/', files = [ - lib + 'util.js', - lib + 'cloudfunc.js', - client + 'dom.js', - client + 'events.js', - client + 'rest.js', - client + 'load.js', - client + 'notify.js', - client + 'storage.js', - lib + 'client.js', - client + 'listeners.js', - client + 'key.js' - ]; + 'util', + 'cloudfunc', + client + 'dom', + client + 'events', + client + 'rest', + client + 'load', + client + 'notify', + client + 'storage', + 'client', + client + 'listeners', + client + 'key' + ].map(function(name) { + return lib + name + '.js'; + }); window.addEventListener('load', load);