message: Renamed crumb to scene
diff: @@ -3,7 +3,7 @@ import * as React from 'react';
  class SharedElement extends React.Component<any, any> {
  private ref: Element;
  - private crumb: number;
  + private scene: number;
  context: {
  stateNavigator: StateNavigator,
  registerSharedElement: (url, name, ref, data) => void,
  @@ -11,7 +11,7 @@ class SharedElement extends React.Component<any, any> {
  }
  constructor(props, context) {
  super(props, context);
  - this.crumb = this.getStateNavigator().stateContext.crumbs.length;
  + this.scene = this.getStateNavigator().stateContext.crumbs.length;
  this.register = this.register.bind(this);
  }
  static contextTypes = {
  @@ -27,22 +27,22 @@ class SharedElement extends React.Component<any, any> {
  }
  componentDidUpdate(prevProps) {
  if (prevProps.name !== this.props.name) {
  - this.context.unregisterSharedElement(this.crumb, prevProps.name);
  + this.context.unregisterSharedElement(this.scene, prevProps.name);
  this.register();
  }
  }
  componentWillUnmount() {
  - this.context.unregisterSharedElement(this.crumb, this.props.name);
  + this.context.unregisterSharedElement(this.scene, this.props.name);
  }
  register() {
  var {crumbs, oldUrl} = this.getStateNavigator().stateContext;
  - if (this.crumb === crumbs.length || this.crumb === oldUrl.split('crumb=').length - 1) {
  + if (this.scene === crumbs.length || this.scene === oldUrl.split('crumb=').length - 1) {
  var {unshare, name, data} = this.props;
  if (!unshare) {
  if (this.ref)
  - this.context.registerSharedElement(this.crumb, name, this.ref, data);
  + this.context.registerSharedElement(this.scene, name, this.ref, data);
  } else {
  - this.context.unregisterSharedElement(this.crumb, name);
  + this.context.unregisterSharedElement(this.scene, name);
  }
  }
  }
  