https://github.com/redhataccess/labs_lib
https://github.com/redhataccess/labs_lib
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/redhataccess/labs_lib
- Owner: redhataccess
- License: apache-2.0
- Created: 2017-01-09T02:39:24.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-04T09:40:40.000Z (about 9 years ago)
- Last Synced: 2026-04-21T00:46:06.461Z (2 months ago)
- Language: JavaScript
- Size: 43 KB
- Stars: 1
- Watchers: 21
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# packaged labs_lib
Directives and services for Labs apps in the Labs space for rapid iteration.
# Installation
```
bower install https://github.com/redhataccess/labs_lib.git#
```
# Usage
# Rails app
Add a `` to your `index.html`:
```html
<script src="/bower_components/labs_lib/lib-loader.js">
```
# NodeJS app
Add labs_lib files to your Gruntfile.js so that they can be loaded.
```
'<%= yeoman.client %>/bower_components/labs_lib/**/*.js',
'!<%= yeoman.client %>/bower_components/labs_lib/lib-loader.js'
'{.tmp,<%= yeoman.client %>}/bower_components/labs_lib/**/*.js',
'!{.tmp,<%= yeoman.client %>}/bower_components/labs_lib/lib-loader.js'
```
# Module Usage
Refer to README of each folder for usage of each module.