Skip to content

Commit 68aa5d3

Browse files
committed
Use https for the demo.
1 parent b75e882 commit 68aa5d3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# JavaScript Templates
22

33
## Demo
4-
[JavaScript Templates Demo](http://blueimp.github.io/JavaScript-Templates/)
4+
[JavaScript Templates Demo](https://blueimp.github.io/JavaScript-Templates/)
55

66
## Description
77
< 1KB lightweight, fast & powerful JavaScript templating engine with zero dependencies. Compatible with server-side environments like node.js, module loaders like RequireJS and all web browsers.
@@ -62,7 +62,7 @@ document.getElementById("result").innerHTML = tmpl("tmpl-demo", data);
6262

6363
The following is an example how to use the JavaScript Templates engine on the server-side with [node.js](http://nodejs.org/).
6464

65-
Create a new directory and add the **tmpl.js** file. Or alternatively, install the **blueimp-tmpl** package with [npm](http://npmjs.org/):
65+
Create a new directory and add the **tmpl.js** file. Or alternatively, install the **blueimp-tmpl** package with [npm](https://www.npmjs.org/):
6666

6767
```sh
6868
npm install blueimp-tmpl
@@ -291,7 +291,7 @@ Use **include(str, obj)** to include content from a different template:
291291

292292
```html
293293
<div>
294-
{% include('tmpl-link', {name: "Website", url: "http://example.org"}); %}
294+
{% include('tmpl-link', {name: "Website", url: "https://example.org"}); %}
295295
</div>
296296
```
297297

@@ -319,7 +319,7 @@ Use **include(str, obj)** to include content from a different template:
319319
The JavaScript Templates project comes with a compilation script, that allows you to compile your templates into JavaScript code and combine them with a minimal Templates runtime into one minified JavaScript file.
320320

321321
The compilation script is built for [node.js](http://nodejs.org/) and also requires [UglifyJS](https://github.com/mishoo/UglifyJS).
322-
To use it, first install both the JavaScript Templates project and UglifyJS via [npm](http://npmjs.org/):
322+
To use it, first install both the JavaScript Templates project and UglifyJS via [npm](https://www.npmjs.org/):
323323

324324
```sh
325325
npm install uglify-js
@@ -338,7 +338,7 @@ The files given as command line arguments to **tmpl.js** can either be pure temp
338338
The generated file can be included in your project as a replacement for the original **tmpl.js** runtime. It provides you with the same API and provides a **tmpl(id, data)** function that accepts the id of one of your templates as first and a data object as optional second parameter.
339339

340340
## Tests
341-
The JavaScript Templates project comes with [Unit Tests](http://en.wikipedia.org/wiki/Unit_testing).
341+
The JavaScript Templates project comes with [Unit Tests](https://en.wikipedia.org/wiki/Unit_testing).
342342
There are two different ways to run the tests:
343343

344344
* Open test/index.html in your browser or

0 commit comments

Comments
 (0)