penneo / sdk-js Goto Github PK
View Code? Open in Web Editor NEWPenneo Javascript SDK (Work In Progress)
Penneo Javascript SDK (Work In Progress)
createRequest function is undefined, it should be changed to the new this._createRequest
The standard among all other widely used dependencies is to include object-assign@^3.0.0, this creates a mismatching in version with the penneo-react application
The request handler should return a promise with the data in JSON format and the raw response object for other purposes.
The repository should be hooked up with travis. Even thought there aren't any tests at the moment, we need to make sure that the sdk compiles i.e.
npm run compile
The npm request
library doesn't support IE8 and IE9, and it's what drives the SDK API Connector,
therefore a more compatible solution is required.
This makes applications don't load at all on IE9 and below, however, this might not be the only source of the problem. Since any other Ajax libraries the application is using besides the SDK might also cause the same scenario.
Further Reading:
http://stackoverflow.com/questions/19486597/formdata-is-undefined-in-ie-only
http://stackoverflow.com/questions/15475215/formdata-in-ie8-9
The compiled javascript sdk must be available after npm install, and the compiled version shouldn't be on source control.
The sdk should be compiled on the npm postinstall
event.
main.js is exporting delete
as connector.delete_
, connector is exporting delete
without the underscore suffix, therefore it's undefined
Errors on ES5 Environments (Gulp, Examples, Tests) are not being linted properly.
status is mapped to an undefined value in the request response.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.