Comments (3)
after allot of searching online i found that you can set the path to famous in the require config. so this actually fixes my problem.
require.config({
paths: {
famous: './vendor/famous'
}
});
But maybe it's still better for dependencies to load relatively from the file that is requiring the dependency
from famous.
Marc. If you take a look at our yeoman generator you will see that we use a
require js config to put all required vendor code I'm a specific file. We
also use a grunt task to automatically add paths to any bower installed
vendor libs
On Apr 20, 2014 4:10 AM, "Marc van der Meulen" [email protected]
wrote:
after allot of searching online i found that you can set the path to
famous in the require config. so this actually fixes my problem.require.config({
paths: {
famous: './vendor/famous'
}});But maybe it's still better for dependencies to load relatively from the
file that is requiring the dependency—
Reply to this email directly or view it on GitHubhttps://github.com//issues/35#issuecomment-40892708
.
from famous.
@marcvdm I'm going to close this issue for right now but feel free to keep the discussion happening.
Part of the architectural decision here regarding non relative paths is that the library is going to eventually be modularized and deployed via a custom package manager. I highly suggest taking a look at the yeoman generator as a way to start famous projects, although I completely understand if you think that tool chain is not for you.
from famous.
Related Issues (20)
- Very bad performance for ScrollView on Android/Cordova HOT 9
- whats happening? HOT 9
- ScrollView breaks when surface content is modified by a third party like Angular. HOT 1
- Using ViewSequence.splice can mess up the internal linked-list HOT 1
- When will "mixed mode" be released? HOT 1
- Utility.clone issue HOT 1
- CORS issue w/ Picasa and slideshow demo HOT 1
- Stress test - Bad performance in Firefox only HOT 1
- FlexibleLayout subview not hidden when its ratio is 0 HOT 1
- Howto build famous without fastclick? HOT 3
- Scroll HOT 2
- Animation Smoothness issue in mobile devices. HOT 1
- mixed mode - native overflow scrolling with famous (+flex view) HOT 4
- Blank homepage of university HOT 1
- Where can we find the docs to the old 0.3.5 version HOT 1
- Weird issues with absolute positioning, movement, and changeContent on iOS HOT 1
- GridView HOT 1
- dev console and CTRL+C HOT 2
- Scrolling problem when height of blocks is less than container height (stuck at the bottom) HOT 2
- What if all the famo.us objects are native ?
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 famous.