ember-frost-table
v5.0.1
Published
A simple table component
Downloads
40
Readme
ember-frost-table
| Dependencies | Health | Security | Observer | | ------------ | ------ | -------- | -------- | | | | | | | | | | |
Installation
ember install ember-frost-table
API and Examples
Detailed API and example usage can be found in the sample application in tests/dummy
,
which is also running at http://ciena-frost.github.io/ember-frost-table
Testing with ember-hook
This addon has been optimized for use with ember-hook.
You can set a hook
name on your table template. This will allow you to access the internal table content for testing.
Development
Setup
Fork the repo.
Then clone from your fork.
git clone [email protected]:<your-account-name-here>/ember-frost-table.git
cd ember-frost-table
Add a remote for the upstream repo.
git remote add upstream [email protected]:ciena-frost/ember-frost-table.git
Create a branch for your work
git checkout -b my-awesome-feature
Install deps
npm install && bower install
Coding
A dummy application for development is available under ember-frost-table/tests/dummy
.
To run the server run ember server
(or npm start
) from the root of the repository and
visit the app at http://localhost:4200.
Then, write some code
<code> the awesome feature </code>
Save your work (early and often)
git add <the files you touched>
git commit
Push your changes to your fork (early and often)
git push origin my-awesome-branch
Testing
Run npm test
from the root of the project to run linting checks as well as execute the test suite
and output code coverage. This will make sure you didn't break anything else.
Now, don't forget to add tests for the new feature/bugfix you just added.
<code> tests for the awesome feature </code>
You can also run tests as you code and as you write more tests by running the development server in test mode
ember s -e test
and then visiting http://localhost:4200/tests.
Contributing
Once you're all done, submit a pull request. Thanks for the contribution :smile: