dpinol / closure-templates

Automatically exported from code.google.com/p/closure-templates
Apache License 2.0
0 stars 0 forks source link

Error: "--shouldProvideRequireJsFunctions" is not a valid option #57

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
compile with --shouldProvideRequireJsFunctions on

What is the expected output? What do you see instead?
it should compile

What version of the product are you using? On what operating system?
latest version, window

Please provide any additional information below.

Original issue reported on code.google.com by kyawt...@gmail.com on 10 Apr 2012 at 9:27

GoogleCodeExporter commented 8 years ago
This is not an error. --shouldProvideRequireJsFunctions is an old deprecated 
option and has been removed. Please use --shouldProvideRequireSoyNamespaces 
instead.

Original comment by kai.hu...@gmail.com on 11 Apr 2012 at 6:08

GoogleCodeExporter commented 8 years ago
Thanks, though I prefer something like shouldProvideRequireJsFunctions.

Original comment by kyawt...@gmail.com on 12 Apr 2012 at 1:15

GoogleCodeExporter commented 8 years ago
If it is deprecated, please remove it from your documentation:
https://developers.google.com/closure/templates/docs/javascript_usage

Original comment by jasonlmc...@gmail.com on 12 Apr 2012 at 6:44

GoogleCodeExporter commented 8 years ago
imo, shouldProvideRequireJsFunctions sounds awesome.  I was hoping that my 
templates would be generated as amd modules, rather than global namespacing, 
and me having to wrap them as modules myself. 

Original comment by jasonlmc...@gmail.com on 12 Apr 2012 at 6:48

GoogleCodeExporter commented 8 years ago
Yes, exactly with Jason. 

Original comment by kyawt...@gmail.com on 13 Apr 2012 at 1:59

GoogleCodeExporter commented 8 years ago
Jason and others interested, I did submit a patch at 
http://code.google.com/p/closure-templates/issues/detail?id=29, but I think it 
might be out of date for the latest release of closure templates.  If it 
doesn't work anymore, let me know and I'll take a look into updating it.

Original comment by jamonter...@gmail.com on 23 Apr 2012 at 9:32