Skip to content

Commit

Permalink
Revert "Add catch for undefined blaze Template"
Browse files Browse the repository at this point in the history
  • Loading branch information
sudotong committed Feb 20, 2018
1 parent b420e2e commit 786b1d6
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 7 deletions.
2 changes: 0 additions & 2 deletions .gitignore
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
.build*
.npm/*
.npm/package
1 change: 1 addition & 0 deletions .npm/package/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
7 changes: 7 additions & 0 deletions .npm/package/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
This directory and the files immediately inside it are automatically generated
when you change this package's NPM dependencies. Commit the files in this
directory (npm-shrinkwrap.json, .gitignore, and this README) to source control
so that others run the same versions of sub-dependencies.

You should NOT check in the node_modules directory that Meteor automatically
creates; if you are using git, the .gitignore file tells git to ignore it.
15 changes: 15 additions & 0 deletions .npm/package/npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file modified .versions
100755 → 100644
Empty file.
Empty file modified README.md
100755 → 100644
Empty file.
4 changes: 1 addition & 3 deletions helpers.js
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ switchHTTPS = function(port){
window.location = 'https://'+window.location.hostname+':'+port+window.location.pathname+window.location.search;
}
Meteor.startup(function(){
try {
Template.registerHelper('isHTTPS', function(){
Template.registerHelper('isHTTPS', function(){
return isHTTPS();
})
} catch (e){}
});
4 changes: 2 additions & 2 deletions package.js
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package.describe({
name: 'sudotong:ssl',
version: '0.2.3',
name: 'nourharidy:ssl',
version: '0.2.2',
summary: 'Sexy SSL support for Meteor',
documentation: 'README.md',
git: 'https://github.com/nourharidy/meteor-ssl.git'
Expand Down
Empty file modified ssl.js
100755 → 100644
Empty file.
Empty file modified versions.json
100755 → 100644
Empty file.

0 comments on commit 786b1d6

Please sign in to comment.