scottksmith95 / coderbits.widget Goto Github PK
View Code? Open in Web Editor NEWCoderbits profile widget
Home Page: https://coderbits.com/api
Coderbits profile widget
Home Page: https://coderbits.com/api
I'm getting an error trying to load the coderbits widget:
"Failed to load resource: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://rra3.github.io' is therefore not allowed access"
"XMLHttpRequest cannot load https://coderbits.com/rra3.json?callback=?. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://rra3.github.io' is therefore not allowed access. rra3.github.io/:1
Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains."
Is this a server-side htaccess thing or can I twiddle something client side?
The if/elseif statements here: https://github.com/scottksmith95/coderbits.widget/blob/master/coderbits.js#L39 are repetitive. There should be an alternative solution that can be used to accomplish the same task.
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.