Skip to content

Commit 52a9172

Browse files
committed
[backbone] fix conflicts
2 parents 76f3586 + 2091d96 commit 52a9172

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,14 @@
8888
// bad
8989
var superman = {
9090
class: 'superhero',
91-
default: { clark: kent },
91+
default: { clark: 'kent' },
9292
private: true
9393
};
9494
9595
// good
9696
var superman = {
9797
klass: 'superhero',
98-
defaults: { clark: kent },
98+
defaults: { clark: 'kent' },
9999
hidden: true
100100
};
101101
```
@@ -133,7 +133,7 @@
133133
- If you don't know array length use Array#push.
134134

135135
```javascript
136-
var someStack = [],
136+
var someStack = [];
137137
138138
139139
// bad
@@ -174,10 +174,10 @@
174174
var name = 'Bob Parr';
175175
176176
// bad
177-
var fullName = "Bob" + this.lastName;
177+
var fullName = "Bob " + this.lastName;
178178
179179
// good
180-
var fullName = 'Bob' + this.lastName;
180+
var fullName = 'Bob ' + this.lastName;
181181
```
182182

183183
- Strings longer than 80 characters should be written across multiple lines using string concatenation.
@@ -1183,7 +1183,7 @@
11831183
var previousFancyInput = global.FancyInput;
11841184
11851185
function FancyInput(options) {
1186-
options || (options = {});
1186+
this.options = options || {};
11871187
}
11881188
11891189
FancyInput.noConflict = function noConflict() {
@@ -1409,7 +1409,7 @@
14091409

14101410
**Blogs**
14111411

1412-
- [DailyJS](//dailyjs.com)
1412+
- [DailyJS](http://dailyjs.com/)
14131413
- [JavaScript Weekly](http://javascriptweekly.com/)
14141414
- [JavaScript, JavaScript...](http://javascriptweblog.wordpress.com/)
14151415
- [Bocoup Weblog](http://weblog.bocoup.com/)

0 commit comments

Comments
 (0)