Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

fix for GRAILS-9834 '<g:external> : media="screen, projector" but should be media="screen, projection"' #329

Open
wants to merge 1 commit into from

1 participant

Yasuharu Nakano
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Feb 12, 2013
Yasuharu Nakano nobeans fix for GRAILS-9834 '<g:external> : media="screen, projector" but sho…
…uld be media="screen, projection"'
93dbfe6
This page is out of date. Refresh to see the latest.
2  grails-plugin-gsp/src/main/groovy/org/codehaus/groovy/grails/plugins/web/taglib/ApplicationTagLib.groovy
@@ -273,7 +273,7 @@ class ApplicationTagLib implements ApplicationContextAware, InitializingBean, Gr
273 273 }
274 274
275 275 static SUPPORTED_TYPES = [
276   - css:[type:"text/css", rel:'stylesheet', media:'screen, projector'],
  276 + css:[type:"text/css", rel:'stylesheet', media:'screen, projection'],
277 277 js:[type:'text/javascript', writer:'js'],
278 278
279 279 gif:[rel:'shortcut icon'],
4 grails-test-suite-web/src/test/groovy/org/codehaus/groovy/grails/web/taglib/ApplicationTagLibTests.groovy
@@ -741,7 +741,7 @@ class ApplicationTagLibTests extends AbstractGrailsTagTests {
741 741 assertOutputEquals '<script src="/js/main.js" type="text/javascript"></script>\r\n', template
742 742
743 743 template = '<g:external uri="/css/style.css"/>'
744   - assertOutputEquals '<link href="/css/style.css" type="text/css" rel="stylesheet" media="screen, projector"/>\r\n', template
  744 + assertOutputEquals '<link href="/css/style.css" type="text/css" rel="stylesheet" media="screen, projection"/>\r\n', template
745 745
746 746 template = '<g:external uri="/css/print.css" media="print"/>'
747 747 assertOutputEquals '<link href="/css/print.css" type="text/css" rel="stylesheet" media="print"/>\r\n', template
@@ -755,7 +755,7 @@ class ApplicationTagLibTests extends AbstractGrailsTagTests {
755 755 assertOutputEquals '<script src="/js/main.js?requestDataValueProcessorParamName=paramValue" type="text/javascript"></script>\r\n', template
756 756
757 757 template = '<g:external uri="/css/style.css"/>'
758   - assertOutputEquals '<link href="/css/style.css?requestDataValueProcessorParamName=paramValue" type="text/css" rel="stylesheet" media="screen, projector"/>\r\n', template
  758 + assertOutputEquals '<link href="/css/style.css?requestDataValueProcessorParamName=paramValue" type="text/css" rel="stylesheet" media="screen, projection"/>\r\n', template
759 759
760 760 template = '<g:external uri="/css/print.css" media="print"/>'
761 761 assertOutputEquals '<link href="/css/print.css?requestDataValueProcessorParamName=paramValue" type="text/css" rel="stylesheet" media="print"/>\r\n', template

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.