coreRuntime/src/sc/sync/SyncManager.java
public static boolean applySyncLayer(String language, String data, String detail) {
      boolean anyChanges = false;
      for (SyncManager syncManager:syncManagers) {
         // TODO: validate that language and syncDestination.receiveLanguage match?
         if (syncManager.syncDestination.applySyncLayer(data, language, null, false, detail))
            anyChanges = true;
      }
      return anyChanges;
   }
/** Used from the generated code for the browser to apply a sync layer to the default destination */
Used from the generated code for the browser to apply a sync layer to the default destination
Used from the generated code for the browser to apply a sync layer to the default destination
public static boolean applySyncLayer(String language, String data, String detail) {
      boolean anyChanges = false;
      for (SyncManager syncManager:syncManagers) {
         if (syncManager.syncDestination.applySyncLayer(data, language, null, false, detail))
            anyChanges = true;
      }
      return anyChanges;
   }
public static boolean applySyncLayer ( String language , String data , String detail ) { boolean anyChanges = false ; for ( SyncManager syncManager : syncManagers ) { if ( syncManager . syncDestination . applySyncLayer ( data , language , null , false , detail ) ) anyChanges = true ; } return anyChanges ; }
Used from the generated code for the browser to apply a sync layer to the default destination
Used from the generated code for the browser to apply a sync layer to the default destination
// TODO: validate that language and syncDestination.receiveLanguage match?