Questions tagged [amplifyjs]

AmplifyJS is a set of components designed to solve common web application problems with a simplistic API.

Amplify's goal is to simplify all forms of data handling by providing a unified API for various data sources. Amplify's store component handles persistent client-side storage, using standards like localStorage and sessionStorage, but falling back on non-standard implementations for older browsers. Amplify's request adds some additional features to jQuery's ajax method while abstracting away the underlying data source.

http://amplifyjs.com/

187 questions
0
votes
1 answer

How to spy on amplify request and publish with jasmine?

I'm testing code that uses amplify, I'm having trouble verifying what happens with both request and publish when they're both used in the subject under test. it("should put an updated entity on save", function () { spyOn(amplify, 'publish'); …
Chris Marisic
  • 32,487
  • 24
  • 164
  • 258
0
votes
1 answer

Using jasmine to test amplifyjs request call backs

I'm using amplifyjs for AJAX requests. That's working fine. I'm using jasmine to test the code. I'm wondering what the best method is to test the success and error call backs. The current unit test I've written doesn't work because the call back is…
Craig
  • 932
  • 1
  • 11
  • 21
0
votes
1 answer

xDomain ajax call over https returns 200 in fiddler but throws 404 from jQajax ie8 only

All the facts: I have a program that communicates with an external system using ajax. Calls are defined using amplify.js/jq As I need crossdomain support for IE8 I am using a haxe script which proxies the calls for me and it replaces the xhr object…
makeitmorehuman
  • 11,287
  • 3
  • 52
  • 76
0
votes
0 answers

bootstrap paginator is not working when jsp template is used

I am developing a web application with jsp templates.My entire jsp is enclosed in script tag as given below.