Sha256: 55e62ae8bc9b6094d682df2f637b38b8db7cc2171290ccbe085173ccfab8b44d
Contents?: true
Size: 730 Bytes
Versions: 3
Compression:
Stored size: 730 Bytes
Contents
/*! * UI development toolkit for HTML5 (OpenUI5) * (c) Copyright 2009-2018 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ sap.ui.define([], function() { "use strict"; /** * Some private variable used for creation of (pseudo-)unique ids. * @type int * @private */ var iIdCounter = 0; /** * Creates and returns a pseudo-unique id. * * No means for detection of overlap with already present or future UIDs. * * @function * @since 1.58 * @alias module:sap/base/util/uid * @return {string} A pseudo-unique id. * @public */ var fnUid = function uid() { return "id-" + new Date().valueOf() + "-" + iIdCounter++; }; return fnUid; });
Version data entries
3 entries across 3 versions & 1 rubygems