Sha256: 353958f7fb711aa2e46ef10fc03f67fb64d0ca6ae3be90598eb360166b19b5d4

Contents?: true

Size: 498 Bytes

Versions: 64

Compression:

Stored size: 498 Bytes

Contents

var $metadata = require('./_metadata');
var anObject = require('./_an-object');
var aFunction = require('./_a-function');
var toMetaKey = $metadata.key;
var ordinaryDefineOwnMetadata = $metadata.set;

$metadata.exp({ metadata: function metadata(metadataKey, metadataValue) {
  return function decorator(target, targetKey) {
    ordinaryDefineOwnMetadata(
      metadataKey, metadataValue,
      (targetKey !== undefined ? anObject : aFunction)(target),
      toMetaKey(targetKey)
    );
  };
} });

Version data entries

64 entries across 29 versions & 8 rubygems

Version Path
immosquare-cleaner-0.1.41 node_modules/core-js/library/modules/es7.reflect.metadata.js
immosquare-cleaner-0.1.41 node_modules/core-js/modules/es7.reflect.metadata.js
immosquare-cleaner-0.1.40 node_modules/core-js/modules/es7.reflect.metadata.js
immosquare-cleaner-0.1.40 node_modules/core-js/library/modules/es7.reflect.metadata.js
optimacms-0.1.61 spec/dummy/node_modules/babel-runtime/node_modules/core-js/library/modules/es7.reflect.metadata.js
optimacms-0.1.61 spec/dummy/node_modules/babel-runtime/node_modules/core-js/modules/es7.reflect.metadata.js
ilog-0.4.1 node_modules/babel-register/node_modules/core-js/modules/es7.reflect.metadata.js
ilog-0.4.1 node_modules/babel-runtime/node_modules/core-js/modules/es7.reflect.metadata.js
ilog-0.4.1 node_modules/babel-runtime/node_modules/core-js/library/modules/es7.reflect.metadata.js
ilog-0.4.1 node_modules/babel-register/node_modules/core-js/library/modules/es7.reflect.metadata.js
ilog-0.4.0 node_modules/babel-register/node_modules/core-js/library/modules/es7.reflect.metadata.js
ilog-0.4.0 node_modules/babel-register/node_modules/core-js/modules/es7.reflect.metadata.js
ilog-0.4.0 node_modules/babel-runtime/node_modules/core-js/library/modules/es7.reflect.metadata.js
ilog-0.4.0 node_modules/babel-runtime/node_modules/core-js/modules/es7.reflect.metadata.js
ilog-0.3.3 node_modules/babel-register/node_modules/core-js/library/modules/es7.reflect.metadata.js
ilog-0.3.3 node_modules/babel-runtime/node_modules/core-js/modules/es7.reflect.metadata.js
ilog-0.3.3 node_modules/babel-runtime/node_modules/core-js/library/modules/es7.reflect.metadata.js
ilog-0.3.3 node_modules/babel-register/node_modules/core-js/modules/es7.reflect.metadata.js
condenser-0.0.5 lib/condenser/processors/node_modules/core-js/library/modules/es7.reflect.metadata.js
condenser-0.0.5 lib/condenser/processors/node_modules/core-js/modules/es7.reflect.metadata.js