You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

effects.js 481B

12345678910111213141516171819
  1. /**
  2. * Created by robin on 4/22/16.
  3. */
  4. (function()
  5. {
  6. angular.module("appSdk").factory("EffectsDataAccess", ['luticateRequest', function (luticateRequest) {
  7. var DataAccess = {};
  8. var entry_point = "/api/effects/";
  9. DataAccess.apply = function(data, promise)
  10. {
  11. return luticateRequest.post(entry_point + data.effect + "/apply", {data: JSON.stringify(data)}, null, promise);
  12. };
  13. return DataAccess;
  14. }])
  15. })();