1
0
mirror of https://github.com/ascribe/onion.git synced 2024-11-13 16:45:05 +01:00

Merge remote-tracking branch 'remotes/origin/AD-479-piece-registration-in-new-fronten' into AD-416-account-settings-page-navbar

Conflicts:
	js/routes.js
This commit is contained in:
ddejongh 2015-06-19 14:05:56 +02:00
parent efc7f6d46b
commit e1dbc0e183
5 changed files with 7 additions and 6 deletions

View File

@ -49,7 +49,7 @@ var config = {
filesToWatch: [
'build/css/*.css',
'build/js/*.js',
'node_modules/react-s3-fineuploader/*.js'
'node_modules/react-s3-fine_uploader/*.js'
]
};
@ -69,7 +69,7 @@ gulp.task('js:build', function() {
bundle(false);
});
gulp.task('serve', ['browser-sync', 'run-server', 'sass:build', 'sass:watch', 'copy'], function() {
gulp.task('serve', ['browser-sync', 'run-server', 'sass:watch', 'copy'], function() {
bundle(true);
});

View File

@ -11,6 +11,7 @@
<script>
window.BASE_URL = '<%= BASE_URL %>';
window.API_ENDPOINT = '<%= API_ENDPOINT %>';
window.SERVER_URL = '<%= SERVER_URL %>';
<% DEBUG && print('window.DEBUG = true'); %>
<% DEBUG && print('window.CREDENTIALS = \'' + CREDENTIALS + '\''); %>
</script>

View File

@ -9,8 +9,9 @@ import ReactS3FineUploader from 'ReactS3FineUploader';
let RegisterPiece = React.createClass( {
render() {
console.log(AppConstants.serverUrl)
return (
<div>
<ReactS3FineUploader
keyRoutine={{
@ -74,4 +75,4 @@ let RegisterPiece = React.createClass( {
}
});
export default RegisterPiece;
export default RegisterPiece;

2
node_modules/react-s3-fineuploader generated vendored

@ -1 +1 @@
Subproject commit 2161e28e1bf5f69719c8b376ecb24fd3334806ba
Subproject commit e2890cf3d28d010abc04e0de3b218afe8c949596

View File

@ -27,7 +27,6 @@
"compact": false
}
],
"reactify",
"browserify-shim"
]
},