forked from olcxjas-softworks/LarpixClient
Add capacitorjs runtime
This commit is contained in:
parent
d0ece489ee
commit
f90c0e6c40
8362 changed files with 1502407 additions and 1 deletions
14
node_modules/strip-indent/index.js
generated
vendored
Normal file
14
node_modules/strip-indent/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
'use strict';
|
||||
const minIndent = require('min-indent');
|
||||
|
||||
module.exports = string => {
|
||||
const indent = minIndent(string);
|
||||
|
||||
if (indent === 0) {
|
||||
return string;
|
||||
}
|
||||
|
||||
const regex = new RegExp(`^[ \\t]{${indent}}`, 'gm');
|
||||
|
||||
return string.replace(regex, '');
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue