Roo/History.js
authorAlan Knowles <alan@roojs.com>
Fri, 15 Apr 2016 07:24:27 +0000 (15:24 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 15 Apr 2016 07:24:27 +0000 (15:24 +0800)
Roo/History.js

index 97ecb6c..2879b20 100644 (file)
@@ -136,7 +136,7 @@ Roo.History = {
                }
         
         this.initEmulated();
-               /**
+        /**
                 * History.enabled
                 * Is History enabled?
                 */
@@ -222,7 +222,7 @@ Roo.History = {
      * @author Benjamin Arthur Lupton <contact@balupton.com>
      * @author James Padolsey <https://gist.github.com/527683>
      */
-    getInternetExplorerMajorVersion = function(){
+    getInternetExplorerMajorVersion : function(){
         var result = this.getInternetExplorerMajorVersion.cached =
                 (typeof this.getInternetExplorerMajorVersion.cached !== 'undefined')
             ?  this.getInternetExplorerMajorVersion.cached
@@ -288,13 +288,7 @@ Roo.History = {
                        
        }
 
-               /**
-                * History.enabled
-                * Is History enabled?
-                */
-               History.enabled = !History.emulated.pushState;
-
-               
+        
 
                /**
                 * History.isEmptyObject(obj)