forked from nishanperera/HTMLStarterKitPro
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
xenogenesi
committed
Apr 29, 2016
1 parent
b0a709c
commit 6a2ab3b
Showing
5 changed files
with
77 additions
and
6 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
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
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
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,44 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Durandal</title> | ||
|
||
<meta charset="utf-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" /> | ||
<meta name="apple-mobile-web-app-capable" content="yes" /> | ||
<meta name="apple-mobile-web-app-status-bar-style" content="black" /> | ||
<meta name="format-detection" content="telephone=no"/> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
|
||
<link rel="apple-touch-startup-image" href="lib/durandal/img/ios-startup-image-landscape.png" media="(orientation:landscape)" /> | ||
<link rel="apple-touch-startup-image" href="lib/durandal/img/ios-startup-image-portrait.png" media="(orientation:portrait)" /> | ||
<link rel="apple-touch-icon" href="lib/durandal/img/icon.png"/> | ||
|
||
<link rel="stylesheet" href="lib/bootstrap/css/bootstrap.min.css" /> | ||
<link rel="stylesheet" href="lib/font-awesome/css/font-awesome.min.css" /> | ||
<link rel="stylesheet" href="css/ie10mobile.css" /> | ||
<link rel="stylesheet" href="lib/durandal/css/durandal.css" /> | ||
<link rel="stylesheet" href="css/starterkit.css" /> | ||
|
||
<script type="text/javascript"> | ||
if (navigator.userAgent.match(/IEMobile\/10\.0/)) { | ||
var msViewportStyle = document.createElement("style"); | ||
var mq = "@@-ms-viewport{width:auto!important}"; | ||
msViewportStyle.appendChild(document.createTextNode(mq)); | ||
document.getElementsByTagName("head")[0].appendChild(msViewportStyle); | ||
} | ||
</script> | ||
</head> | ||
<body> | ||
<div id="applicationHost"> | ||
<div class="splash"> | ||
<div class="message"> | ||
Durandal Starter Kit | ||
</div> | ||
<i class="fa fa-spinner fa-spin"></i> | ||
</div> | ||
</div> | ||
|
||
<script src="app/main-built.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,15 @@ | ||
console.log("defining modules..."); | ||
|
||
define('mymodule1', ['jquery'], function($) { | ||
console.log('within mymodule1', $.fn.jquery); | ||
return { | ||
test: 'module1' | ||
}; | ||
}); | ||
|
||
define('mymodule2', ['jquery'], function($) { | ||
console.log('within mymodule2', $.fn.jquery); | ||
return { | ||
test: 'module2' | ||
}; | ||
}); |