git ssb

0+

cel-desktop / ssb-pkg



Tree: 65191f9a9664f013ebe726bb95a1a54b086e1bd5

Files: 65191f9a9664f013ebe726bb95a1a54b086e1bd5 / test / test-79-npm / colors / colors.js

264 bytesRaw
1'use strict';
2
3var colors = require('colors');
4
5if (typeof colors.green === 'function') {
6 var gopd = Object.getOwnPropertyDescriptor;
7 var grass = gopd(String.prototype, 'green');
8 if (grass && (typeof grass.get === 'function')) {
9 console.log('ok');
10 }
11}
12

Built with git-ssb-web