sproutcore / abbot

SproutCore Build Tools [deprecated]
http://www.sproutcore.com
88 stars 44 forks source link

sc_require("en.lproj/file")? #19

Closed ghost closed 13 years ago

ghost commented 13 years ago

Strangely sc_require() doesn't work when I want to require a file in the folder en.lproj.

sc_require("en.lproj/file")

It works perfectly when I use other folders eg. views.

Is the "dot" making it impossible to require?

/Johnny

charlesjolley commented 13 years ago

Just use sc_require("file") - sproutcore will pick the proper localized folder on its own