-
Notifications
You must be signed in to change notification settings - Fork 207
Is brick compatible with requirejs/alameda? #83
Comments
Try this:
On 13-10-11 05:45 PM, Aras Balali Moghaddam wrote:
|
thanks for the quick reply bardu. I gave that a shot, but it made no difference. Any other ideas please let me know! |
Did you require('brick'); ? Aras Balali Moghaddam notifications@github.com wrote:
|
I tried that as well, but still could not get it to work. You can checkout ~ Aras On Fri, Oct 11, 2013 at 9:08 PM, bardu notifications@github.com wrote:
|
@arasbm I'll look at this today and let you know if I figure out a way to get this working. |
@potch thanks for looking into this.
So as far as I can tell that should not be the problem. If you find any other leads let me know. I look forward to see what you'll find. |
any update on this issue? |
Sorry about the delay on this, been working on the skinning. Will play with the minimal repo today and see if I can't chase down why brick is not loading. |
Hi,
I am trying to use brick in an app that uses alameda. I create a minimal app to test compatibility with the AMD library: https://github.com/arasbm/privileged-fxos-cub
I have a couple of components in the index page for testing. When I include brick.js direcrltly in the html page they work. I then tried to include brick with alameda like this:
then inside app.js I include brick like this
Now when I run the app the app in the simulator, unlike before, the components do not load properly (see screenshot). I can see in the debugger that brick.js has been loaded.
I am a new to both brick and AMD, so this could very much be a silly mistake on my side. But it seems to me that something is broken when brick is loaded asynchronously. If you are using brick with an AMD library I would appreciate some advice. Otherwise, if you think this is a bug, lets try to find the issue.
The text was updated successfully, but these errors were encountered: