Fixing iron:router issue with latest Chrome version
This commit is contained in:
1 parent
3734b5f31a
commit
6f23c7163a
20 files changed
+1074
-4
No files matched your search
@@ -0,0 +1 @@
|
||||
local
|
||||
@@ -0,0 +1 @@
|
||||
ofqtruq93rux231sdq
|
||||
@@ -0,0 +1,10 @@
|
||||
# Meteor packages used by this project, one per line.
|
||||
#
|
||||
# 'meteor add' and 'meteor remove' will edit this file for you,
|
||||
# but you can also edit it by hand.
|
||||
|
||||
standard-app-packages
|
||||
autopublish
|
||||
insecure
|
||||
iron:middleware-stack
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
none
|
||||
@@ -0,0 +1,44 @@
|
||||
application-configuration@1.0.0
|
||||
autopublish@1.0.0
|
||||
autoupdate@1.0.0
|
||||
binary-heap@1.0.0
|
||||
blaze-tools@1.0.0
|
||||
blaze@1.0.0
|
||||
callback-hook@1.0.0
|
||||
check@1.0.0
|
||||
ctl-helper@1.0.0
|
||||
ctl@1.0.0
|
||||
deps@1.0.0
|
||||
ejson@1.0.0
|
||||
follower-livedata@1.0.0
|
||||
geojson-utils@1.0.0
|
||||
html-tools@1.0.0
|
||||
htmljs@1.0.0
|
||||
id-map@1.0.0
|
||||
insecure@1.0.0
|
||||
iron:core@0.1.0
|
||||
iron:middleware-stack@0.1.0
|
||||
iron:url@0.1.0
|
||||
jquery@1.0.0
|
||||
json@1.0.0
|
||||
livedata@1.0.0
|
||||
logging@1.0.0
|
||||
meteor@1.0.0
|
||||
minifiers@1.0.0
|
||||
minimongo@1.0.0
|
||||
mongo-livedata@1.0.1
|
||||
observe-sequence@1.0.0
|
||||
ordered-dict@1.0.0
|
||||
random@1.0.0
|
||||
reactive-dict@1.0.0
|
||||
reload@1.0.0
|
||||
retry@1.0.0
|
||||
routepolicy@1.0.0
|
||||
session@1.0.0
|
||||
spacebars-compiler@1.0.0
|
||||
spacebars@1.0.0
|
||||
standard-app-packages@1.0.0
|
||||
templating@1.0.0
|
||||
ui@1.0.0
|
||||
underscore@1.0.0
|
||||
webapp@1.0.0
|
||||
@@ -0,0 +1,29 @@
|
||||
stack = new Iron.MiddlewareStack;
|
||||
|
||||
printUrls = function (name, thisArg) {
|
||||
console.log('%c***********************', 'color: orange;');
|
||||
console.log("<" + name + "> this.originalUrl: " + JSON.stringify(thisArg.originalUrl));
|
||||
console.log("<" + name + "> this.url: " + JSON.stringify(thisArg.url));
|
||||
console.log('%c***********************', 'color: orange;');
|
||||
};
|
||||
|
||||
stack.push(function m1 () {
|
||||
printUrls('m1', this);
|
||||
this.next();
|
||||
});
|
||||
|
||||
stack.push(function m2 () {
|
||||
printUrls('m2', this);
|
||||
this.next();
|
||||
});
|
||||
|
||||
stack.push('/admin', function adminApp () {
|
||||
printUrls('adminApp', this);
|
||||
}, {mount: true});
|
||||
|
||||
console.log('%cDispatch "/"', 'color: blue;');
|
||||
stack.dispatch('/', {});
|
||||
|
||||
console.log('');
|
||||
console.log('%cDispatch "/admin"', 'color: blue;');
|
||||
stack.dispatch('/admin', {});
|
||||
Reference in new issue
Block a user