angular-html5
Advanced tools
Comparing version 0.1.1 to 0.2.0
The MIT License (MIT) | ||
Copyright (©) 2014 Gilad Peleg | ||
Copyright ©2014 Gilad Peleg | ||
@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of |
{ | ||
"name": "angular-html5", | ||
"description": "Change your ng-attributes to data-ng-attributes for html5 validation", | ||
"version": "0.1.1", | ||
"version": "0.2.0", | ||
"engines": { | ||
@@ -20,4 +20,4 @@ "node": ">=0.10.0" | ||
"scripts": { | ||
"watchTest": "mocha -R spec --watch", | ||
"test": "mocha" | ||
"watch": "mocha -R spec --watch ./tests/test.js", | ||
"test": "mocha -R spec ./tests/test.js" | ||
}, | ||
@@ -38,5 +38,5 @@ "keywords": [ | ||
"devDependencies": { | ||
"mocha": "^1.20.1", | ||
"should": "^4.0.1" | ||
"mocha": "*", | ||
"should": "*" | ||
} | ||
} |
@@ -73,3 +73,3 @@ # angular-html5 | ||
if (needsReplace) { | ||
str = htmlify.replace(str); //--> returns modified string with transofrmed attributes | ||
str = htmlify.replace(str); //--> returns the modified string with transformed attributes | ||
} | ||
@@ -80,14 +80,8 @@ ``` | ||
### [Gulp](https://github.com/gulpjs/gulp) | ||
#### [Gulp](https://github.com/gulpjs/gulp) - See [gulp-angular-htmlify](https://github.com/pgilad/gulp-angular-htmlify) | ||
See [gulp-angular-htmlify](https://github.com/pgilad/gulp-angular-htmlify) | ||
#### [Grunt](http://gruntjs.com/) - ?? | ||
### [Grunt](http://gruntjs.com/) | ||
#### [Broccoli](https://github.com/broccolijs/broccoli) - ?? | ||
?? | ||
### [Broccoli](https://github.com/broccolijs/broccoli) | ||
?? | ||
## API | ||
@@ -99,3 +93,3 @@ | ||
### methods | ||
### API Methods | ||
@@ -124,3 +118,3 @@ #### test | ||
### params | ||
### API Params | ||
@@ -131,2 +125,6 @@ `params` is an object that contains the following settings: | ||
**Type**: `Array` | ||
**Default**: `[ ]` | ||
An array to optionally add custom prefixes to the list of converted directives. | ||
@@ -140,7 +138,3 @@ | ||
**Type**: `Array` | ||
**Default**: `[ ]` | ||
**Usage**: | ||
**Example Usage:** | ||
```js | ||
@@ -147,0 +141,0 @@ var str = require('angular-html5')({customPrefixes: ['ui-']}).replace(oldStr); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7004
141