JordyPouw / michelangelo

kss-node living styleguide theme.
http://jordypouw.github.io/michelangelo/
MIT License
52 stars 22 forks source link

Doesn't work with jquery-migrate #4

Closed ghost closed 6 years ago

ghost commented 6 years ago

Adding the line "https://code.jquery.com/jquery-migrate-1.2.1.js", to my kss-config file caused the markup samples to render without markup.

kss-config.json

{
  "title": "Styleguide Title",
  "mask": "*.less",
  "source": "./less/",
  "placeholder": "[modifier]",
  "destination": "styleguide/",
  "builder": "./node_modules/michelangelo/kss_styleguide/custom-template/",
  "homepage": "../kss-homepage.md",
  "css": [
    "../css/styles.css"
  ],
  "js" : [
    "https://code.jquery.com/jquery-migrate-1.2.1.js",
    "../js/scripts.js"
  ]
}

typography.less

// Lead
//
// Markup:
// <p class="lead">
//   Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.
// </p>
//
// Weight: 2
//
// Style guide: Typography.Lead

Expected Result: without-migrate

Actual Result: with-migrate