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

chore(build): make custom builds work (from browser) #2892

Closed
wants to merge 8 commits into from

Conversation

chrisirhc
Copy link
Contributor

Online demo: http://chrisirhc.github.io/angular-ui-bootstrap/

I'll clean up the commit messages in a bit.

Most of this is based on Twitter Bootstrap's in-browser custom build logic.

What's left:

  • Show message when browser doesn't support custom builds
  • Speed up initial page load by loading custom build JavaScript files last

Fixes #2960, #2847, #2625, #2489, #2357, #2176.

chrisirhc added a commit to chrisirhc/angular-ui-bootstrap that referenced this pull request Oct 27, 2014
chrisirhc added a commit to chrisirhc/angular-ui-bootstrap that referenced this pull request Nov 14, 2014
chrisirhc added a commit to chrisirhc/angular-ui-bootstrap that referenced this pull request Nov 14, 2014
@chrisirhc chrisirhc closed this in 390f2bf Nov 14, 2014
OronNadiv pushed a commit to lanetix/bootstrap that referenced this pull request Nov 18, 2014
Use approach from Twitter Bootstrap. Most of the code is from their customizer.

- use modules in mappings file
- generate concatenated JS
- generate tpl and non-tpl file with banner
- generate zip file for custom builds
- add browser compatibility message
- speed up page by deferring loading of files
- only load the files when needed. Cache them after they're loaded.

Fixes angular-ui#2960
Fixes angular-ui#2847
Fixes angular-ui#2625
Fixes angular-ui#2489
Fixes angular-ui#2357
Fixes angular-ui#2176
Closes angular-ui#2892
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ui.bootstrap.dropdown Failed to instantiate
1 participant