This repository has been archived by the owner on Aug 16, 2022. It is now read-only.
-
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.
todo(js minimizer)
- Loading branch information
Rthem@gmx.de
committed
Jul 1, 2020
1 parent
94cedf5
commit d845711
Showing
5 changed files
with
43 additions
and
7 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,4 +1,9 @@ | ||
# webstorm-template | ||
a webstorm starter template | ||
|
||
this template contains a basic folder structure, configured sass and configured ts | ||
this template is for webstorm web projects | ||
it contains: | ||
- a basic folder structure | ||
- initialized npm | ||
- configured sass compiler and css minimizer (run automatic) | ||
- configured ts compiler and js minimizer (run automatic) | ||
- |
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 @@ | ||
/*own jQuery selector | ||
$ as selector over all | ||
$f as selector to select first element | ||
*/ | ||
|
||
var $ = function (object) { | ||
return document.querySelectorAll(object); | ||
}; | ||
var $f = function (object) { | ||
return document.querySelector(object); | ||
}; | ||
|
||
console.log("function.min.js") |
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,19 +1,21 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<!-- Metadaten --> | ||
<!-- Metadata --> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
|
||
<title>Title</title> | ||
|
||
<!-- CSS Import --> | ||
<link href="style.min.css" rel="stylesheet" title="Cool stylesheet" type="text/css"> | ||
|
||
</head> | ||
<body> | ||
|
||
<p>example paragraph</p> | ||
</body> | ||
|
||
<!-- JS Import | ||
<script src="style.min.js"></script>--> | ||
<!-- JS Import --> | ||
<script src="function.min.js"></script> | ||
|
||
</html>npm | ||
</html> |
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,10 @@ | ||
{ | ||
"compilerOptions": { | ||
"module": "commonjs", | ||
"target": "es5", | ||
"sourceMap": true | ||
}, | ||
"exclude": [ | ||
"node_modules" | ||
] | ||
} |