gerrit/gerrit-plugin-gwtui
Edwin Kempin fc998c4ccf Add 'del' as alias for 'delete' in JavaScript API
'delete' is a keyword in JavaScript and can't be easily used as
function name. E.g. invoking the Gerrit.delete function from RestApi by
  '$wnd.Gerrit.delete'(p, r)
fails on execution with
   "$wnd.Gerrit.delete" is not a function

Because of this at the moment plugins can't do delete calls via the
RestApi class.

Trying to write "'$wnd.Gerrit.delete'(p, r)" as
  $wnd.Gerrit.delete(p, r)
or
  $wnd.Gerrit.'delete'(p, r)
fails already during compilation.

Adding 'del' as an alias allows use to simply invoke
  $wnd.Gerrit.del(p, r)

Change-Id: Idced35f0e27d4a932a7e8d48b0e2b19187bb427c
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
2014-02-03 17:56:39 +01:00
..
src/main Add 'del' as alias for 'delete' in JavaScript API 2014-02-03 17:56:39 +01:00
BUCK Fix the API build 2013-12-06 09:48:11 +00:00