Skip to content

Commit fff4099

Browse files
committed
Merge pull request #1 from poshaughnessy/master
Update some instances of airbnb -> pebble {code} string replace
2 parents 4def56f + 3f1dbcf commit fff4099

1 file changed

Lines changed: 17 additions & 17 deletions

File tree

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136
const item = {};
137137
```
138138
139-
- [3.2](#3.2) <a name='3.2'></a> Don't use [reserved words](http://es5.github.io/#x7.6.1) as keys. It won't work in IE8. [More info](https://github.com/pebble {code}/javascript/issues/61).
139+
- [3.2](#3.2) <a name='3.2'></a> Don't use [reserved words](http://es5.github.io/#x7.6.1) as keys. It won't work in IE8. [More info](https://github.com/pebblecode/javascript/issues/61).
140140

141141
```javascript
142142
// bad
@@ -400,7 +400,7 @@
400400
```
401401
402402
- [6.2](#6.2) <a name='6.2'></a> Strings longer than 80 characters should be written across multiple lines using string concatenation.
403-
- [6.3](#6.3) <a name='6.3'></a> Note: If overused, long strings with concatenation could impact performance. [jsPerf](http://jsperf.com/ya-string-concat) & [Discussion](https://github.com/pebble {code}/javascript/issues/40).
403+
- [6.3](#6.3) <a name='6.3'></a> Note: If overused, long strings with concatenation could impact performance. [jsPerf](http://jsperf.com/ya-string-concat) & [Discussion](https://github.com/pebblecode/javascript/issues/40).
404404
405405
```javascript
406406
// bad
@@ -725,15 +725,15 @@
725725
726726
```javascript
727727
// bad
728-
const pebble {code}StyleGuide = require('./pebble {code}StyleGuide');
729-
module.exports = pebble {code}StyleGuide.es6;
728+
const pebbleCodeStyleGuide = require('./pebbleCodeStyleGuide');
729+
module.exports = pebbleCodeStyleGuide.es6;
730730

731731
// ok
732-
import pebble {code}StyleGuide from './pebble {code}StyleGuide';
733-
export default pebble {code}StyleGuide.es6;
732+
import pebbleCodeStyleGuide from './pebbleCodeStyleGuide';
733+
export default pebbleCodeStyleGuide.es6;
734734

735735
// best
736-
import { es6 } from './pebble {code}StyleGuide';
736+
import { es6 } from './pebbleCodeStyleGuide';
737737
export default es6;
738738
```
739739
@@ -743,10 +743,10 @@
743743
744744
```javascript
745745
// bad
746-
import * as pebble {code}StyleGuide from './pebble {code}StyleGuide';
746+
import * as pebbleCodeStyleGuide from './pebbleCodeStyleGuide';
747747

748748
// good
749-
import pebble {code}StyleGuide from './pebble {code}StyleGuide';
749+
import pebbleCodeStyleGuide from './pebbleCodeStyleGuide';
750750
```
751751
752752
- [10.3](#10.3) <a name='10.3'></a>And do not export directly from an import.
@@ -756,11 +756,11 @@
756756
```javascript
757757
// bad
758758
// filename es6.js
759-
export { es6 as default } from './pebble {code}StyleGuide';
759+
export { es6 as default } from './pebbleCodeStyleGuide';
760760

761761
// good
762762
// filename es6.js
763-
import { es6 } from './pebble {code}StyleGuide';
763+
import { es6 } from './pebbleCodeStyleGuide';
764764
export default es6;
765765
```
766766
@@ -1578,7 +1578,7 @@
15781578
const val = inputValue >> 0;
15791579
```
15801580
1581-
- [21.5](#21.5) <a name='21.5'></a> **Note:** Be careful when using bitshift operations. Numbers are represented as [64-bit values](http://es5.github.io/#x4.3.19), but Bitshift operations always return a 32-bit integer ([source](http://es5.github.io/#x11.7)). Bitshift can lead to unexpected behavior for integer values larger than 32 bits. [Discussion](https://github.com/pebble {code}/javascript/issues/109). Largest signed 32-bit Int is 2,147,483,647:
1581+
- [21.5](#21.5) <a name='21.5'></a> **Note:** Be careful when using bitshift operations. Numbers are represented as [64-bit values](http://es5.github.io/#x4.3.19), but Bitshift operations always return a 32-bit integer ([source](http://es5.github.io/#x11.7)). Bitshift can lead to unexpected behavior for integer values larger than 32 bits. [Discussion](https://github.com/pebbleCode/javascript/issues/109). Largest signed 32-bit Int is 2,147,483,647:
15821582
15831583
```javascript
15841584
2147483647 >> 0 //=> 2147483647
@@ -1726,12 +1726,12 @@
17261726
- [22.8](#22.8) <a name='22.8'></a> Use PascalCase when you export a singleton / function library / bare object.
17271727
17281728
```javascript
1729-
const pebble {code}StyleGuide = {
1729+
const pebbleCodeStyleGuide = {
17301730
es6: {
17311731
}
17321732
};
17331733

1734-
export default pebble {code}StyleGuide;
1734+
export default pebbleCodeStyleGuide;
17351735
```
17361736
17371737
@@ -1955,8 +1955,8 @@
19551955
**Tools**
19561956
19571957
- Code Style Linters
1958-
+ [JSHint](http://www.jshint.com/) - [pebble {code} Style .jshintrc](https://github.com/pebble {code}/javascript/blob/master/linters/jshintrc)
1959-
+ [JSCS](https://github.com/jscs-dev/node-jscs) - [pebble {code} Style Preset](https://github.com/jscs-dev/node-jscs/blob/master/presets/pebble {code}.json)
1958+
+ [JSHint](http://www.jshint.com/) - [pebble {code} Style .jshintrc](https://github.com/pebblecode/javascript/blob/master/linters/jshintrc)
1959+
+ [JSCS](https://github.com/jscs-dev/node-jscs) - [pebble {code} Style Preset](https://github.com/jscs-dev/node-jscs/blob/master/presets/airbnb.json)
19601960
19611961
**Other Styleguides**
19621962
@@ -1967,7 +1967,7 @@
19671967
**Other Styles**
19681968
19691969
- [Naming this in nested functions](https://gist.github.com/4135065) - Christian Johansen
1970-
- [Conditional Callbacks](https://github.com/pebble {code}/javascript/issues/52) - Ross Allen
1970+
- [Conditional Callbacks](https://github.com/airbnb/javascript/issues/52) - Ross Allen
19711971
- [Popular JavaScript Coding Conventions on Github](http://sideeffect.kr/popularconvention/#javascript) - JeongHoon Byun
19721972
- [Multiple var statements in JavaScript, not superfluous](http://benalman.com/news/2012/05/multiple-var-statements-javascript/) - Ben Alman
19731973

0 commit comments

Comments
 (0)