source: trip-planner-front/node_modules/less/lib/less-browser/image-size.js@ 84d0fbb

Last change on this file since 84d0fbb was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 935 bytes
Line 
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3var tslib_1 = require("tslib");
4var function_registry_1 = tslib_1.__importDefault(require("./../less/functions/function-registry"));
5exports.default = (function () {
6 function imageSize() {
7 throw {
8 type: 'Runtime',
9 message: 'Image size functions are not supported in browser version of less'
10 };
11 }
12 var imageFunctions = {
13 'image-size': function (filePathNode) {
14 imageSize(this, filePathNode);
15 return -1;
16 },
17 'image-width': function (filePathNode) {
18 imageSize(this, filePathNode);
19 return -1;
20 },
21 'image-height': function (filePathNode) {
22 imageSize(this, filePathNode);
23 return -1;
24 }
25 };
26 function_registry_1.default.addMultiple(imageFunctions);
27});
28//# sourceMappingURL=image-size.js.map
Note: See TracBrowser for help on using the repository browser.