Skip to content
This repository has been archived by the owner on Jul 1, 2019. It is now read-only.

ubenzer/ui-bootstrap

Repository files navigation

AngularJS directives specific to Bootstrap

No Maintenance Intended

Current fork status

Modal is in 0.12.1 because 0.13.0 version of modal is f.cked up in Angular 1.4.x. Everything is in 0.13.0 Datepicker is completely forked and not watched.

Updating from upstream and making changes

Setting up for the first time

  1. Clone this repository.
  2. npm install

Before updating upstream & making changes

master contains the latest upstream upstream-stable contains the lastest upstream stable release lmaster contains our changes merged into upstream-stable. THIS IS WHERE YOU NEED TO WORK IN!

  1. git checkout master Change to master branch
  2. git pull upstream master Update master from the original source
  3. git fetch upstream --tags Update stable relases from the original source
  4. git tag See a list of stable relases (use the latest if possible)
  5. git checkout -B upstream-stable 0.11.0 Overwrite the latest stable into upstream-stable branch.
  6. git checkout lmaster Change to the branch you'll work in.
  7. git pull origin lmaster Update lmaster from our repository.
  8. git merge upstream-stable Merge latest ui-bootstrap changed into our modifications if necessary and needed.

Before committing changes

  1. grunt jshint Make sure that the changes you made follows the standarts.
  2. grunt html2js Merge templates into JavaScript files.
  3. grunt build:dropdown:modal:tooltip:progressbar:tabs:timepicker:collapse:buttons:popover:datepicker Build the modules which you want. Please update this line, if you add other module, people will copy/paste this.

A script stub to easily test it with Connect.

#!/bin/bash

cd BOOTSTRAP_FOLDER
grunt jshint
grunt html2js
grunt build:dropdown:modal:tooltip:progressbar:tabs:buttons:popover:datepicker:timepicker
cp dist/ui-bootstrap-custom-tpls-0.13.0.js CONNECT_FOLDER/ui/lib/angular/ui-bootstrap-tpls.js
cp dist/ui-bootstrap-custom-tpls-0.13.0.min.js CONNECT_FOLDER/ui/lib/angular/ui-bootstrap-tpls.min.js