Sha256: 88b5a5d34025986d1197ab0baab36f8f54adce07eaf7a171c6d0e97d51c605c7

Contents?: true

Size: 852 Bytes

Versions: 1

Compression:

Stored size: 852 Bytes

Contents

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

  console.log('editor');

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

  client = angular.module('Editor', modules).config([
    'RestangularProvider', '$interpolateProvider', '$locationProvider', function(RestangularProvider, $interpolateProvider, $locationProvider) {
      $interpolateProvider.startSymbol('{[{').endSymbol('}]}');
      RestangularProvider.setBaseUrl("/sedge_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/1PVd0jPS7ztt5PjvNGm8-Gj5QRWVepMT6qqhBG1kzV0.cache