Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | 16x 16x 17x 17x | /*! * WikiLambda Vue editor: Application store actions * * @copyright 2020– Abstract Wikipedia team; see AUTHORS.txt * @license MIT */ 'use strict'; const Constants = require( '../Constants.js' ); module.exports = exports = { /** * Pre-fetch information of the Zids most commonly used within the UI * * @param {Object} context * @return {Function} */ prefetchZids: function ( context ) { const zids = [ Constants.Z_OBJECT, Constants.Z_PERSISTENTOBJECT, Constants.Z_MULTILINGUALSTRING, Constants.Z_MONOLINGUALSTRING, Constants.Z_KEY, Constants.Z_TYPE, Constants.Z_STRING, Constants.Z_FUNCTION, Constants.Z_FUNCTION_CALL, Constants.Z_REFERENCE, Constants.Z_BOOLEAN, Constants.Z_BOOLEAN_TRUE, Constants.Z_BOOLEAN_FALSE, Constants.Z_IMPLEMENTATION, context.getters.getUserLangZid, Constants.Z_TYPED_LIST, Constants.Z_ARGUMENT_REFERENCE, Constants.Z_NATURAL_LANGUAGE, ... Constants.SUGGESTIONS.LANGUAGES, ... Constants.SUGGESTIONS.TYPES ]; return context.dispatch( 'fetchZids', { zids: zids } ); } }; |