jsonresume-theme-eloquent
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -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
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
7
5
2
103520
20
633
1
- Removedbrowser-sync@^1.8.2
- Removeddomready@^1.0.7
- Removedaccepts@1.3.31.3.8(transitive)
- Removedafter@0.8.2(transitive)
- Removedarraybuffer.slice@0.0.6(transitive)
- Removedasync@1.5.2(transitive)
- Removedaxios@0.19.0(transitive)
- Removedbacko2@1.0.2(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbase64-arraybuffer@0.1.5(transitive)
- Removedbase64id@1.0.0(transitive)
- Removedbatch@0.6.1(transitive)
- Removedbetter-assert@1.0.2(transitive)
- Removedblob@0.0.4(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedbrowser-sync@1.9.2(transitive)
- Removedbrowser-sync-client@1.0.2(transitive)
- Removedcallsite@1.0.0(transitive)
- Removedcamelcase@3.0.0(transitive)
- Removedcamelcase-keys@1.0.0(transitive)
- Removedcliui@3.2.0(transitive)
- Removedcode-point-at@1.1.0(transitive)
- Removedcommander@2.20.3(transitive)
- Removedcomponent-bind@1.0.0(transitive)
- Removedcomponent-emitter@1.1.21.2.1(transitive)
- Removedcomponent-inherit@0.0.3(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedconnect@3.7.0(transitive)
- Removedcookie@0.1.50.3.1(transitive)
- Removeddebug@2.2.02.3.32.6.94.1.1(transitive)
- Removeddepd@1.1.22.0.0(transitive)
- Removeddestroy@1.2.0(transitive)
- Removeddev-ip@0.1.71.0.1(transitive)
- Removeddomready@1.0.8(transitive)
- Removedeasy-extender@2.3.4(transitive)
- Removedeazy-logger@2.1.3(transitive)
- Removedee-first@1.1.1(transitive)
- Removedemitter-steward@0.0.1(transitive)
- Removedencodeurl@1.0.22.0.0(transitive)
- Removedengine.io@1.8.5(transitive)
- Removedengine.io-client@1.8.6(transitive)
- Removedengine.io-parser@1.3.2(transitive)
- Removederror-ex@1.3.2(transitive)
- Removedescape-html@1.0.3(transitive)
- Removedetag@1.8.1(transitive)
- Removedeventemitter3@4.0.7(transitive)
- Removedfinalhandler@1.1.2(transitive)
- Removedfind-up@1.1.2(transitive)
- Removedfollow-redirects@1.15.91.5.10(transitive)
- Removedfoxy@7.1.0(transitive)
- Removedfresh@0.5.2(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedgaze@0.5.2(transitive)
- Removedget-caller-file@1.0.3(transitive)
- Removedget-stdin@4.0.1(transitive)
- Removedglob@3.1.21(transitive)
- Removedglob-watcher@0.0.7(transitive)
- Removedglobule@0.1.0(transitive)
- Removedgraceful-fs@1.2.34.2.11(transitive)
- Removedhas-binary@0.1.7(transitive)
- Removedhas-cors@1.1.0(transitive)
- Removedhasown@2.0.2(transitive)
- Removedhosted-git-info@2.8.9(transitive)
- Removedhttp-errors@1.6.32.0.0(transitive)
- Removedhttp-proxy@1.18.1(transitive)
- Removedimmutable@3.8.2(transitive)
- Removedindent-string@1.2.2(transitive)
- Removedindexof@0.0.1(transitive)
- Removedinherits@1.0.22.0.32.0.4(transitive)
- Removedinvert-kv@1.0.0(transitive)
- Removedis-arrayish@0.2.1(transitive)
- Removedis-buffer@2.0.5(transitive)
- Removedis-core-module@2.16.1(transitive)
- Removedis-finite@1.1.0(transitive)
- Removedis-fullwidth-code-point@1.0.0(transitive)
- Removedis-utf8@0.2.1(transitive)
- Removedisarray@0.0.1(transitive)
- Removedjson3@3.3.2(transitive)
- Removedlcid@1.0.0(transitive)
- Removedload-json-file@1.1.0(transitive)
- Removedlocaltunnel@1.9.2(transitive)
- Removedlodash@1.0.22.2.12.4.23.10.14.17.21(transitive)
- Removedlodash._baseclone@4.5.7(transitive)
- Removedlodash.clonedeep@4.3.1(transitive)
- Removedlru-cache@2.7.3(transitive)
- Removedmap-obj@1.0.1(transitive)
- Removedmeow@2.1.0(transitive)
- Removedmime@1.6.0(transitive)
- Removedmime-db@1.52.0(transitive)
- Removedmime-types@2.1.35(transitive)
- Removedminimatch@0.2.142.0.10(transitive)
- Removedminimist@1.2.8(transitive)
- Removedms@0.7.10.7.22.0.02.1.3(transitive)
- Removednegotiator@0.6.10.6.3(transitive)
- Removednormalize-package-data@2.5.0(transitive)
- Removednumber-is-nan@1.0.1(transitive)
- Removedobject-assign@2.1.14.1.0(transitive)
- Removedobject-component@0.0.3(transitive)
- Removedobject-path@0.8.10.9.2(transitive)
- Removedon-finished@2.3.02.4.1(transitive)
- Removedopenurl@1.1.1(transitive)
- Removedopn@1.0.2(transitive)
- Removedopt-merger@1.1.1(transitive)
- Removedoptions@0.0.6(transitive)
- Removedos-locale@1.4.0(transitive)
- Removedparse-json@2.2.0(transitive)
- Removedparsejson@0.0.3(transitive)
- Removedparseqs@0.0.5(transitive)
- Removedparseuri@0.0.5(transitive)
- Removedparseurl@1.3.3(transitive)
- Removedpath-exists@2.1.0(transitive)
- Removedpath-parse@1.0.7(transitive)
- Removedpath-type@1.1.0(transitive)
- Removedpify@2.3.0(transitive)
- Removedpinkie@2.0.4(transitive)
- Removedpinkie-promise@2.0.1(transitive)
- Removedportscanner@1.2.0(transitive)
- Removedportscanner-plus@0.2.1(transitive)
- Removedq@1.5.1(transitive)
- Removedrange-parser@1.2.1(transitive)
- Removedread-pkg@1.1.0(transitive)
- Removedread-pkg-up@1.0.1(transitive)
- Removedrepeating@1.1.3(transitive)
- Removedrequire-directory@2.1.1(transitive)
- Removedrequire-main-filename@1.0.1(transitive)
- Removedrequires-port@1.0.0(transitive)
- Removedresolve@1.22.10(transitive)
- Removedresp-modifier@1.0.2(transitive)
- Removedsemver@5.7.2(transitive)
- Removedsend@0.19.0(transitive)
- Removedserve-index@1.9.1(transitive)
- Removedserve-static@1.16.2(transitive)
- Removedset-blocking@2.0.0(transitive)
- Removedsetprototypeof@1.1.01.2.0(transitive)
- Removedsigmund@1.0.1(transitive)
- Removedsocket.io@1.7.4(transitive)
- Removedsocket.io-adapter@0.5.0(transitive)
- Removedsocket.io-client@1.7.4(transitive)
- Removedsocket.io-parser@2.3.1(transitive)
- Removedspdx-correct@3.2.0(transitive)
- Removedspdx-exceptions@2.5.0(transitive)
- Removedspdx-expression-parse@3.0.1(transitive)
- Removedspdx-license-ids@3.0.21(transitive)
- Removedstatuses@1.5.02.0.1(transitive)
- Removedstring-width@1.0.2(transitive)
- Removedstrip-bom@2.0.0(transitive)
- Removedsupports-preserve-symlinks-flag@1.0.0(transitive)
- Removedtfunk@3.1.0(transitive)
- Removedto-array@0.1.4(transitive)
- Removedtoidentifier@1.0.1(transitive)
- Removedua-parser-js@0.7.40(transitive)
- Removedultron@1.0.2(transitive)
- Removedunpipe@1.0.0(transitive)
- Removedutils-merge@1.0.1(transitive)
- Removedvalidate-npm-package-license@3.0.4(transitive)
- Removedwhich-module@1.0.0(transitive)
- Removedwrap-ansi@2.1.0(transitive)
- Removedws@1.1.5(transitive)
- Removedwtf-8@1.0.0(transitive)
- Removedxmlhttprequest-ssl@1.6.3(transitive)
- Removedy18n@3.2.2(transitive)
- Removedyargs@6.6.0(transitive)
- Removedyargs-parser@4.2.1(transitive)
- Removedyeast@0.1.2(transitive)