Sha256: 74140e2278771454706d9946ecd041ba4b9d7af274c410d533fd90b7ea701ad3
Contents?: true
Size: 428 Bytes
Versions: 8
Compression:
Stored size: 428 Bytes
Contents
Lanes.React.Mixins.Viewport = { contextTypes: viewport: Lanes.PropTypes.State showDialog: (props) -> new Promise( (onOk, onCancel) => @context.viewport.modalProps = _.extend({}, props, {show: true, onOk, onCancel}) ) hideDialog: -> @context.viewport.modal = {show: false} } Object.defineProperty Lanes.React.Mixins.Viewport, 'viewport', get: -> @context.viewport
Version data entries
8 entries across 8 versions & 1 rubygems