]> gerrit.simantics Code Review - simantics/district.git/blob - implement.js
5a82a4d1d23386d67efa3159de9993a973c1735e
[simantics/district.git] / implement.js
1 'use strict';
2
3 var isUnicode = require('../is-unicode');
4
5 if (!require('./is-implemented')()) {
6         Object.defineProperty(RegExp.prototype, 'unicode', { configurable: true,
7                 enumerable: false, get: isUnicode });
8 }