aboutsummaryrefslogtreecommitdiffstats
path: root/src/widget/form.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/widget/form.js')
-rw-r--r--src/widget/form.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/widget/form.js b/src/widget/form.js
index bc34bf0d..b01a07ef 100644
--- a/src/widget/form.js
+++ b/src/widget/form.js
@@ -24,7 +24,7 @@
<doc:example>
<doc:source>
<script>
- function Ctrl(){
+ function Ctrl() {
this.text = 'guest';
}
</script>
@@ -41,12 +41,12 @@
</div>
</doc:source>
<doc:scenario>
- it('should initialize to model', function(){
+ it('should initialize to model', function() {
expect(binding('text')).toEqual('guest');
expect(binding('myForm.input.$valid')).toEqual('true');
});
- it('should be invalid if empty', function(){
+ it('should be invalid if empty', function() {
input('text').enter('');
expect(binding('text')).toEqual('');
expect(binding('myForm.input.$valid')).toEqual('false');