Skip to content

Commit 94b923a

Browse files
committed
removed dependencies, included types.js and strings.js
1 parent 5318a6b commit 94b923a

File tree

9 files changed

+1765
-143
lines changed

9 files changed

+1765
-143
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
words.js
22
========
33

4-
Only 5.7Kb minified (depends on strings.js), words.js is a toolbox for manipulating words from a space seperated string.
5-
Great for text input or command-line parsing, educational tools, word-games, text filters, password generators, etc..
4+
words.js is a toolbox for manipulating the words in a string. Great for handling command-line or text input,
5+
educational tools, word-games, text filters, password generators, etc..
66
<br/>
77

88
**a few quick examples:**
@@ -43,7 +43,6 @@ console.log( words.startsWith('Words.startsWith searches') );
4343
// more examples below in the API
4444
```
4545
__________________________________
46-
**words.js depends on, and extends strings.js**, so, for browser use: load strings.js before words.js in your index.html.
4746

4847
Most methods overload strings.js methods, only to focus on words rather than characters.
4948
Where in strings.js you use shuffle to randomly reorder the characters in a string, in words.js the overloaded
@@ -71,9 +70,6 @@ var Strings= Words.Strings;
7170
```
7271
___
7372

74-
types.js, strings.js and words.js are a very powerful set of building blocks that can make the life of a Javascript
75-
developer much more pleasant and bug free IMHO.
76-
7773
All input and output is type save; you can throw in any type and still get a string if the expected output is of
7874
type `<string>`. If any method receives an argument of a type it cannot process, the argument will simply be ignored.
7975

@@ -384,6 +380,11 @@ __________
384380
change log
385381
==========
386382

383+
**0.3.2**
384+
385+
Removed strings.js dependency. types.js (1.4.2) and strings.js (1.2.2) are now included in words.js
386+
387+
___
387388
**0.3.0**
388389

389390
Updated

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "words.js",
3-
"version": "0.3.1",
3+
"version": "0.3.3",
44
"description": "A flexible, robust and powerful Javascript word-string manipulation library.",
55
"main": "words.min.js",
66
"scripts": {
@@ -26,8 +26,6 @@
2626
"url": "https://github.com/phazelift/words.js/issues"
2727
},
2828
"homepage": "https://github.com/phazelift/words.js",
29-
"dependencies": {
30-
"strings.js" : "1.2.2"
31-
},
29+
"dependencies": {},
3230
"devDependencies": {}
3331
}

tests/jasmine/SpecRunner.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
<script type="text/javascript" src="lib/jasmine-2.0.3/boot.js"></script>
1313

1414
<!-- include source files here... -->
15-
<script type="text/javascript" src="src/strings.min.js"></script>
1615
<script type="text/javascript" src="src/words.min.js"></script>
1716

1817
<!-- include spec files here... -->

tests/jasmine/spec/wordsTests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
//
3-
var _= Strings;
3+
var _= Strings= Words.Strings;
44
describe("new Words and .set( strings )", function() {
55

66
it("should return an empty string if no or invalid arguments are given", function(){

tests/jasmine/src/strings.min.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)