1.1.1
This is a utility to map each version of the Web Literacy Map to a set of machine-readable tags.
The goal of this repository is to:
src/weblitmap.json
npm install
grunt generate
dist/weblitmap_strings.{{version}}.json
npm version {{version}}
grunt build
dist/web-literacy-client.with-langs.js
TODO: Including locale/ json files
locale/
bower install web-literacy-client var wlc = new WebLiteracyClient(); wlc.lang('fr'); wlc.all(); wlc.term(someTag); wlc.description(someTag);
npm install web-literacy-client var WebLiteracyClient = require('web-literacy-client'); var wlc = new WebLiteracyClient(); wlc.lang('fr'); wlc.all(); wlc.term(someTag); wlc.description(someTag);
bower install to install quint and example dependencies. See tests/ to run unit tests. See examples/ for a node and browser example.
bower install
tests/
examples/
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
Web Literacy Client
This is a utility to map each version of the Web Literacy Map to a set of machine-readable tags.
The goal of this repository is to:
Creating a new version
src/weblitmap.json. Make sure you update the version number.npm install, and thengrunt generate. This will createdist/weblitmap_strings.{{version}}.json, a Transifex-compatible file.npm version {{version}}.Downloading new locales
grunt builddist/web-literacy-client.with-langs.jswill be generated. Hurray!Integrating the Web Literacy Map with your localized app
TODO: Including
locale/json filesUsing the web literacy client in the browser
Using the web literacy client in node
Tests and Examples
bower installto install quint and example dependencies. Seetests/to run unit tests. Seeexamples/for a node and browser example.