Joined October 2012
·
Posted to
Using Backbone with RequireJS
over 1 year
ago
Using the shim like this totally works, but I had better luck using the AMD-enabled fork of Backbone: https://github.com/amdjs/backbone
This allows you to skip the shim stuff entirely and load Backbone just like a normal AMD module.
Lest you be concerned, @jrburke has been totally on the ball and consistently releasing the AMD fork shortly after each non-AMD Backbone release.
Posted to
Get the color of current iPhone (untested yet)
over 1 year
ago
Use with caution, while a neat trick, this sounds like a great way to get your app rejected!
Achievements
206 Karma
6,063 Total ProTip Views

Beaver
Have at least one original repo where go is the dominant language

Forked 20
Have an established project that's been forked at least 20 times

Lemmings 100
Write something great enough to have at least 100 watchers of the project

Forked
Have a project valued enough to be forked by someone else

Kona
Have at least one original repo where CoffeeScript is the dominant language

Nephila Komaci
Have at least one original repos where PHP is the dominant language

Nephila Komaci 3
Have at least three original repos where PHP is the dominant language

Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos

Charity
Fork and commit to someone's open source project in need

Mongoose
Have at least one original repo where Ruby is the dominant language
Done! Thanks for the suggestion @bobz