Dieses Repository beinhaltet HTML- und Javascript Code zur einer NotizenWebApp auf Basis von Web Storage. Zudem sind Mocha/Chai Tests im Browser enthalten. https://meinenotizen.netlify.app/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

true.js 693B

1234567891011121314151617181920212223242526
  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. var util = require('util');
  11. var ActionStoreConstant = require('./constant');
  12. /*:nodoc:*
  13. * new ActionStoreTrue(options)
  14. * - options (object): options hash see [[Action.new]]
  15. *
  16. **/
  17. var ActionStoreTrue = module.exports = function ActionStoreTrue(options) {
  18. options = options || {};
  19. options.constant = true;
  20. options.defaultValue = options.defaultValue !== null ? options.defaultValue : false;
  21. ActionStoreConstant.call(this, options);
  22. };
  23. util.inherits(ActionStoreTrue, ActionStoreConstant);