Эх сурвалжийг харах

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

Estevao Soares dos Santos 8 жил өмнө
parent
commit
de7c37eaea

+ 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,

Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно