mirror of
https://github.com/less/less.js.git
synced 2026-05-01 03:00:22 -04:00
support variables passed to data-uri
This commit is contained in:
@@ -16,8 +16,9 @@ module.exports = function(environment) {
|
||||
|
||||
var mimetype = mimetypeNode && mimetypeNode.value;
|
||||
var filePath = filePathNode.value;
|
||||
var currentDirectory = filePathNode.currentFileInfo.relativeUrls ?
|
||||
filePathNode.currentFileInfo.currentDirectory : filePathNode.currentFileInfo.entryPath;
|
||||
var currentFileInfo = this.currentFileInfo;
|
||||
var currentDirectory = currentFileInfo.relativeUrls ?
|
||||
currentFileInfo.currentDirectory : currentFileInfo.entryPath;
|
||||
|
||||
var fragmentStart = filePath.indexOf('#');
|
||||
var fragment = '';
|
||||
|
||||
Reference in New Issue
Block a user