Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export FlowRouter so it can be used outside modules #122

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .versions
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,21 @@ It exposes a great API for changing the URL and getting data from the URL. Howev
## Install

```shell
meteor add ostrio:flow-router-extra
meteor add jessedev:flow-router-extra
```

### ES6 Import

```js
import { FlowRouter } from 'meteor/ostrio:flow-router-extra';
import { FlowRouter } from 'meteor/jessedev:flow-router-extra';
// Full list of available classes and instances:
// { FlowRouter, Router, Route, Group, Triggers, BlazeRenderer, RouterHelpers }
```

### Usage

```js
import { FlowRouter } from 'meteor/ostrio:flow-router-extra';
import { FlowRouter } from 'meteor/jessedev:flow-router-extra';

// DISABLE QUERY STRING COMPATIBILITY
// WITH OLDER FlowRouter AND Meteor RELEASES
Expand Down Expand Up @@ -118,6 +118,6 @@ MONGO_URL="mongodb://127.0.0.1:27017/flow-router-tests" meteor test-packages ./
- Upload and share files using [☄️ meteor-files.com](https://meteor-files.com/?ref=github-flowrouter-repo-footer) — Continue interrupted file uploads without losing any progress. There is nothing that will stop Meteor from delivering your file to the desired destination
- Use [▲ ostr.io](https://ostr.io?ref=github-flowrouter-repo-footer) for [Server Monitoring](https://snmp-monitoring.com), [Web Analytics](https://ostr.io/info/web-analytics?ref=github-flowrouter-repo-footer), [WebSec](https://domain-protection.info), [Web-CRON](https://web-cron.info) and [SEO Pre-rendering](https://prerendering.com) of a website
- Star on [GitHub](https://github.com/veliovgroup/flow-router)
- Star on [Atmosphere](https://atmospherejs.com/ostrio/flow-router-extra)
- Star on [Atmosphere](https://atmospherejs.com/jessedev/flow-router-extra)
- [Sponsor via GitHub](https://github.com/sponsors/dr-dimitru)
- [Support via PayPal](https://paypal.me/veliovgroup)
2 changes: 1 addition & 1 deletion client/route.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ class Route {
} else {
wait(128);
waitFails++;
Meteor._debug('[ostrio:flow-router-extra] [route.wait] Promise not resolved', error);
Meteor._debug('[jessedev:flow-router-extra] [route.wait] Promise not resolved', error);
}
});
} else {
Expand Down
128 changes: 0 additions & 128 deletions docs/README.md

This file was deleted.

31 changes: 0 additions & 31 deletions docs/api/README.md

This file was deleted.

29 changes: 0 additions & 29 deletions docs/api/current.md

This file was deleted.

41 changes: 0 additions & 41 deletions docs/api/decodeQueryParamsOnce.md

This file was deleted.

18 changes: 0 additions & 18 deletions docs/api/getParam.md

This file was deleted.

17 changes: 0 additions & 17 deletions docs/api/getQueryParam.md

This file was deleted.

19 changes: 0 additions & 19 deletions docs/api/getRouteName.md

This file was deleted.

23 changes: 0 additions & 23 deletions docs/api/go.md

This file was deleted.

Loading