squaresquash / javascript Goto Github PK
View Code? Open in Web Editor NEWThe Squash client library for JavaScript front-end projects.
License: Apache License 2.0
The Squash client library for JavaScript front-end projects.
License: Apache License 2.0
The README has a section about user data, but it doesn't seem implemented. notify
doesn't take two arguments. addUserData
does set _squash_user_data on the exception, but this property is never used. Should it be removed from the README, or am I missing something?
So, I've got the Squash web app running on a subdomain (squash.example.com
) and a staging environment setup on a different subdomain (staging.example.com
). When I try to log a test JS error, it fails. I've search through all the code and I can't find out why this CORS error would occur. What should I do?
Here's the JS console log:
Uncaught Test JavaScript error! application.js:773
OPTIONS https://squash.example.com/api/1.0/notify 404 (Not Found) squash.js:7
XMLHttpRequest cannot load https://squash.example.com/api/1.0/notify. Origin http://staging.example.com is not allowed by Access-Control-Allow-Origin
Here's the Squash web log:
Started OPTIONS "/api/1.0/notify" for IP_GOES_HERE at 2013-02-28 17:14:19 +0000
ActionController::RoutingError (No route matches [OPTIONS] "/api/1.0/notify"):
app/middleware/ping.rb:29:in `call'
The gem does not work without CoffeeScript. It should be a dependency.
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.