diff --git a/client/Gruntfile.coffee b/client/Gruntfile.coffee index 478a3a2..ea4a998 100644 --- a/client/Gruntfile.coffee +++ b/client/Gruntfile.coffee @@ -44,5 +44,5 @@ module.exports = (grunt) -> grunt.loadNpmTasks('grunt-contrib-clean') # tasks - grunt.registerTask('default', ['bower:install', 'clean', 'coffee:compile']) + grunt.registerTask('default', ['clean', 'coffee:compile']) grunt.registerTask('dev', ['default', 'concurrent:target']) diff --git a/client/coffee/controllers/documentCtrl.coffee b/client/coffee/controllers/documentCtrl.coffee index 36ed69f..6368c0b 100644 --- a/client/coffee/controllers/documentCtrl.coffee +++ b/client/coffee/controllers/documentCtrl.coffee @@ -21,7 +21,7 @@ root.controllers.controller('documentCtrl', ['$scope', '$routeParams', '$locatio url = "#{ url }/idx/#{$routeParams.idx - 1}" else if $routeParams.id url = "#{ url }/_id/#{$routeParams.id}" - + $scope.raw_url = url util.get(url).then((res) -> $scope.doc = res.data.document $scope.meta = res.data.meta diff --git a/client/partials/document.html b/client/partials/document.html index 3b8cd81..d202ff6 100644 --- a/client/partials/document.html +++ b/client/partials/document.html @@ -43,6 +43,6 @@
- took {{enlapsed_time}} seconds + took {{enlapsed_time}} seconds | raw
\ No newline at end of file diff --git a/params.yml b/params.yml index 223f374..88339d4 100644 --- a/params.yml +++ b/params.yml @@ -24,4 +24,4 @@ MongoServers: - name: miaou - url: 192.168.1.10:27017 + url: 192.168.1.11:27017