This repository has been archived by the owner on Jul 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drastically simplify the template by removing volo, require, and only…
… keeping basic html/js/css
- Loading branch information
Showing
400 changed files
with
67 additions
and
88,544 deletions.
There are no files selected for viewing
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
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,35 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
|
||
<title></title> | ||
<meta name="description" content=""> | ||
<meta name="viewport" content="width=device-width"> | ||
|
||
<!-- Place favicon.ico in the root directory --> | ||
|
||
<link rel="stylesheet" href="css/app.css"> | ||
</head> | ||
<body> | ||
|
||
<p> | ||
Welcome to your awesome web app. This was created from the | ||
<a href="https://github.com/mozilla/mortar-app-stub">mortar-app-stub</a> | ||
template, one of the | ||
<a href="https://github.com/mozilla/mortar">mortar templates</a>. | ||
</p> | ||
|
||
<button id="install-btn">Install</button> | ||
|
||
<!-- zepto is a library like jQuery but smaller | ||
http://zeptojs.com/ --> | ||
<script type="text/javascript" src="js/lib/zepto.min.js"></script> | ||
|
||
<!-- use this library to verify receipts | ||
https://github.com/mozilla/receiptverifier --> | ||
<!-- <script type="text/javascript" src="js/lib/receiptverifier.js"></script> --> | ||
|
||
<script type="text/javascript" src="js/app.js"></script> | ||
</body> | ||
</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,30 @@ | ||
|
||
// Wait until the DOM is ready | ||
$(function() { | ||
|
||
// Write your app here | ||
|
||
|
||
|
||
}); | ||
|
||
|
||
if(navigator.mozApps) { | ||
// If you want an installation button, add this to your HTML: | ||
// | ||
// <button id="install">Install</button> | ||
// | ||
// This code shows the button if the apps platform is available | ||
// and this isn't already installed. | ||
|
||
$('#install-btn').hide().click(function() { | ||
navigator.mozApps.install(location.href + 'manifest.webapp'); | ||
}); | ||
|
||
var req = navigator.mozApps.getSelf(); | ||
req.onsuccess = function() { | ||
if(!req.result) { | ||
$('#install-btn').show(); | ||
} | ||
}; | ||
} |
File renamed without changes.
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.