From 6edfd95fba131e8e0ae8c559a8719c7033f1ab61 Mon Sep 17 00:00:00 2001 From: Moos Date: Fri, 31 May 2019 06:19:46 -0700 Subject: [PATCH] fix cdn link --- README.md | 4 ++-- samples/cdn/index.html | 2 +- samples/index.html | 5 ++++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5785d1e..219216f 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Version 1.x is a major update with no direct dependence on [natural's](https://g > ~~**CAUTION** The WordNet database [wordnet-db](https://github.com/moos/wordnet-db) comprises [155,287 words](https://wordnet.princeton.edu/documentation/wnstats7wn) (3.0 numbers) which uncompress to over **30 MB** of data in several *un*[browserify](https://github.com/substack/node-browserify)-able files. It is *not* meant for the browser environment.~~ -:zap: v2.x can work in browsers -- to try it out `npm i wordpos@beta` or [see it in action](https://moos.github.io/wordpos). See below for usage. +:zap: v2.x can work in browsers -- to try it out `npm i wordpos@beta` or [see it in action](https://moos.github.io/wordpos/cdn). See below for usage. ## Installation @@ -298,7 +298,7 @@ Note that callback receives full arguments (including profile, if enabled), whil v2.0 introduces the capability of running wordpos in the browser. The dictionary files are optimized for fast access (lookup by lemma), but they must be fetched, parsed and loaded into browser memory. The files are loaded on-demand (unless the option `preload: true` is given). -The dict files can be served locally or from CDN (see [samples/cdn](samples/cdn/) for code, or [see it in action](https://moos.github.io/wordpos)). Include the following scripts in your `index.html`: +The dict files can be served locally or from CDN (see [samples/cdn](samples/cdn/) for code, or [see it in action](https://moos.github.io/wordpos/cdn)). Include the following scripts in your `index.html`: ```html