mirror of
https://github.com/wekan/wekan.git
synced 2025-12-22 10:20:14 +01:00
Include to Wekan packages directory contents, so that meteor command would build all directly.
This also simplifies build scripts. Thanks to xet7 !
This commit is contained in:
parent
6117097a93
commit
73e265d8fd
354 changed files with 36977 additions and 106 deletions
9
packages/kadira-flow-router/lib/router.js
Normal file
9
packages/kadira-flow-router/lib/router.js
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
Router.prototype.url = function() {
|
||||
// We need to remove the leading base path, or "/", as it will be inserted
|
||||
// automatically by `Meteor.absoluteUrl` as documented in:
|
||||
// http://docs.meteor.com/#/full/meteor_absoluteurl
|
||||
var completePath = this.path.apply(this, arguments);
|
||||
var basePath = this._basePath || '/';
|
||||
var pathWithoutBase = completePath.replace(new RegExp('^' + basePath + '\/|(\/)'), '');
|
||||
return Meteor.absoluteUrl(pathWithoutBase);
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue