entity-convert
Advanced tools
Comparing version 0.0.0 to 0.0.1
@@ -13,3 +13,2 @@ function replacer(mode){ | ||
function replaceBy(mode){ | ||
return function(string){ | ||
@@ -23,3 +22,2 @@ var fn = replacer(mode); | ||
}; | ||
} | ||
@@ -26,0 +24,0 @@ |
{ | ||
"name": "entity-convert", | ||
"version": "0.0.0", | ||
"version": "0.0.1", | ||
"description": "convert all special characters in a string to their corresponding HTML and CSS entities", | ||
"main": "entityconvert.js", | ||
"repository": "https://github.com/m90/entity-convert.git", | ||
"homepage": "https://github.com/m90/entity-convert", | ||
"issues": "https://github.com/m90/entity-convert/issues", | ||
"keywords": [ | ||
@@ -8,0 +10,0 @@ "string", |
@@ -8,3 +8,3 @@ # entityconvert.js | ||
```javascript | ||
require(['entities'], function(entityconvert){ | ||
require(['entityconvert'], function(entityconvert){ | ||
var converted = entityconvert.html('We äll löve Ümläutß!'); | ||
@@ -17,3 +17,3 @@ // => We äll löve Ümläutß! | ||
```javascript | ||
var entityconvert = require('entityconvert'); | ||
var entityconvert = require('entity-convert'); | ||
var converted = entityconvert.css('We äll löve Ümläutß!'); | ||
@@ -20,0 +20,0 @@ // => We \00e4ll l\00f6ve \00dcml\00e4ut\00df! |
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
2291
1