Skip to content

Commit

Permalink
Fix post title native syntax (#14041)
Browse files Browse the repository at this point in the history
* Fix unexpected token in native code

* Dummy commit to trigger Travis

* Include the rnmobile release branch to Travis builds
  • Loading branch information
Tug authored and hypest committed Feb 22, 2019
1 parent 36b7447 commit 1171ec5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ cache:
branches:
only:
- master
- rnmobile/release-v1.0

before_install:
- nvm install
Expand Down
3 changes: 1 addition & 2 deletions packages/editor/src/components/post-title/index.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,12 @@ import styles from './style.scss';
const minHeight = 30;

class PostTitle extends Component {
titleViewRef: Object;

constructor() {
super( ...arguments );

this.onSelect = this.onSelect.bind( this );
this.onUnselect = this.onUnselect.bind( this );
this.titleViewRef = null;

this.state = {
isSelected: false,
Expand Down

0 comments on commit 1171ec5

Please sign in to comment.