You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 19, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+48-44Lines changed: 48 additions & 44 deletions
Original file line number
Diff line number
Diff line change
@@ -13,59 +13,63 @@ Authored by Mike Grabski @HackedByChinese <me@mikegrabski.com>
13
13
Licensed under [MIT](http://www.opensource.org/licenses/mit-license.php)
14
14
15
15
## Requirements
16
-
* Angular 1.2.0 or later (earlier might be possible but not tested).
16
+
* Angular 1.2.0 or later.
17
17
18
18
## What NgIdle Does
19
19
Check out the Overview in the wiki.
20
20
21
+
## Getting Help / "How do I..."
22
+
23
+
I know a lot of GH projects give you the basics on the README and don't bother with a wiki. I assure you [our wiki is fully operational](https://github.com/HackedByChinese/ng-idle/wiki) and documents the full API. Before opening an issue asking me how to do something, please stop by the wiki first; I'll probably just end up linking you to your answer in the wiki anyways :wink:.
24
+
21
25
## Getting Started
22
26
23
27
Include `angular-idle.js` after `angular.js`. You can install using Bower with this command: `bower install --save ng-idle`.
// start watching when the app runs. also starts the Keepalive service by default.
71
+
Idle.watch();
72
+
});
69
73
70
74
You may use `Keepalive` and `Idle` independently if you desire, but they are contained in the same script.
71
75
@@ -83,7 +87,7 @@ Contributors are welcome. I use the `git-flow` lifecyle, so `master` is the stab
83
87
84
88
## Developing
85
89
86
-
You will need Node/NPM, Grunt, and Bower. Once you checkout from git, run `npm install`. This will install all dev and bower dependencies so you can immediately build and test your working copy.
90
+
You will need Node/NPM and Grunt (don't forget `grunt-cli`). Once you checkout from git, run `npm install`. This will install all dev and bower dependencies so you can immediately build and test your working copy.
87
91
88
92
### Building
89
93
You can build the module by running `grunt build`.
0 commit comments