aboutsummaryrefslogtreecommitdiffstats
path: root/src/var/rcssNum.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/var/rcssNum.js')
-rw-r--r--src/var/rcssNum.js10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/var/rcssNum.js b/src/var/rcssNum.js
index 4214b14aa..c96eb65ca 100644
--- a/src/var/rcssNum.js
+++ b/src/var/rcssNum.js
@@ -1,9 +1,3 @@
-define( [
- "../var/pnum"
-], function( pnum ) {
+import pnum from "../var/pnum.js";
-"use strict";
-
-return new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" );
-
-} );
+export default new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" );