From d32035a62ecf8365ede84cb068ac4e63aae08a4a Mon Sep 17 00:00:00 2001 From: npmcdn-to-unpkg-bot Date: Thu, 8 Sep 2016 18:41:53 +0100 Subject: [PATCH] Replace npmcdn.com with unpkg.com --- englishLangUsage.js | 2 +- noclass.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/englishLangUsage.js b/englishLangUsage.js index 27c013b..32691d1 100644 --- a/englishLangUsage.js +++ b/englishLangUsage.js @@ -121,7 +121,7 @@ function admin(input){ function addSources(){ var nlpSrc = document.createElement('script'); - nlpSrc.setAttribute('src', 'https://npmcdn.com/nlp_compromise@latest/builds/nlp_compromise.min.js'); + nlpSrc.setAttribute('src', 'https://unpkg.com/nlp_compromise@latest/builds/nlp_compromise.min.js'); document.head.appendChild(nlpSrc); } function partOfSpeech(input){ diff --git a/noclass.js b/noclass.js index 8565937..11a8d9f 100644 --- a/noclass.js +++ b/noclass.js @@ -163,7 +163,7 @@ function whatThink(input){ } function addSources(){ var nlpSrc = document.createElement('script'); - nlpSrc.setAttribute('src', 'https://npmcdn.com/nlp_compromise@latest/builds/nlp_compromise.min.js'); + nlpSrc.setAttribute('src', 'https://unpkg.com/nlp_compromise@latest/builds/nlp_compromise.min.js'); document.head.appendChild(nlpSrc); } addModule(avocad);