jsonresume-theme-eloquent
Advanced tools
Comparing version 0.4.1 to 0.5.0
(function(document, saveAs, smoothScroll, downloadName) { | ||
'use strict'; | ||
if(window.location.protocol.indexOf('http') !== -1) { | ||
if (window.location.protocol.indexOf('http') !== -1) { | ||
// Created before download in order to be JS-modifications-free. | ||
var blob = new Blob(['<!doctype html>' + document.documentElement.outerHTML], {type: 'text/html;charset=utf-8'}); | ||
document.getElementsByClassName('js-download-trigger')[0].style.display = 'block'; | ||
document.getElementById('js-download').addEventListener('click', function () { | ||
saveAs(blob, downloadName); | ||
}); | ||
} | ||
document.getElementById('js-download').addEventListener('click', function () { | ||
saveAs(blob, downloadName); | ||
}); | ||
smoothScroll.init({ | ||
@@ -15,0 +15,0 @@ speed: 300 |
{ | ||
"name": "jsonresume-theme-eloquent", | ||
"version": "0.4.1", | ||
"version": "0.5.0", | ||
"description": "An eloquent JSON Resume theme: fluent, persuasive, for developers. This theme is a fork of the Elegant theme.", | ||
@@ -5,0 +5,0 @@ "author": "Thibaud Colas", |
@@ -8,2 +8,4 @@ jsonresume-theme-eloquent | ||
> See for yourself! — [Demo](http://themes.jsonresume.org/eloquent) | ||
[![NPM](https://nodei.co/npm/jsonresume-theme-eloquent.png?downloads=true&stars=true)](https://www.npmjs.com/package/jsonresume-theme-eloquent) | ||
@@ -21,4 +23,2 @@ | ||
> [Theme demo](http://themes.jsonresume.org/eloquent) | ||
## Get Started | ||
@@ -47,2 +47,4 @@ | ||
- "Print this resume" button? http://css-tricks.com/quick-tip-making-a-print-this-page-button/ | ||
- Minify HTML? https://www.npmjs.com/package/html-minifier | ||
- Switch partials to be loaded on render, livereload without nodemon | ||
@@ -49,0 +51,0 @@ ## LICENSE (ISC) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
104657
660
63
0
17