egjs-jsdoc-template
Advanced tools
Comparing version 1.1.4 to 1.2.0
@@ -27,2 +27,5 @@ { | ||
}, | ||
"link": { | ||
"canonical": ""/*Representative URL*/ | ||
}, | ||
"linenums": true, | ||
@@ -34,4 +37,4 @@ "defaultLanguage" : "ko" | ||
"hardwrap": true, | ||
"tags": ["examples"] | ||
"tags": ["examples", "ko"] | ||
} | ||
} |
/** | ||
* Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod | ||
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam | ||
* **Lorem ipsum dolor sit amet**, consectetur adipisicing elit, sed do eiusmod | ||
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam ![Image](https://s3-us-west-2.amazonaws.com/s.cdpn.io/259451/profile/profile-512_8.jpg) | ||
* | ||
* @authors **Markdown** applied! | ||
* @author **Markdown** applied! | ||
* @classdesc **Markdown** applied! | ||
* @param param **Markdown** applied!<ko>**๋งํฌ๋ค์ด**์ ์ฉ</ko> | ||
* @property property **Markdown** applied!<ko>**๋งํฌ๋ค์ด**์ ์ฉ</ko> | ||
* @returns **Markdown** applied! | ||
* @see **Markdown** applied! | ||
* @throws **Markdown** applied! | ||
* @ko **๋งํฌ๋ค์ด** ์ ์ฉ ![Image](https://s3-us-west-2.amazonaws.com/s.cdpn.io/259451/profile/profile-512_8.jpg) | ||
* @class | ||
@@ -58,3 +68,3 @@ * @codepen {"id":"rVOpPK", "ko":"ํ๋ฆฌํน ๊ธฐ๋ณธ ์์ ", "en":"Flicking default example", "collectionId":"ArxyLK", "height" : 403} | ||
* jaguarjs-doc uses markdown style. | ||
* | ||
* | ||
* ``` | ||
@@ -61,0 +71,0 @@ * var a = 0; |
{ | ||
"name": "egjs-jsdoc-template", | ||
"version": "1.1.4", | ||
"version": "1.2.0", | ||
"description": "egjs template for JSDoc 3", | ||
@@ -5,0 +5,0 @@ "main": "Gruntfile.js", |
@@ -10,2 +10,6 @@ # egjs-jsdoc-template | ||
## ์ ์ฉ ์ฌ๋ก | ||
[egjs API](http://naver.github.io/egjs/latest/doc/) | ||
## ๋ชฉ์ | ||
@@ -12,0 +16,0 @@ 1. ๊ธฐ๋ฅ ๋ฐ UI ๋ฅผ egjs API ๋ฌธ์๋ฅผ ํํํ๋๋ฐ ๋ณด๋ค ์ต์ ํ๋ ํํ๋ก ๋ณ๊ฒฝํ๋ค. |
@@ -5,18 +5,26 @@ $(function () { | ||
// Search Items | ||
if (location.search.replace("?","") === "en" || | ||
(config.defaultLanguage && config.defaultLanguage === "en")) { | ||
$wrap.addClass("toggle"); | ||
} | ||
// initial language | ||
setLanguage(getUserLanguage()); | ||
$langToggle.on("click",function(){ | ||
if ($wrap.hasClass("toggle")) { | ||
$wrap.hasClass("toggle") ? setLanguage("ko") : setLanguage("en"); | ||
}); | ||
function setLanguage(langCode) { | ||
if (langCode.indexOf("ko") === 0) { | ||
//Set Korean | ||
$wrap.removeClass("toggle"); | ||
$langToggle.text("English"); | ||
} else { | ||
//Set English | ||
$wrap.addClass("toggle"); | ||
$langToggle.text("ํ๊ตญ์ด"); | ||
} | ||
}); | ||
localStorage.setItem("egjs-api-language", langCode); | ||
} | ||
function getUserLanguage() { | ||
return localStorage.getItem("egjs-api-language") || navigator.language || ""; | ||
} | ||
$('#search').on('keyup', function (e) { | ||
@@ -47,5 +55,5 @@ var value = $(this).val(); | ||
// Toggle when click an item element | ||
$('.navigation').on('click', '.title', function (e) { | ||
$(this).parent().find('.itemMembers').toggle(); | ||
}); | ||
// $('.navigation').on('click', '.title', function (e) { | ||
// $(this).parent().find('.itemMembers').toggle(); | ||
// }); | ||
@@ -52,0 +60,0 @@ // Show an item related a current documentation automatically |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
646332
2100
50