- restructured input files
- sorted gulpfile and separated old stuff
- next up are node module updates
This commit is contained in:
Stephan 2018-05-26 14:29:50 +02:00
parent 8bc8da74db
commit ce6597b6d1
53 changed files with 216 additions and 285 deletions

View file

@ -1,4 +1,4 @@
'use strict';
"use strict";
function setup() {
if($('#js_tph').length && full_view_hover) {

View file

@ -1,4 +1,4 @@
'use strict';
"use strict";
// DOM ready
// ------------------------------------------------------------------------------
@ -22,9 +22,9 @@ $( document ).ready(function() {
function() {
var $this = $(this);
if($(this).attr("emmet")){
}
// if($(this).attr("emmet")){
//
// }
$(this).next(".exp_pop").show();
}, function() {
@ -47,11 +47,11 @@ $( document ).ready(function() {
$(".exp_help_btn").click(function(e){
var $wrap, $pop;
if(exp_mode != true){
if(exp_mode !== true){
exp_mode = true;
$(".js_pop").each(function(i, e){
if($(this).css("position") == "static") {
if($(this).css("position") === "static") {
$(this).addClass("js_changed_pos");
$(this).css("position", "relative");
}
@ -70,7 +70,7 @@ $( document ).ready(function() {
$(this).after($pop);
if($(this).hasClass("js_changed_pos")){
$(this).css("position", "");
if($(this).attr("style") == "") {
if($(this).attr("style") === "") {
$(this).removeAttr("style");
}
$(this).removeClass("js_changed_pos");
@ -112,14 +112,14 @@ $( document ).ready(function() {
var i = 0;
$( ".pass-def dd" ).each(function() {
$( this ).find( "li" ).each(function( index ) {
if ( 0 == $( this ).children( "ul" ).length ) {
if ( 0 === $( this ).children( "ul" ).length ) {
//console.log( index + ": " + $( this ).text() );
var tempContent = $( this ).html();
//$( this ).html( "<span class=\"list-count\"></span>" );
$( this ).html( tempContent +"<span class=\"list-count\">"+ i +"</span>" );
i++;
}
})
});
});

View file

@ -1,4 +1,4 @@
'use strict';
"use strict";
var w = Math.max(document.documentElement.clientWidth, window.innerWidth || 0);
var h = Math.max(document.documentElement.clientHeight, window.innerHeight || 0);