New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jsonresume-theme-eloquent

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonresume-theme-eloquent - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

26

assets/scripts/script.js

@@ -1,19 +0,17 @@

(function(document, domready, saveAs, smoothScroll, downloadName) {
(function(document, saveAs, smoothScroll, downloadName) {
'use strict';
domready(function() {
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';
}
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({
speed: 300
});
smoothScroll.init({
speed: 300
});
})(document, window.domready, window.saveAs, window.smoothScroll, window.downloadName);
})(document, window.saveAs, window.smoothScroll, window.downloadName);

@@ -29,3 +29,2 @@ var fs = require('fs');

print: inlineCSS('../assets/styles/print.css'),
domReady: inlineJS('../node_modules/domready/ready.min.js'),
saveAs: inlineJS('../node_modules/browser-saveas/index.js'),

@@ -32,0 +31,0 @@ smoothScroll: inlineJS('../node_modules/smooth-scroll/dist/js/smooth-scroll.min.js'),

{
"name": "jsonresume-theme-eloquent",
"version": "0.4.0",
"version": "0.4.1",
"description": "An eloquent JSON Resume theme: fluent, persuasive, for developers. This theme is a fork of the Elegant theme.",

@@ -28,5 +28,3 @@ "author": "Thibaud Colas",

"browser-saveas": "^1.0.0",
"browser-sync": "^1.8.2",
"csso": "^1.3.11",
"domready": "^1.0.7",
"handlebars": "^2.0.0",

@@ -40,5 +38,3 @@ "moment": "^2.8.4",

"jshint": "^2.5.6",
"jshint-stylish": "^1.0.0",
"nodemon": "^1.2.1",
"resume-cli": "^0.3.11",
"resume-schema": "0.0.15",

@@ -50,5 +46,5 @@ "webfont-dl": "^0.1.1"

"test": "echo 'not implemented yet' && exit 0",
"lint": "jshint --reporter node_modules/jshint-stylish/stylish.js index.js server.js lib/*.js",
"lint": "jshint index.js server.js lib/*.js",
"webfont": "webfont-dl 'https://fonts.googleapis.com/css?family=Open+Sans:400' -o assets/styles/opensans.css --woff1=data --woff2=omit --svg=omit --ttf=omit --eot=omit"
}
}

@@ -46,3 +46,3 @@ jsonresume-theme-eloquent

## LICENSE
## LICENSE (ISC)

@@ -49,0 +49,0 @@ Copyright (c) 2014, Thibaud Colas

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc