generated from tc39/template-for-proposals
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add preliminary
removePrefix
and removeSuffix
things
- Loading branch information
1 parent
1999218
commit 268cf61
Showing
5 changed files
with
154 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = tab | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.{md,yaml,yml}] | ||
indent_style = space | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
{ | ||
"private": true, | ||
"name": "template-for-proposals", | ||
"description": "A repository template for ECMAScript proposals.", | ||
"scripts": { | ||
"start": "npm run build-loose -- --watch", | ||
"build": "npm run build-loose -- --strict", | ||
"build-loose": "node -e 'fs.mkdirSync(\"build\", { recursive: true })' && ecmarkup --load-biblio @tc39/ecma262-biblio --verbose spec.emu build/index.html --lint-spec" | ||
}, | ||
"homepage": "https://github.com/tc39/template-for-proposals#readme", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/tc39/template-for-proposals.git" | ||
}, | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@tc39/ecma262-biblio": "^2.1.2571", | ||
"ecmarkup": "^17.0.0" | ||
}, | ||
"engines": { | ||
"node": ">= 12" | ||
} | ||
"private": true, | ||
"name": "template-for-proposals", | ||
"description": "A repository template for ECMAScript proposals.", | ||
"scripts": { | ||
"start": "npm run build-loose -- --watch", | ||
"build": "npm run build-loose -- --strict", | ||
"build-loose": "node -e 'fs.mkdirSync(\"build\", { recursive: true })' && ecmarkup --load-biblio @tc39/ecma262-biblio --verbose spec.emu build/index.html --lint-spec" | ||
}, | ||
"homepage": "https://github.com/tc39/template-for-proposals#readme", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/tc39/template-for-proposals.git" | ||
}, | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@tc39/ecma262-biblio": "2.1.2638", | ||
"ecmarkup": "^18.0.0" | ||
}, | ||
"engines": { | ||
"node": ">= 12" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
'use strict' | ||
if (!String.prototype.removePrefix) { | ||
String.prototype.removePrefix = function removePrefix() { | ||
|
||
} | ||
} | ||
|
||
if (!String.prototype.removeSuffix) { | ||
String.prototype.removeSuffix = function removeSuffix() { | ||
|
||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters