From a2a6ea29bfca84969fed4d653cf489349707b99d Mon Sep 17 00:00:00 2001 From: Andy Gup Date: Fri, 23 May 2014 17:07:48 -0600 Subject: [PATCH] rearranged where event variables go --- lib/tpk/TPKLayer.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/tpk/TPKLayer.js b/lib/tpk/TPKLayer.js index e02d899..877ad1c 100644 --- a/lib/tpk/TPKLayer.js +++ b/lib/tpk/TPKLayer.js @@ -23,18 +23,22 @@ define([ MAX_DB_SIZE: 75, // Recommended maximum size in MBs TILE_PATH:"", // The absolute path to the root of bundle/bundleX files e.g. V101/YOSEMITE_MAP/ RECENTER_DELAY: 350, // Millisecond delay before attempting to recent map after an orientation change - DATABASE_ERROR_EVENT: "databaseErrorEvent", // An error thrown by the database. PARSING_ERROR: 'parsingError', // An error was encountered while parsing a TPK file. DB_INIT_ERROR: "dbInitError", // An error occurred while initializing the database. DB_FULL_ERROR: "dbFullError", // No space left in the database. NO_SUPPORT_ERROR: "libNotSupportedError", // Error indicating this library is not supported in a particular browser. - VALIDATION_EVENT: "validationEvent", // Library validation checks. - PROGRESS_EVENT: "progress", // Event dispatched while parsing a bundle file. PROGRESS_START: "start", PROGRESS_END: "end", WINDOW_VALIDATED: "windowValidated", // All window functionality checks have passed DB_VALIDATED: "dbValidated", // All database functionality checks have passed + // + // Events + // + DATABASE_ERROR_EVENT: "databaseErrorEvent", // An error thrown by the database. + VALIDATION_EVENT: "validationEvent", // Library validation checks. + PROGRESS_EVENT: "progress", // Event dispatched while parsing a bundle file. + // // Private properties //