diff --git a/dist/css/propeller.css b/dist/css/propeller.css index 6bedefa..a640930 100644 --- a/dist/css/propeller.css +++ b/dist/css/propeller.css @@ -1,50 +1,3 @@ -/*! - * Propeller v1.3.1 (http://propeller.in/) - * Copyright 2016-2018 Digicorp, Inc - * Licensed under MIT (http://propeller.in/LICENSE) - */ -@font-face { - font-family: "Roboto"; - font-style: normal; - font-weight: 100; - - src: url("../fonts/roboto/Roboto-Thin-webfont.eot?") format("eot"), url("../fonts/roboto/Roboto-Thin-webfont.woff") format("woff"), url("../fonts/roboto/Roboto-Thin-webfont.ttf") format("truetype"), url('../fonts/roboto/Roboto-Thin-webfont.svg#str-replace("Roboto", " ", "_")') format("svg"); -} -@font-face { - font-family: "Roboto"; - font-style: normal; - font-weight: 300; - - src: url("../fonts/roboto/Roboto-Light-webfont.eot?") format("eot"), url("../fonts/roboto/Roboto-Light-webfont.woff") format("woff"), url("../fonts/roboto/Roboto-Light-webfont.ttf") format("truetype"), url('../fonts/roboto/Roboto-Light-webfont.svg#str-replace("Roboto", " ", "_")') format("svg"); -} -@font-face { - font-family: "Roboto"; - font-style: normal; - font-weight: 400; - - src: url("../fonts/roboto/Roboto-Regular-webfont.eot?") format("eot"), url("../fonts/roboto/Roboto-Regular-webfont.woff") format("woff"), url("../fonts/roboto/Roboto-Regular-webfont.ttf") format("truetype"), url('../fonts/roboto/Roboto-Regular-webfont.svg#str-replace("Roboto", " ", "_")') format("svg"); -} -@font-face { - font-family: "Roboto"; - font-style: normal; - font-weight: 500; - - src: url("../fonts/roboto/Roboto-Medium-webfont.eot?") format("eot"), url("../fonts/roboto/Roboto-Medium-webfont.woff") format("woff"), url("../fonts/roboto/Roboto-Medium-webfont.ttf") format("truetype"), url('../fonts/roboto/Roboto-Medium-webfont.svg#str-replace("Roboto", " ", "_")') format("svg"); -} -@font-face { - font-family: "Roboto"; - font-style: normal; - font-weight: 700; - - src: url("../fonts/roboto/Roboto-Bold-webfont.eot?") format("eot"), url("../fonts/roboto/Roboto-Bold-webfont.woff") format("woff"), url("../fonts/roboto/Roboto-Bold-webfont.ttf") format("truetype"), url('../fonts/roboto/Roboto-Bold-webfont.svg#str-replace("Roboto", " ", "_")') format("svg"); -} -@font-face { - font-family: "Roboto"; - font-style: normal; - font-weight: 900; - - src: url("../fonts/roboto/Roboto-Black-webfont.eot?") format("eot"), url("../fonts/roboto/Roboto-Black-webfont.woff") format("woff"), url("../fonts/roboto/Roboto-Black-webfont.ttf") format("truetype"), url('../fonts/roboto/Roboto-Black-webfont.svg#str-replace("Roboto", " ", "_")') format("svg"); -} /*! * Propeller v1.3.1 (http://propeller.in): typography.css * Copyright 2016-2018 Digicorp, Inc. diff --git a/dist/js/propeller.js b/dist/js/propeller.js index 00f242e..836366a 100644 --- a/dist/js/propeller.js +++ b/dist/js/propeller.js @@ -15,7 +15,7 @@ var commons = function () { function commons() {} commons.attachParentSelector = function (parentSelector, defaultSelector) { var customSelector = defaultSelector; - if (parentSelector !== '' && parentSelector.length > 0) { + if (parentSelector && parentSelector !== '' && parentSelector.length > 0) { if (parentSelector === defaultSelector) { customSelector = defaultSelector; } else if ($(parentSelector).hasClass(defaultSelector)) { @@ -95,6 +95,10 @@ var observeDOM = (function () { })(); $(document).ready(function () { + $.propellerkit(); +}); + +$.propellerkit = function() { observeDOM(document.querySelector('body'), function (mutations) { processMutation(0); @@ -171,7 +175,7 @@ $(document).ready(function () { return false; } }); -}); +}; /**