From 6c2c77cb75ad6dcfe46e1efbcd983309b79b3f05 Mon Sep 17 00:00:00 2001 From: mleanos Date: Wed, 22 Jul 2015 16:21:16 -0700 Subject: [PATCH 1/3] Added Visual Studio files to gitignore Adding files to ignore that are related to Visual Studio, and Node.js development within the VS environment. --- .gitignore | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitignore b/.gitignore index 0d3109886d..b392f18c9a 100644 --- a/.gitignore +++ b/.gitignore @@ -48,6 +48,13 @@ local.properties data/ mongod +# Visual Studio +# ========= +*.suo +*.ntvs* +*.njsproj +*.sln + # General # ======= *.log From 0a7a715817305eef4da0ded23c0ded5ad8f1dafd Mon Sep 17 00:00:00 2001 From: mleanos Date: Thu, 23 Jul 2015 22:51:36 -0700 Subject: [PATCH 2/3] Moved all editor setting to bottom I moved all the editor files underneath all the other settings. As the editor list grows, it will help keep things organized, and editor configs are less pertinent to individual developers. --- .gitignore | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index b392f18c9a..b413fc72de 100644 --- a/.gitignore +++ b/.gitignore @@ -23,6 +23,20 @@ modules/users/client/img/profile/uploads config/env/local.js *.pem +# General +# ======= +*.log +*.csv +*.dat +*.out +*.pid +*.gz +*.tmp +*.bak +*.swp +logs/ +build/ + # Sublime editor # ============== .sublime-project @@ -55,16 +69,3 @@ mongod *.njsproj *.sln -# General -# ======= -*.log -*.csv -*.dat -*.out -*.pid -*.gz -*.tmp -*.bak -*.swp -logs/ -build/ From 28027290b5c19f30421f1c8ea5fe85f87ec8ee2a Mon Sep 17 00:00:00 2001 From: Mikael Korpela Date: Fri, 24 Jul 2015 21:38:40 +0300 Subject: [PATCH 3/3] Putting the head in order - Moving a few meta tags+base tag before title. I've noticed Bootstrap [recommends this](http://getbootstrap.com/getting-started/#template) (wasn't sure why) so I did some quick googling and [IE seems to be the reason](http://blogs.msdn.com/b/ieinternals/archive/2011/07/18/optimal-html-head-ordering-to-avoid-parser-restarts-redownloads-and-improve-performance.aspx) but there some other speculations too. Feel free to search more. - ...in any case, [charset tag should come before the title](http://www.w3.org/wiki/The_HTML_head_element#Stop_right_there.21_Inline_CSS_and_JavaScript_is_not_too_clever.21). - Removing keyword tag since it [isn't really used anymore](https://chrisedwards.me/seo/keyword-meta-tag-google/). - Removing duplicate Content-type/Encoding tag - Remove IE shim --- .../core/server/views/layout.server.view.html | 28 ++++++------------- 1 file changed, 8 insertions(+), 20 deletions(-) diff --git a/modules/core/server/views/layout.server.view.html b/modules/core/server/views/layout.server.view.html index 8fefeb6cc9..742dfb3437 100644 --- a/modules/core/server/views/layout.server.view.html +++ b/modules/core/server/views/layout.server.view.html @@ -1,25 +1,18 @@ - - {{title}} - - - - + + {{title}} + + - - + - - - - @@ -38,13 +31,8 @@ - + {% for cssFile in cssFiles %}{% endfor %} - - - @@ -59,12 +47,12 @@ - + - {% for jsFile in jsFiles %}{% endfor %} + {% for jsFile in jsFiles %}{% endfor %} {% if process.env.NODE_ENV === 'development' %}