diff --git a/grails-app/conf/ConsolePluginResources.groovy b/grails-app/conf/ConsolePluginResources.groovy index 30a71bc..ed91dc9 100644 --- a/grails-app/conf/ConsolePluginResources.groovy +++ b/grails-app/conf/ConsolePluginResources.groovy @@ -2,15 +2,15 @@ modules = { 'console' { - resource url: [dir: 'js/CodeMirror-2.23/lib', file: 'codemirror.css', plugin: 'console'] - resource url: [dir: 'css', file: 'jquery.layout.css', plugin: 'console'] - resource url: [dir: 'css', file: 'grails-console.css', plugin: 'console'] + resource url: [dir: 'js/CodeMirror-2.23/lib', file: 'codemirror.css', plugin: 'console'], attrs: [type: 'css'] + resource url: [dir: 'css', file: 'jquery.layout.css', plugin: 'console'], attrs: [type: 'css'] + resource url: [dir: 'css', file: 'grails-console.css', plugin: 'console'], attrs: [type: 'css'] for (name in ['jquery-1.7.1.min', 'jquery-ui-1.8.17.custom.min', 'jquery.layout', 'jquery.Storage', 'jquery.hotkeys', 'CodeMirror-2.23/lib/codemirror', 'CodeMirror-2.23/mode/groovy/groovy', 'grails-console/console']) { - resource url: [dir: 'js', file: name + '.js', plugin: 'console'] + resource url: [dir: 'js', file: name + '.js', plugin: 'console'], attrs: [type: 'js'] } } }