Skip to content

ablschools/chartabl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chartabl

Helpers for our data visualizations.

To add chartable.js to your project, include it in your project with a script tag.

  <script src="https://ablschools.github.io/chartabl/chartabl.min.js"></script>

Making Changes

To make changes to this repository, please open a Pull Request.

Prettier

We use [Prettier](https://prettier.io/) to tighten up our code. You can install with `npm install -g prettier` To _prettify_ your code before committing, use this command
prettier --write chartabl.js

Minification

If you are modifying javascript, make sure to update the minified version of the javascript file as well. We use [UglifyJS](https://github.com/mishoo/UglifyJS). You can then run the following command from the project directory.
uglifyjs --output chartabl.min.js --compress --mangle -- chartabl.js

Testing your changes

Make changes in your text editor of choice in a branch that is *not* `master`. Commit the changes with `git`, and push up the branch using `git push origin your_branch`. Update your `script` tag in your development report with
  <script src="https://raw.githubusercontent.com/ablschools/chartabl/<your_branch>/chartabl.min.js"></script>

And verify the changes work.

About

Helpers for our data visualizations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors