BVB Source Codes

reactide Show true.js Source code

Return Download reactide: download true.js Source code - Download reactide Source code - Type:.js
  1. /*:nodoc:*
  2.  * class ActionStoreTrue
  3.  *
  4.  * This action store the values True respectively.
  5.  * This isspecial cases of 'storeConst'
  6.  *
  7.  * This class inherited from [[Action]]
  8.  **/
  9. 'use strict';
  10.  
  11. var util = require('util');
  12.  
  13. var ActionStoreConstant = require('./constant');
  14.  
  15. /*:nodoc:*
  16.  * new ActionStoreTrue(options)
  17.  * - options (object): options hash see [[Action.new]]
  18.  *
  19.  **/
  20. var ActionStoreTrue = module.exports = function ActionStoreTrue(options) {
  21.   options = options || {};
  22.   options.constant = true;
  23.   options.defaultValue = options.defaultValue !== null ? options.defaultValue : false;
  24.   ActionStoreConstant.call(this, options);
  25. };
  26. util.inherits(ActionStoreTrue, ActionStoreConstant);
  27.  
downloadtrue.js Source code - Download reactide Source code
Related Source Codes/Software:
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
postal - 2017-06-11
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top