vimrc/snippets/javascript.snippets
Arija A. e025e29839
Init
Signed-off-by: Arija A. <ari@ari.lt>
2025-07-05 13:27:02 +03:00

34 lines
1.2 KiB
Text

snippet m
"use strict";
function main() {
$1;
}
document.addEventListener("DOMContentLoaded", main);
endsnippet
snippet l
/*
* @licstart The following is the entire license notice for the JavaScript code in this file.
*
* Copyright (C) 202$0 Ari Archer
*
* This file is part of <module name>.
*
* The JavaScript code in this file is free software: you can redistribute it
* and/or modify it under the terms of the GNU Affero General Public License
* (AGPL) as published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version. The code is distributed WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
*
* As additional permission under AGPL version 3 section 7, you may distribute non-source
* (e.g., minimized or compacted) forms of that code without the copy of the AGPL normally
* required by section 4, provided you include this license notice and a URL through which
* recipients can access the Corresponding Source.
*
* @licend The above is the entire license notice for the JavaScript code in this file.
*/
endsnippet