Bug 1307940 - Add toolbox-dependent method to serviceContainer only if toolbox is available. r=bgrins
MozReview-Commit-ID: CjRXKemaJ4f
This commit is contained in:
@@ -49,9 +49,9 @@ const Message = createClass({
|
||||
timeStamp: PropTypes.number,
|
||||
serviceContainer: PropTypes.shape({
|
||||
emitNewMessage: PropTypes.func.isRequired,
|
||||
onViewSourceInDebugger: PropTypes.func.isRequired,
|
||||
onViewSourceInScratchpad: PropTypes.func.isRequired,
|
||||
onViewSourceInStyleEditor: PropTypes.func.isRequired,
|
||||
onViewSourceInDebugger: PropTypes.func,
|
||||
onViewSourceInScratchpad: PropTypes.func,
|
||||
onViewSourceInStyleEditor: PropTypes.func,
|
||||
openContextMenu: PropTypes.func.isRequired,
|
||||
openLink: PropTypes.func.isRequired,
|
||||
sourceMapService: PropTypes.any,
|
||||
|
||||
Reference in New Issue
Block a user