Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var path = "/public" + filename;
- var finalPath = "/pentaho/api/repos/" + decodeURIComponent(path) +
- "/content?ts=" + new Date().getTime();
- $http
- .get(finalPath)
- .success(function(data, status) {
- deferred.resolve(data);
- })
- .error(function(data, status) {
- // callback(data,status)
- deferred.reject(data);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement