Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
npm-wordpress
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
project-templates
web
npm-wordpress
Commits
df7d6ba2
Commit
df7d6ba2
authored
Dec 21, 2017
by
Vadym Gidulian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Used 'defer' instead of 'async'
parent
ef6684e3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
index.php
src/index.php
+1
-1
mixins.pug
src/pug/includes/mixins.pug
+1
-1
No files found.
src/index.php
View file @
df7d6ba2
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<meta
charset=
"UTF-8"
>
<meta
charset=
"UTF-8"
>
<title>
Project
</title>
<title>
Project
</title>
<script
async
src=
"
<?php
echo
DIR
;
?>
/js/script.all.min.js"
></script>
<script
defer
src=
"
<?php
echo
DIR
;
?>
/js/script.all.min.js"
></script>
<link
rel=
"stylesheet"
href=
"
<?php
echo
DIR
;
?>
/css/style.all.min.css"
>
<link
rel=
"stylesheet"
href=
"
<?php
echo
DIR
;
?>
/css/style.all.min.css"
>
</head>
</head>
<body>
<body>
...
...
src/pug/includes/mixins.pug
View file @
df7d6ba2
...
@@ -17,7 +17,7 @@ mixin head(title)
...
@@ -17,7 +17,7 @@ mixin head(title)
meta(charset="UTF-8")
meta(charset="UTF-8")
title= title
title= title
script(
async
src!="<?php echo DIR; ?>/js/script.all.min.js")
script(
defer
src!="<?php echo DIR; ?>/js/script.all.min.js")
link(rel="stylesheet" href!="<?php echo DIR; ?>/css/style.all.min.css")
link(rel="stylesheet" href!="<?php echo DIR; ?>/css/style.all.min.css")
block
block
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment