[Pkg-javascript-commits] [dojo] 04/13: Squashed commit of the following:
David Prévot
taffit at moszumanska.debian.org
Thu Aug 21 17:39:56 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag 1.9.3
in repository dojo.
commit 11000350c913d629ab0ee5e901ad2fa0b7ff7df4
Author: Dylan Schiemann <dylan at dojotoolkit.org>
Date: Thu Jan 2 07:37:47 2014 -0700
Squashed commit of the following:
commit 3c9c52c95fdf1fcbb796f3d972a28d0a421b8fb2
Author: dylans <dylan at dojotoolkit.org>
Date: Tue Dec 31 15:23:04 2013 -0700
refs #17651, make router.destroy fail safely if router.startup has not been called
(cherry picked from commit 36a2a4e94c3dc9c758749dae01fd7f6b089e9e5a)
---
router/RouterBase.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/router/RouterBase.js b/router/RouterBase.js
index 05e7873..6ae5d95 100644
--- a/router/RouterBase.js
+++ b/router/RouterBase.js
@@ -220,7 +220,9 @@ define([
},
destroy: function(){
- this._hashchangeHandle.remove();
+ if(this._hashchangeHandle){
+ this._hashchangeHandle.remove();
+ }
this._routes = null;
this._routeIndex = null;
},
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/dojo.git
More information about the Pkg-javascript-commits
mailing list