Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 0 additions & 47 deletions dist/css/propeller.css
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
8 changes: 6 additions & 2 deletions dist/js/propeller.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down Expand Up @@ -95,6 +95,10 @@ var observeDOM = (function () {
})();

$(document).ready(function () {
$.propellerkit();
});

$.propellerkit = function() {
observeDOM(document.querySelector('body'), function (mutations) {

processMutation(0);
Expand Down Expand Up @@ -171,7 +175,7 @@ $(document).ready(function () {
return false;
}
});
});
};


/**
Expand Down