Skip to content

Commit 7b0bf21

Browse files
committedOct 16, 2016
v1.0.1
1 parent 426d81a commit 7b0bf21

5 files changed

+8
-8
lines changed
 

‎CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# CHANGELOG
22

3+
## v1.0.1
4+
35
- Prevent $dirty flag on a form from being set to false on initialization
46

57
## v1.0.0 - Major refactoring

‎bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-typeahead",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"main": "./dist/angular-typeahead.js",
55
"ignore": [
66
"build",

‎dist/angular-typeahead.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
(function (root, factory) {
22
if (typeof define === 'function' && define.amd) {
33
// AMD. Register as an anonymous module unless amdModuleId is set
4-
define('angular-typeahead', ["angular"], function (a0,b1) {
5-
return (factory(a0,b1));
4+
define('angular-typeahead', ["angular"], function (a0) {
5+
return (factory(a0));
66
});
77
} else if (typeof exports === 'object') {
88
// Node. Does not work with strict CommonJS, but
@@ -117,10 +117,8 @@ angular.module('siyfion.sfTypeahead', [])
117117
scope.$watch('options', initialize);
118118
initialized = true;
119119
} else {
120-
var value = element.val();
121120
$typeahead(element, 'destroy');
122121
$typeahead(element, options, datasets);
123-
ngModel.$setViewValue(value);
124122
}
125123
}
126124

‎dist/angular-typeahead.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-typeahead",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"subdomain": "Siyfion",
55
"main": "dist/angular-typeahead.js",
66
"author": "siyfion@gmail.com",
@@ -13,7 +13,7 @@
1313
"scripts": {
1414
"test": "grunt test",
1515
"watch": "grunt watch",
16-
"dist": "grunt"
16+
"dist": "grunt dist"
1717
},
1818
"files": [
1919
"dist"

0 commit comments

Comments
 (0)
Please sign in to comment.