Orchard.UI.Resources.RequireSettings displayed when adding jquery

Topics: Customizing Orchard
Feb 1, 2013 at 5:22 PM
I have added the following code for to use JQuery to my Layout.cshtml file, and it causes Orchard.UI.Resources.RequireSettings to display twice at the top of the page.
@{ 
    @Script.Require("jQuery")
    @Script.Require("jQueryUI")
}
I googled for the error, and I check the forums here, and the only thing I saw was to add the @{...} around it. I have done that, and I still get the message appearing. What am I doing wrong??

Thanks!
Coordinator
Feb 10, 2013 at 9:22 PM
Lose the @ in front of each line.