This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
function isNumberOnly(evt) { | |
var charCode = (evt.which) ? evt.which : evt.keyCode; | |
//console.log(charCode); | |
if(charCode == 110 || charCode == 190) { | |
return true; | |
} | |
if (charCode != 46 && charCode > 31 | |
&& (charCode < 48 || charCode > 57 && charCode < 96 || charCode > 105)) { | |
evt.preventDefault(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- CSS will cascade the fill or stroke through the shapes, as long as there are no presentational fill attributes on the shapes themselves --> | |
<apex:component layout="none"> | |
<svg xmlns="http://www.w3.org/2000/svg" class="hide"> | |
<symbol id="chevron" viewBox="0 0 15.5 39.5"> | |
<polygon points="15.5,19.8 10.2,19.8 0,0 5.2,0 "/> | |
<polygon points="15.5,19.8 10.2,19.8 0,39.5 5.2,39.5 "/> | |
</symbol> | |
</svg> | |
</apex:component> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## generic files to ignore | |
*~ | |
*.lock | |
*.DS_Store | |
*.swp | |
*.out | |
## SASS files | |
*.sass-cache | |
*.css.map |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[data-style=help-popover] + .popover { | |
margin-left:-20px; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a data-toggle="popover" class="popper" data-placement="top">Link</a> | |
<div class="popover-content hide"> | |
<!-- Content --> | |
</div |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<apex:variable var="count" value="{!0}" /> | |
<apex:repeat> | |
<div id="{!count}">...</div> | |
<apex:variable value="{!count+1}" var="count"/> | |
</apex:repeat> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// <base> is nice, but it ruins anchors.. | |
// Let us rebuild him | |
$(document).ready(function() { | |
var pathname = window.location.href.split('#')[0]; | |
$('a[href^="#"]').each(function() { | |
var $this = $(this), | |
link = $this.attr('href'); | |
$this.attr('href', pathname + link); | |
}); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require('gulp'), | |
plumber = require('gulp-plumber'), | |
rename = require('gulp-rename'); | |
autoprefixer = require('gulp-autoprefixer'), | |
concat = require('gulp-concat'), | |
uglify = require('gulp-uglify'), | |
pugInheritance = require('gulp-pug-inheritance'), | |
pug = require('gulp-pug'), | |
//imagemin = require('gulp-imagemin'), | |
cache = require('gulp-cache'), |