Skip to content
This repository was archived by the owner on May 28, 2024. It is now read-only.

Commit 98638e1

Browse files
committed
Switch badges to svg, fix homepage and fix code style.
1 parent d0b684f commit 98638e1

File tree

4 files changed

+10
-11
lines changed

4 files changed

+10
-11
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# typeahead.js-bootstrap3.less
22

3-
[![Bower version](https://badge.fury.io/bo/typeahead.js-bootstrap3.less.png)](http://badge.fury.io/bo/typeahead.js-bootstrap3.less)
4-
[![Build Status](https://travis-ci.org/hyspace/typeahead.js-bootstrap3.less.png?branch=develop)](https://travis-ci.org/hyspace/typeahead.js-bootstrap3.less)
3+
[![Bower version](https://badge.fury.io/bo/typeahead.js-bootstrap3.less.svg)](http://badge.fury.io/bo/typeahead.js-bootstrap3.less)
4+
[![Build Status](https://travis-ci.org/hyspace/typeahead.js-bootstrap3.less.svg?branch=develop)](https://travis-ci.org/hyspace/typeahead.js-bootstrap3.less)
55

66
Bootstrap3 style for [typeahead.js](https://github.com/twitter/typeahead.js) using [Bootstrap 3](https://github.com/twbs/bootstrap/) mixins and variables.
77

@@ -81,4 +81,4 @@ Also thanks to contribution of
8181

8282
## License
8383

84-
Code released under [the MIT license](LICENSE)
84+
Code released under [the MIT license](LICENSE)

example/example.html

+3-4
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,10 @@
3737

3838
engine.initialize();
3939

40-
4140
$(':input').typeahead(null, {
42-
name:'animals',
41+
name: 'animals',
4342
source: engine.ttAdapter()
44-
})
43+
});
4544
</script>
4645
</body>
47-
</html>
46+
</html>

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"bootstrap",
88
"typeahead.js"
99
],
10-
"homepage": "http://little33.com/typeahead.js-bootstrap3.less/",
10+
"homepage": "http://hyspace.io/typeahead.js-bootstrap3.less/",
1111
"author": "hyspace",
1212
"scripts": {
1313
"start": "./node_modules/.bin/gulp --require coffee-script/register",

typeahead.less

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@
3737
//border
3838
.input-group .twitter-typeahead:first-child &{
3939
.border-left-radius(@border-radius-base);
40-
width: 100%;
40+
width: 100%;
4141
}
4242
.input-group .twitter-typeahead:last-child &{
4343
.border-right-radius(@border-radius-base);
44-
width: 100%;
44+
width: 100%;
4545
}
4646

4747
//sizing - small:size and border
@@ -137,7 +137,7 @@
137137

138138
&.tt-cursor {
139139
//item selected
140-
cursor: pointer;
140+
cursor: pointer;
141141
text-decoration: none;
142142
outline: 0;
143143
background-color: @dropdown-link-hover-bg;

0 commit comments

Comments
 (0)