Last change
on this file since 76712b2 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
238 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | var nodes = require('../nodes');
|
---|
| 2 |
|
---|
| 3 | /**
|
---|
| 4 | * Get Math `prop`.
|
---|
| 5 | *
|
---|
| 6 | * @param {String} prop
|
---|
| 7 | * @return {Unit}
|
---|
| 8 | * @api private
|
---|
| 9 | */
|
---|
| 10 |
|
---|
| 11 | function math(prop){
|
---|
| 12 | return new nodes.Unit(Math[prop.string]);
|
---|
| 13 | }
|
---|
| 14 | math.params = ['prop'];
|
---|
| 15 | module.exports = math;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.