Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
render() {
//console.log('LTILogin.render called.resource_id='+this.state.resource_id);
return (
<div>
Welcome to LTI Login.
</div>
);
}
}
LTI.contextTypes = {
executeAction: PropTypes.func.isRequired
};
LTI = handleRoute(LTI);
export default LTI;
return (
}
{...this.props}
ref="governor"
/>
);
},
componentDidUpdate(prevProps) {
if (prevProps.currentRoute !== this.props.currentRoute) {
this.refs.governor.setQueryParams(this._makeQueryParams());
}
}
})
module.exports = handleRoute(GovernorQuerySetter);
}
}
return resultingSlide;
});
}
return html;
}
}
Presentation = connectToStores(Presentation, [PresentationStore], (context, props) => {
return {
PresentationStore: context.getStore(PresentationStore).getState()
};
});
Presentation = handleRoute(Presentation);//NOTE add currentRoute attribute to constructor props
export default Presentation;
id="toggleMenuButton"
className="menu-button D(n)--sm Pos(a) resetButton End(0) Z(7) Mend(10px)"
style={{ top: '-12px' }}
>
<i></i>
<b>Toggle the menu</b>
<menu selected="{this.props.currentRoute">
{page}
<div id="overlay"></div>
);
}
}
Docs = handleRoute(
connectToStores(Docs, [ SearchStore ], (context) => ({
search: context.getStore(SearchStore).getState()
}))
);
export default Docs;
</menu>
<p style="{{color:">佐證連結</p>
<p></p>}
secondaryTextLines={2}>
{ratingElements}
} secondaryText={
<p style="{{color:"> 我也要評進度 </p>}
/>
)
}
})
module.exports = handleRoute(ProgressReport);
<button aria-label="Open Modal again" role="button" color="green">
) : ''}
);
}
}
presentationBroadcast.contextTypes = {
executeAction: PropTypes.func.isRequired,
getUser: PropTypes.func
};
presentationBroadcast = handleRoute(presentationBroadcast);
export default presentationBroadcast;
</button>
return (
} ref="Commitment"
{...this.props}
/>
);
},
componentDidUpdate(prevProps) {
if (prevProps.currentRoute !== this.props.currentRoute) {
this.refs.Commitment.setQueryParams(this._makeQueryParams());
}
}
});
module.exports = handleRoute(CommitmentQuerySetter);