Comparing version 1.1.0 to 1.2.0
{ | ||
"name": "echotag", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Simple & fast ES6 templates with no special syntax or transpilation", | ||
"homepage": "https://github.com/vlucas/echotag", | ||
"url": "https://github.com/vlucas/echotag", | ||
"main": "index.js", | ||
@@ -7,0 +8,0 @@ "scripts": { |
@@ -34,3 +34,3 @@ # echotag.js - Simple ES6 Templates | ||
```javascript | ||
const tmpl = require('echotag/tmpl'); | ||
const tmpl = require('echotag').tmpl; | ||
@@ -54,3 +54,3 @@ let content = tmpl`<div>Hello World!</div>`; | ||
```javascript | ||
const tmpl = require('echotag/tmpl'); | ||
const tmpl = require('echotag').tmpl; | ||
@@ -77,3 +77,3 @@ let world = 'World'; | ||
```javascript | ||
const tmpl = require('echotag/tmpl'); | ||
const tmpl = require('echotag').tmpl; | ||
@@ -98,3 +98,3 @@ let world = '<blink>World</blink>'; | ||
```javascript | ||
const tmpl = require('echotag/tmpl'); | ||
const tmpl = require('echotag').tmpl; | ||
@@ -136,3 +136,3 @@ function layout(params = {}) { | ||
```javascript | ||
const tmpl = require('echotag/tmpl'); | ||
const tmpl = require('echotag').tmpl; | ||
@@ -161,3 +161,3 @@ let data = [ | ||
const express = require('express'); | ||
const tmpl = require('echotag/tmpl'); | ||
const tmpl = require('echotag').tmpl; | ||
@@ -164,0 +164,0 @@ // Setup Express.js |
'use strict'; | ||
const tmpl = require('../tmpl.js'); | ||
const tmpl = require('../src/tmpl.js'); | ||
@@ -5,0 +5,0 @@ describe('Rendering HTML', function () { |
'use strict'; | ||
const tmpl = require('../tmpl.js'); | ||
const tmpl = require('../src/tmpl.js'); | ||
@@ -5,0 +5,0 @@ describe('Rendering parameters with HTML in them', function () { |
10506
9
153