mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 09:23:13 +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:
parent
efc7f6d46b
commit
e1dbc0e183
@ -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);
|
||||
});
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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
2
node_modules/react-s3-fineuploader
generated
vendored
@ -1 +1 @@
|
||||
Subproject commit 2161e28e1bf5f69719c8b376ecb24fd3334806ba
|
||||
Subproject commit e2890cf3d28d010abc04e0de3b218afe8c949596
|
@ -27,7 +27,6 @@
|
||||
"compact": false
|
||||
}
|
||||
],
|
||||
"reactify",
|
||||
"browserify-shim"
|
||||
]
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user