Skip to content

Commit 5240b3b

Browse files
committed
Editable: Fixed coding-format spaces.
1 parent 1a89161 commit 5240b3b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

ui/jquery.ui.editable.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ $.widget( "ui.editable", {
191191
});
192192

193193
$.ui.editable.saveButtons = {
194-
button: function(editable) {
194+
button: function( editable ) {
195195
return $( "<button></button>" )
196196
.html( editable.options.save.text )
197197
.button({
@@ -201,7 +201,7 @@ $.ui.editable.saveButtons = {
201201
text: false
202202
});
203203
},
204-
submit: function(editable) {
204+
submit: function( editable ) {
205205
return $( "<input/>" )
206206
.attr( "type", "submit" )
207207
.val( editable.options.save.text )
@@ -210,7 +210,7 @@ $.ui.editable.saveButtons = {
210210
};
211211

212212
$.ui.editable.cancelButtons = {
213-
button: function(editable) {
213+
button: function( editable ) {
214214
return $( "<button></button>" )
215215
.html( editable.options.cancel.text )
216216
.button({
@@ -220,7 +220,7 @@ $.ui.editable.cancelButtons = {
220220
text: false
221221
});
222222
},
223-
link: function(editable) {
223+
link: function( editable ) {
224224
return $( "<a></a>" )
225225
.attr( "href", "#" )
226226
.attr( "title", editable.options.cancel.text )
@@ -232,7 +232,7 @@ $.ui.editable.cancelButtons = {
232232

233233
$.ui.editable.editors = {
234234
text: {
235-
element:function(editable) {
235+
element:function( editable ) {
236236
return $( "<input/>" )
237237
.attr( "type", "text" )
238238
.val( editable.value() )
@@ -241,10 +241,10 @@ $.ui.editable.editors = {
241241
bind: function( editable ) {
242242
var self = editable;
243243
$( "input", editable.element )
244-
.focus(function() {
244+
.focus( function() {
245245
self.frame.addClass( activeStateClass );
246246
})
247-
.blur(function() {
247+
.blur( function() {
248248
self.frame.removeClass( activeStateClass );
249249
})
250250
.bind( "keydown", function( event ) {

0 commit comments

Comments
 (0)