Sha256: bdfa5771ecfb254292fc927081fe9770d9367217b63c39ac60c32e858e48c407

Contents?: true

Size: 814 Bytes

Versions: 1

Compression:

Stored size: 814 Bytes

Contents

I""(function() {
  var client, modules;

  console.log('editor');

  modules = ['restangular', 'summernote', 'ui.tree'];

  client = angular.module('Editor', modules).config([
    'RestangularProvider', '$interpolateProvider', function(RestangularProvider, $interpolateProvider) {
      $interpolateProvider.startSymbol('{[{').endSymbol('}]}');
      RestangularProvider.setBaseUrl("/alchemy_api");
      return RestangularProvider.setRequestInterceptor(function(element, operation, route, url) {
        var retElem, wrapper;
        retElem = element;
        if (operation === "post" || operation === "put") {
          wrapper = {};
          wrapper[route.substring(0, route.length - 1)] = element;
          retElem = wrapper;
        }
        return retElem;
      });
    }
  ]);

}).call(this);
:ET

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sedge_cms-0.0.1 test/dummy/tmp/cache/assets/development/sprockets/v3.0/0lTZXE61MOIoo4VcxAaiZS2Cy1qW0duOOJIh3-_ZbVY.cache