1
0
mirror of https://github.com/thangisme/notes.git synced 2024-11-09 23:27:15 -05:00
notes/node_modules/stylelint-scss/dist/utils/blockString.js

26 lines
725 B
JavaScript
Raw Normal View History

2017-03-09 13:16:08 -05:00
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = function (statement) {
if (!(0, _hasBlock2.default)(statement)) {
return;
}
return (0, _rawNodeString2.default)(statement).slice((0, _beforeBlockString2.default)(statement).length);
};
var _beforeBlockString = require("./beforeBlockString");
var _beforeBlockString2 = _interopRequireDefault(_beforeBlockString);
var _hasBlock = require("./hasBlock");
var _hasBlock2 = _interopRequireDefault(_hasBlock);
var _rawNodeString = require("./rawNodeString");
var _rawNodeString2 = _interopRequireDefault(_rawNodeString);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }