FamousArchives / generator-famous

for those who hate doing things once
123 stars 26 forks source link

DeviceView.js is missing #34

Closed shahzadns closed 10 years ago

shahzadns commented 10 years ago

Hi, i can not require the "./DeviceView" //var DeviceView = require('./DeviceView');

it throws an error 404 not found. Uncaught Error: Script error for: DeviceView http://requirejs.org/docs/errors.html#scripterror

MylesBorins commented 10 years ago

The device view does not come included with the generator project. What are you trying to do?

On Jun 14, 2014, at 2:18 AM, Shahzad Soomro notifications@github.com wrote:

Hi, i can not require the "./DeviceView" //var DeviceView = require('./DeviceView');

it throws an error 404 not found. Uncaught Error: Script error for: DeviceView http://requirejs.org/docs/errors.html#scripterror

— Reply to this email directly or view it on GitHub.

shahzadns commented 10 years ago

thank you for your reply. i was trying to create a demo using iphone and ipad dummy. tell me can i put DeviceView.js file in my project manually ?

MylesBorins commented 10 years ago

Indeed, just place it inside of src if you want to include it as (‘DeviceView)

Everything in the src directory is available with require, it is the root in require config.

On Jun 14, 2014, at 3:58 AM, Shahzad Soomro notifications@github.com wrote:

hank you for your reply. i was trying to create a demo using iphone and ipad dummy. tell me can i put DeviceView.js file in my project manually ?

— Reply to this email directly or view it on GitHub.

shahzadns commented 10 years ago

cool ! from where can i get the DeviceView.js file of Famo.us ?

shupac commented 10 years ago

Sorry Shahzad,

DeviceView is a custom widget developed for internal use. We may eventually release it as part of the platform api but for now feel free to build your own.

Shu

On Sat, Jun 14, 2014 at 4:01 AM, Shahzad Soomro notifications@github.com wrote:

cool ! where can i get the DeviceView.js file ?

— Reply to this email directly or view it on GitHub https://github.com/Famous/generator-famous/issues/34#issuecomment-46084876 .

shahzadns commented 10 years ago

oh man then we will be waiting for that :) thank you both of you ! take care.

PaulBaugher commented 10 years ago

+1 Would be really nice for quick prototyping!

fabiobiondi commented 10 years ago

I would like to use the DeviceView too. Please release it : ) Thank you very much

binoymathew commented 10 years ago

u can create a DeviceView.js for famo using the command yo famous:view DeviceView. Its working fine for me. Check it out!!!

binoymathew commented 10 years ago

need help?? reach me @ binoyyoungman@gmail.com

amirmata commented 9 years ago

Did anyone manage to get the DeviceView.js I am trying to follow the OBJLoader tutorial and it looks like I can't go any further without it!

MylesBorins commented 9 years ago

this repo is deprecated.

the generator was created for the old version of famous. please follow the instructions in the tutorial and clone the appropriate repo associated with the lesson. On Aug 7, 2015 4:20 AM, "amirmata" notifications@github.com wrote:

Did anyone manage to get the DeviceView.js I am trying to follow the OBJLoader tutorial and it looks like I can't go any further without it!

— Reply to this email directly or view it on GitHub https://github.com/FamousArchives/generator-famous/issues/34#issuecomment-128637313 .