nitweb: move doc-down model to doc-down module
[nit.git] / share / nitweb / javascripts / model.js
index eaa86b5..13f5e7f 100644 (file)
                        }
                }])
 
-               .factory('DocDown', [ '$http', function($http) {
-                       return {
-                               postMarkdown: function(md, cb, cbErr) {
-                                       $http.post(apiUrl + '/docdown', md)
-                                               .success(cb)
-                                               .error(cbErr);
-                               }
-                       }
-               }])
-
                .factory('Metrics', [ '$http', function($http) {
                        return {
                                loadStructuralMetrics: function(id, cb, cbErr) {