From cecc5c57a2484e8bdc40c87b31ec404c51c20abf Mon Sep 17 00:00:00 2001 From: Lars Jung Date: Wed, 17 Oct 2012 00:53:28 +0200 Subject: [PATCH] Cleans code. --- src/_h5ai/client/js/inc/core/location.js | 2 +- src/_h5ai/client/js/inc/core/store.js | 2 +- src/_h5ai/server/php/inc/init.php | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/_h5ai/client/js/inc/core/location.js b/src/_h5ai/client/js/inc/core/location.js index 0ebcb24e..bea9577b 100644 --- a/src/_h5ai/client/js/inc/core/location.js +++ b/src/_h5ai/client/js/inc/core/location.js @@ -1,5 +1,5 @@ -modulejs.define('core/location', ['$', 'core/event'], function ($, event) { +modulejs.define('core/location', [], function () { var doc = document, diff --git a/src/_h5ai/client/js/inc/core/store.js b/src/_h5ai/client/js/inc/core/store.js index 1278470e..e4a66222 100644 --- a/src/_h5ai/client/js/inc/core/store.js +++ b/src/_h5ai/client/js/inc/core/store.js @@ -1,5 +1,5 @@ -modulejs.define('core/store', ['_', 'modernizr'], function (_, modernizr) { +modulejs.define('core/store', ['modernizr'], function (modernizr) { var store = modernizr.localstorage ? window.localStorage : null, diff --git a/src/_h5ai/server/php/inc/init.php b/src/_h5ai/server/php/inc/init.php index 9761dde1..333478e7 100644 --- a/src/_h5ai/server/php/inc/init.php +++ b/src/_h5ai/server/php/inc/init.php @@ -21,7 +21,6 @@ normalized_require_once("/server/php/inc/Entry.php"); $app = new App(APP_ABS_PATH, APP_ABS_HREF, ABS_HREF); -// if (count($_REQUEST)) { if (array_key_exists("action", $_REQUEST)) { header("Content-type: application/json");