소스 검색

fix(options): fix ghCompatibleHeaderId that was set as string instead of boolean

Estevao Soares dos Santos 8 년 전
부모
커밋
de7c37eaea
5개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 2
      dist/showdown.js
  2. 0 0
      dist/showdown.js.map
  3. 1 1
      dist/showdown.min.js
  4. 0 0
      dist/showdown.min.js.map
  5. 1 1
      src/options.js

+ 2 - 2
dist/showdown.js

@@ -1,4 +1,4 @@
-;/*! showdown 30-12-2016 */
+;/*! showdown 06-01-2017 */
 (function(){
 /**
  * Created by Tivie on 13-07-2015.
@@ -26,7 +26,7 @@ function getDefaultOpts(simple) {
     ghCompatibleHeaderId: {
       defaultValue: false,
       describe: 'Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)',
-      type: 'string'
+      type: 'boolean'
     },
     headerLevelStart: {
       defaultValue: false,

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/showdown.js.map


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/showdown.min.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/showdown.min.js.map


+ 1 - 1
src/options.js

@@ -24,7 +24,7 @@ function getDefaultOpts(simple) {
     ghCompatibleHeaderId: {
       defaultValue: false,
       describe: 'Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)',
-      type: 'string'
+      type: 'boolean'
     },
     headerLevelStart: {
       defaultValue: false,

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.