upgrade angular

This commit is contained in:
Andrew
2015-04-25 11:27:36 -05:00
parent 9039297110
commit db75218201
116 changed files with 777 additions and 3970 deletions

View File

@@ -38,7 +38,7 @@ module.exports = function(options) {
};
request.post({
url: 'http://' + options.domain + '/e2e/upload-url',
templateUrl: 'http://' + options.domain + '/e2e/upload-url',
formData: formData
},
function(err, httpResponse, body) {
@@ -61,7 +61,7 @@ module.exports = function(options) {
};
request.post({
url: uploadUrl,
templateUrl: uploadUrl,
formData: formData
},
function(err, httpResponse, body) {

View File

@@ -2,25 +2,18 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta charset="UTF-8" />
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no" />
<link rel="stylesheet" href="<%= PREFIX %>/css/ionic.css" />
<% buildConfig.scripts.forEach(function(src) { %>
<script src="<%= PREFIX %>/lib/<%= src %>"></script>
<% buildConfig.scripts.forEach(function(script) {
var src = script.to || script; %><script src="<%= PREFIX %>/lib/<%= src %>"></script>
<% }); %>
<script>
System.config({
baseURL: '<%= PREFIX %>/lib',
traceurOptions: <%= JSON.stringify(buildConfig.traceurOptions) %>,
map: {
'app': location.pathname.replace(/\/(index.html)?$/,''),
'rx/dist/rx.all': 'rx.all',
}
})
System.import('app/main');
</script>
<script src="main.js"></script>
</head>
<body ion-app>
</body>
<script>
System.import('app/main').catch(console.error.bind(console));
</script>
</html>

View File

@@ -0,0 +1 @@
// register(System);