[ 2 posts ]

Chevalric

  • Joined: Tue Aug 24, 2010 1:19 am
  • Posts: 7
  • Offline
  • Profile

How to create dependent custom modules

Post Posted: Tue Apr 24, 2012 7:22 am
+0-
I'm trying to build an app based on the YUI App Framework and to keep things maintainable, I want to split it across multiple modules/files. E.g.:

Example

Click here to see the revision history on this Gist.

However, this doesn't seem to be working. The code fails in the project-view file on the
Code:
new Y.MyModel()

declaration.

I'm still pretty new to YUI, so I might be doing it wrong, but I can't seem to find the right way to do this. From looking at some gallery examples, it should work. Can anyone point me in the right direction?

Chevalric

  • Joined: Tue Aug 24, 2010 1:19 am
  • Posts: 7
  • Offline
  • Profile

Re: How to create dependent custom modules

Post Posted: Tue Apr 24, 2012 9:56 am
+0-
Never mind, after taking a break and testing the code above, I realized I made a mistake in the original code. Silly me!
  [ 2 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum