Comments (8)
Why would you be installing this via NPM instead of Bower? The bower branch is where al the dist files are published to, so you should never be linking to the master branch.
from ui-layout.
@jbroquist - The OP answered that question (why NPM) in his original comment, and it's a very good reason. Additionally in my case I use Browserify to package the javascript in my HTML projects (along with Gulp to package the CSS). This works with everything else in the Angular bullpen.
I was very excited to use this package in my projects, but there's no way on Earth I'm going to add a second dependency system and have some deps work one way and other deps work another way just to get it. Other people have to maintain my projects after I'm done writing them, so I don't want to add extra complexity. Bower is so 2013, Grandpa! Please reconsider this.
from ui-layout.
👍
from ui-layout.
@maxkorp - How do you set it to the GitHub path?
from ui-layout.
@alvint see my response in #72
from ui-layout.
@jbroquist - I see! Are there any instructions on the technique @maxkorp mentioned?
from ui-layout.
Sorry, i've been offline a bit.
To reference a specific commit or tag in your package.json so that NPM can just pull it from github, you have to reference owner/repository#oid, so your dependencies in package.json would look like
"dependencies": {
...
"ui-layout": "angular-ui/ui-layout#352bd3c67f2cd5af2be4ab884b91903946409e99",
...
}
where 352bd3c67f2cd5af2be4ab884b91903946409e99
points to the commit where it was upgraded to 1.0.5, in my case. You have to dig around a bit because simply using the tags put up point to the bower branch, which doesnt include the package.json, so you need to use the master branch which leaves it intact. Unfortunately, that doesnt include the build, so you need to manually cd in and build it.
As i said in the issue tagged directly above this comment for ui bootstrap, this is best resolved by adding to the angular-ui publishing platform, but I just haven't had the time.
from ui-layout.
For reference: angular-ui/angular-ui-publisher#3
from ui-layout.
Related Issues (20)
- snap to edge support at reaching certain container size
- resizable parameter
- detecting pane size in pixel after resize HOT 1
- resize panel to contents
- Unable to stop splitter event
- disable animations HOT 1
- Odd problem trying to start ui-layout HOT 2
- Layout not rezized when parent size change HOT 2
- Ui-layout overlaps every other page element. Is not Bootstrap friendly HOT 1
- Horizontal movement of splitbar is not resizing contents HOT 1
- Main window resize
- How to disableToggle for individual splitbar? HOT 2
- splitbar can't stop moving by mousemove
- Add Version Number to source JS file
- Percent sized containers and toggle buttons with some browsers are broken HOT 1
- Percent min-size and max-size should be recalculated on resize
- CHANGELOG.md not up to date HOT 2
- Hiding and then showing the layout doesn't re-calculate offsets properly. HOT 2
- Toggle functionality not working properly
- Resizing doesn't work properly with an iframe
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ui-layout.