i also think it's up to the development team to decide how they want to develop (inline-scripts vs. no inline-scripts). sometimes inline-scripts make things easier. having a choice is good anyways.
still, do you think it is worth moving the requriejs specific inline-scripts into a dynamically generated js file? On Wed, Feb 5, 2014 at 9:49 AM, Lance Java <lance.j...@googlemail.com>wrote: > Kristian, I'm still not sure you get the need for the inline script / > JavaScriptSupport. > > Let's consider a Google map component with markers on it. > > With inline scripts, we can include the empty div and the markers in a > single request. > > Without inline scripts you would need to either: > > 1. Include the markers in the markup somehow using data attributes or > hidden html elements and then use a selector to populate the Google map > with markers as it loads > > 2. Fire an AJAX request to get the markers. > > Option 1 can get a bit messy and option 2 has a delay. I don't think we > need to deprecate javascriptsupport. I like having an option 3 :) >