« first day (121 days earlier)   

5:49 AM
0
Q: How to implement angular style directives in backbone?

juria_robertsI am aware of this library https://github.com/berzniz/backbone.directives. However I wanted to know if there is a way of implementing angular style directives in backbone without using a library.(Maybe through underscore or backbone views) My use case is that i want the the html inside the div t...

 
 
4 hours later…
9:58 AM
0
Q: Wordpress: Open edit attachment modal with wp.media

user1548981I'm doing a custom interface for media upload in WordPress admin area. So far i used wp.media to open the upload modal window and manage to upload and save images using this code var frame = new wp.media.view.MediaFrame.Select({ ..... .... }); Now i,m trying to edit...

 
 
2 hours later…
12:22 PM
0
Q: How to encrypt a URL in backbone.js

Liliin backbone.js we use router.js to specify a url format and to specify the page to redirect to, for example: "serviceslist/:id/:serviceId": "serviceslist", ... serviceslist: function (id,serviceId) { var self = this; this.load(); require([ 'js/views/patient/...

 
 
3 hours later…
3:34 PM
0
Q: Istanbul not showing code coverage

user1464581We have unit tests written with Sinon running with Mocha in a directory tests/js-tests/unit-tests. The tests use jsdom with Backbone. All tests run and pass. I'm trying to use Istanbul for it's html code coverage. I keep getting 0% coverage across the board or "No coverage information was col...

 
 
5 hours later…
8:56 PM
 

« first day (121 days earlier)