google-nomulus/java/google/registry/ui
guyben cdcd5c2a0e Remove the "create" funtion from the Resource JS class
The original thought was that the actions you can do on a resource is:
- create it
- read it
- update it

(I guess you should have "delete" as well, but that isn't currently there)

Although we use "read" and "update", we never use "create". So having it goes against the YAGNI principle :)

Also, it had a bug: when sending a "create", the opt_newId in send_() would
permanentily change the uri of the request, causing any subsequent request to
go to the wrong endpoint.

By removing the "create" we can simplify the rest of the code (the send_() function).

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=213029499
2018-09-14 21:29:57 -04:00
..
assets/images Delete all Braintree code 2018-07-14 01:37:03 -04:00
css Delete all Braintree code 2018-07-14 01:37:03 -04:00
epptmpl mv com/google/domain/registry google/registry 2016-05-13 18:55:08 -04:00
externs Update Nomulus to build with bazel 0.16.0 2018-08-10 13:46:48 -04:00
forms Use java-8 functionals in FormFields 2018-04-23 14:56:18 -04:00
html Run buildifier on codebase to format BUILD files 2016-11-28 18:15:21 -05:00
js Remove the "create" funtion from the Resource JS class 2018-09-14 21:29:57 -04:00
server Wrap ModulesService in new AppEngineServiceUtils 2018-08-10 13:44:25 -04:00
soy Fix mismatched parenthesis in domain.soy 2018-07-14 01:37:03 -04:00
BUILD Delete all Braintree code 2018-07-14 01:37:03 -04:00
compile_test.js Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
conformance_proto.txt mv com/google/domain/registry google/registry 2016-05-13 18:55:08 -04:00
ConsoleDebug.java Delete all Braintree code 2018-07-14 01:37:03 -04:00
globals.txt Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
package-info.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00