From 869c7f77daf56957d346d2931ab58b2247369624 Mon Sep 17 00:00:00 2001 From: jongmoon Date: Thu, 14 May 2015 18:55:32 +0900 Subject: [PATCH 1/2] refactor (jsdoc) : Change jsdoc dependency from jaguar-jsdoc to egjs-jsdoc-template --- Gruntfile.js | 8 ++------ package.json | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index ff42b03..1dcdbe3 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -56,11 +56,7 @@ module.exports = function(grunt) { }, doc : { files: [ - {expand : true, flatten : true, src: ["assets/jsdoc-plugin/jsdoc/*.js"], dest: "node_modules/grunt-jsdoc/node_modules/jsdoc/plugins"}, - {expand : true, flatten : true, src: ["assets/jsdoc-plugin/template/*.tmpl"], dest: "node_modules/jaguarjs-jsdoc/tmpl"}, - {expand : true, flatten : true, src: ["assets/jsdoc-plugin/jaguarjs-jsdoc/*.*"], dest: "node_modules/jaguarjs-jsdoc/"}, - {expand : true, flatten : true, src: ["assets/jsdoc-plugin/template/*.js"], dest: "node_modules/jaguarjs-jsdoc/static/scripts"}, - {expand : true, flatten : true, src: ["assets/jsdoc-plugin/template/*.css"], dest: "node_modules/jaguarjs-jsdoc/static/styles"} + {expand : true, flatten : true, src: ["node_modules/egjs-jsdoc-template/jsdoc-plugin/*.*"], dest: "node_modules/grunt-jsdoc/node_modules/jsdoc/plugins"} ] } }, @@ -92,7 +88,7 @@ module.exports = function(grunt) { src: ["src/**/*.js", "README.md"], options: { destination: "doc", - template : "node_modules/jaguarjs-jsdoc", + template : "node_modules/jsdoc-template-jsdoc", configure : "jsdoc.json" } } diff --git a/package.json b/package.json index e0d7e47..79d2df8 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "grunt-contrib-watch": "^0.6.1", "grunt-jsdoc": "^0.5.8", "grunt-qunit-istanbul": "^0.4.7", - "jaguarjs-jsdoc": "0.0.1", + "egjs-jsdoc-template": "git+http://ajaxpf:naver@yobi.navercorp.com/Front-End/egjs-jsdoc-template#master", "jshint-stylish": "^1.0.1", "load-grunt-tasks": "^3.1.0", "time-grunt": "^1.1.0" From 799dae72cdd539fef9022464a98a0dc852dddfe3 Mon Sep 17 00:00:00 2001 From: jongmoon Date: Thu, 14 May 2015 19:55:18 +0900 Subject: [PATCH 2/2] Fix (Gruntfile) : Fix jsdoc template name --- Gruntfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index 1dcdbe3..614b8df 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -88,7 +88,7 @@ module.exports = function(grunt) { src: ["src/**/*.js", "README.md"], options: { destination: "doc", - template : "node_modules/jsdoc-template-jsdoc", + template : "node_modules/egjs-jsdoc-template", configure : "jsdoc.json" } }