Quellcode durchsuchen

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

Estevao Soares dos Santos vor 8 Jahren
Ursprung
Commit
de7c37eaea
5 geänderte Dateien mit 4 neuen und 4 gelöschten Zeilen
  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,

Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 0
dist/showdown.js.map


Datei-Diff unterdrückt, da er zu groß ist
+ 1 - 1
dist/showdown.min.js


Datei-Diff unterdrückt, da er zu groß ist
+ 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,

Einige Dateien werden nicht angezeigt, da zu viele Dateien in diesem Diff geändert wurden.