Huge News!Announcing our $40M Series B led by Abstract Ventures.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.7.1 to 0.7.2

9

assets/scripts/script.js

@@ -14,14 +14,7 @@ (function(document, saveAs, smoothScroll, emailScramble, downloadName) {

var mailText = document.querySelectorAll('[data-scrambled-email-text]')[0];
var mailtoLink = document.querySelectorAll('[data-scrambled-email-link]')[0];
var decodedMail = emailScramble.decode(mailtoLink.href.replace('mailto:', ''));
mailtoLink.href = 'mailto:' + decodedMail;
mailText.innerHTML = decodedMail;
mailText.setAttribute('itemprop', 'email');
mailtoLink.href = 'mailto:' + emailScramble.decode(mailtoLink.href.replace('mailto:', ''));
var phoneText = document.querySelectorAll('[data-scrambled-phone-text]')[0];
var phoneLink = document.querySelectorAll('[data-scrambled-phone-link]')[0];
phoneLink.href = 'tel:' + emailScramble.decode(phoneLink.href.replace('tel:', ''));
phoneText.innerHTML = emailScramble.decode(phoneText.innerHTML);
phoneText.setAttribute('itemprop', 'telephone');

@@ -28,0 +21,0 @@ smoothScroll.init({

5

lib/helpers.js

@@ -34,2 +34,7 @@ var Handlebars = require('handlebars');

},
obfuscateText: function(html) {
html = Handlebars.escapeExpression(html || '');
html = html.substring(0, 4) + '<span style="display:none;">1337</span>' + html.substring(4);
return new Handlebars.SafeString(html);
},
scrambleText: function(text) {

@@ -36,0 +41,0 @@ text = Handlebars.escapeExpression(text || '');

{
"name": "jsonresume-theme-eloquent",
"version": "0.7.1",
"version": "0.7.2",
"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",

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