Travis Ralston
2fb29ae8fd
Use the right query string lib
2018-10-30 14:59:57 -06:00
Travis Ralston
b57e858ad1
We can't use arrow functions, apparently.
2018-10-30 14:27:51 -06:00
Travis Ralston
054aac17aa
Just use the interface provided to us rather than hack in a flag
2018-10-30 14:25:25 -06:00
Travis Ralston
68b65dd357
Because uglify-js breaks everything
2018-10-30 14:12:46 -06:00
Travis Ralston
f2881126cd
Manually construct query strings for browser-request instances
...
Because `request` just doesn't work for us in the browser, but `browser-request` is fine despite us having to do our own query strings.
Fixes https://github.com/vector-im/riot-web/issues/7620
2018-10-30 13:59:29 -06:00
Travis Ralston
6033b7b886
Update request and browserify; Use request in the browser
2018-10-24 16:36:00 -06:00
Richard van der Hoff
967341b127
fix build error
...
browser-index isn't transpiled, so can't use var there.
2017-06-22 15:16:23 +01:00
Richard van der Hoff
4e7f9fb805
Fix load failure in firefox when indexedDB is disabled
2017-06-22 15:05:02 +01:00
Richard van der Hoff
8ef947722f
Fail gracefully on browsers without indexeddb
...
If we don't have indexeddb at all, don't try to make an indexeddb crypto store.
2017-06-22 07:49:28 +01:00
Richard van der Hoff
4c7afe5af0
Initial framework for indexeddb-backed crypto store
...
Doesn't do anything useful yet - just demonstrates a framework for how I hope
it will fit into the sdk.
2017-05-30 23:25:07 +01:00
David Baker
18f57a2100
Remove babel-polyfill
...
react-sdk's tests are failing because babel-polyfill is being
pulled in twice.
As per https://babeljs.io/docs/usage/polyfill/ babel-polyfill is
"intended to be used in an application rather than a library/tool".
From a library, we're limited to things that don't modify globals,
since the js env is not ours to start screwing around with.
2017-01-11 18:52:49 +00:00
Kegan Dougal
6644151d19
Add babel-polyfill to include more ES6 goodies
2017-01-11 10:32:52 +00:00
Kegan Dougal
9b4ba0afe8
Redo build process for browsers and node. Update examples.
...
We now rely on browserify for building browser-specific versions of the JS
SDK. This can be initiated by running 'npm run build-js'. Node versions are
unaffected.
2015-06-03 15:51:48 +01:00