743a8aeb997927c12219a415f84423c5ba9e2dfb.svn-base
1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# {%= name %}
{%= description %}
## Getting Started
### On the server
Install the module with: `npm install {%= name %}`
```javascript
var {%= js_safe_name %} = require('{%= name %}');
{%= js_safe_name %}.awesome(); // "awesome"
```
### In the browser
Download the [production version][min] or the [development version][max].
[min]: https://raw.github.com/{%= git_user %}/{%= git_repo %}/master/dist/{%= name %}.min.js
[max]: https://raw.github.com/{%= git_user %}/{%= git_repo %}/master/dist/{%= name %}.js
In your web page:
```html
<script src="dist/{%= name %}.min.js"></script>
<script>
awesome(); // "awesome"
</script>
```
In your code, you can attach {%= name %}'s methods to any object.
```html
<script>
this.exports = Bocoup.utils;
</script>
<script src="dist/{%= name %}.min.js"></script>
<script>
Bocoup.utils.awesome(); // "awesome"
</script>
```
## Documentation
_(Coming soon)_
## Examples
_(Coming soon)_
## Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [grunt](http://gruntjs.com/).
_Also, please don't edit files in the "dist" subdirectory as they are generated via grunt. You'll find source code in the "lib" subdirectory!_
## Release History
_(Nothing yet)_
## License
Copyright (c) {%= grunt.template.today('yyyy') %} {%= author_name %}
Licensed under the {%= licenses.join(', ') %} license{%= licenses.length === 1 ? '' : 's' %}.