Browse Source

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

Estevao Soares dos Santos 8 years ago
parent
commit
de7c37eaea
5 changed files with 4 additions and 4 deletions
  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,

File diff suppressed because it is too large
+ 0 - 0
dist/showdown.js.map


File diff suppressed because it is too large
+ 1 - 1
dist/showdown.min.js


File diff suppressed because it is too large
+ 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,

Some files were not shown because too many files changed in this diff