mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
upgrade angular
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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>
|
||||
|
||||
1
scripts/e2e/system-init.js
Normal file
1
scripts/e2e/system-init.js
Normal file
@@ -0,0 +1 @@
|
||||
// register(System);
|
||||
Reference in New Issue
Block a user