Skip to content

Commit 9c0ec60

Browse files
committed
v1.0.0
1 parent 6f874d6 commit 9c0ec60

File tree

4 files changed

+16
-21
lines changed

4 files changed

+16
-21
lines changed

.npmignore

Lines changed: 0 additions & 10 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ sfTypeahead: A Twitter Typeahead directive
22
=================
33

44
[![Build Status](https://travis-ci.org/Siyfion/angular-typeahead.svg?branch=master)](https://travis-ci.org/Siyfion/angular-typeahead)
5-
![Coverage: 100%](https://github.com/Siyfion/angular-typeahead/blob/master/resources/coverage.svg)
5+
![Coverage: 100%](https://raw.githubusercontent.com/Siyfion/angular-typeahead/master/resources/coverage.svg)
66
[![Version](https://badge.fury.io/gh/Siyfion%2Fangular-typeahead.svg)](https://badge.fury.io/gh/Siyfion%2Fangular-typeahead)
77
[![dependencies Status](https://david-dm.org/Siyfion/angular-typeahead/status.svg)](https://david-dm.org/Siyfion/angular-typeahead)
88

@@ -17,11 +17,11 @@ Get angular-typeahead from your favorite source:
1717
* Install with [npm][npm]: `$ npm install angular-typeahead`
1818
* Download latest *[angular-typeahead.js][angular-typeahead.js]* or *[angular-typeahead.min.js][angular-typeahead.min.js]*.
1919

20-
**Note:** angular-typeahead depends on [Angular.js][angularjs] and [typeahead.js][typeahead.js]. Make sure dependencies are met in your environment:
20+
**Note:** angular-typeahead supports [Angular.js][angularjs] v1.2.x through v1.5.x and depends on [typeahead.js][typeahead.js] v0.11.x. Make sure dependencies are met in your setup:
2121

2222
* **global**: include jQuery, angularjs and typeahead.js before *angular-typeahead.js*.
23-
* **cjs** (node, browserify): angular-typeahead explicitly *requires* `angular` and `typeahead.js`. (note: with browserify, include jquery.js and typeahead.js externally, because angular does not define a dependency on jquery)
24-
* **amd** (require.js): angular-typeahead explicitly *requires* `angular` and declares itself as `angular-typeahead`. Note that `typeahead.js` does not work well with AMD.js, you may find [this fix](https://github.com/twitter/typeahead.js/issues/1211#issuecomment-129189829) useful.
23+
* **commonJS** (node, browserify): angular-typeahead explicitly *requires* `angular` and `typeahead.js`. (note: with browserify, include jquery.js and typeahead.js externally, because angular does not define a dependency on jquery)
24+
* **amd** (require.js): angular-typeahead explicitly *requires* `angular` and declares itself as `angular-typeahead`. Note that `typeahead.js` does not work well with AMD.js, you may find [this workaround](https://github.com/twitter/typeahead.js/issues/1211#issuecomment-129189829) useful.
2525

2626
Demo
2727
---------------

bower.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
{
22
"name": "angular-typeahead",
3-
"version": "1.0.0-alpha",
4-
"main": "./angular-typeahead.js",
3+
"version": "1.0.0",
4+
"main": "./dist/angular-typeahead.js",
55
"ignore": [
6-
"build/",
6+
"build",
7+
"test",
8+
"resources",
9+
".travis.yml",
710
"package.json",
811
"Gruntfile.js",
912
"karma.conf.js",
10-
"angular-typeahead.js",
11-
"angular-typeahead.spec.js"
13+
"angular-typeahead.js"
1214
],
1315
"dependencies": {
1416
"typeahead.js": "~0.11.1"

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-typeahead",
3-
"version": "1.0.0-alpha",
3+
"version": "1.0.0",
44
"subdomain": "Siyfion",
55
"main": "dist/angular-typeahead.js",
66
"author": "[email protected]",
@@ -16,6 +16,9 @@
1616
"dist": "grunt",
1717
"pretest": "require-self"
1818
},
19+
"files": [
20+
"dist"
21+
],
1922
"contributors": [
2023
{
2124
"name": "Simon Mansfield",
@@ -32,7 +35,7 @@
3235
"typeahead"
3336
],
3437
"devDependencies": {
35-
"angular": "1.2.x",
38+
"angular": "1.5.x",
3639
"angular-mocks": "^1.5.8",
3740
"browserify": "^13.1.0",
3841
"grunt": "1.0.1",

0 commit comments

Comments
 (0)