CloudServices/Sync/FxSync/Developer/ClientAPI: Difference between revisions

Jump to navigation Jump to search
Line 68: Line 68:
Depending of what type of data you're working with, you might already have GUIDs built into your data that you can make use of.  If not, you may have to invent your own mapping from data objects to GUIDs.  In this case, you will probably find the <tt>makeGUID()</tt> function (in Utils) useful:
Depending of what type of data you're working with, you might already have GUIDs built into your data that you can make use of.  If not, you may have to invent your own mapping from data objects to GUIDs.  In this case, you will probably find the <tt>makeGUID()</tt> function (in Utils) useful:


  Cu.import("resource://servies-sync/util.js");
  Cu.import("resource://services-sync/util.js");
  // ...
  // ...
  let newGuid = Utils.makeGUID();
  let newGuid = Utils.makeGUID();
canmove, Confirmed users
725

edits

Navigation menu