Skip to content

izzappel/twigs

 
 

Repository files navigation

Twigs

"And Calimero was a hatchling no more - old enough to build his own nest..."

Twigs is a library of useful Services and Directives for AngularJS applications. It evolved out of the Hatch project.

Status

Branch Status
master Build Status
develop Build Status

Quickstart

  1. Add twigs as a dependency to your bower.json.
"dependencies": {
  "angular": "~1.2.12",
  "twigs": "0.1.0"
 }
  1. run bower install

  2. Reference the twigs modules you want to use in your angular module's declaration.

 var App = angular.module('MyApp',['twigs']);
  1. Reference the needed files in your index.html
  <head>
  <!-- include twigs css for twigs.globalPopups -->
  <!-- after bootstrap.css and before yourOwn.css -->
  <link rel="stylesheet" href="components/twigs/dist/styles/twigs.css">
  </head>

  <body>
  <!-- here goes your app/markup -->

  <!-- include angular -->
  <script src="components/angular/angular.js"></script>
  <!-- include twigs -->
  <script src="components/twigs/dist/twigs.js"></script>
  </body>

Docu

Development Info

  1. check out the code
  2. run npm install
  3. run grunt test:unit

Create a new twigs release

(this tutorial is only relevant for twigs core developers)

  1. merge your changes into master
  2. change version number in bower.json { "name": "twigs", "version": "0.1.4.1", ...
  3. grunt build
  4. comit the version number and dist folder
  5. run grunt docu if the docu changed
  6. comit the new docu to master and "gh-pages" branch
  7. push gh-pages branch
  8. push master
  9. create new release on github
  10. make sure that all branches (i.e. hotfix and develop) have at least the version of your new release

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 92.2%
  • CSS 7.6%
  • Other 0.2%