###Sketch trial non stop
Open hosts files:
$ open /private/etc/hosts
Edit the file adding:
127.0.0.1 backend.bohemiancoding.com
127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com
###Sketch trial non stop
Open hosts files:
$ open /private/etc/hosts
Edit the file adding:
127.0.0.1 backend.bohemiancoding.com
127.0.0.1 bohemiancoding.sketch.analytics.s3-website-us-east-1.amazonaws.com
test = [{"name":"1. which of the following less variables does not belong to the navbar component?","quantity":[3]},{"name":"2. which of the following classes will make tables scroll up horizontally when width of the view is under 768px?","quantity":[3]},{"name":"3. which of the following will set a modal window to be closed when the escape key is pressed?","quantity":[2]},{"name":"4. which of the following is the correct description of the given table?<table class=”table”>\n …\n</table>","quantity":[2]},{"name":"5. which of the following will correctly call a dialog prompt?","quantity":[3]},{"name":"6. which of the following is not a bootstrap component?","quantity":[3]},{"name":"7. which of the following colors is the default hover background color of the table row?","quantity":[1]},{"name":"8. how many validation styles for states of on-form controls does bootstrap have?","quantity":[3]},{"name":"9. which of the following are not options of the method $().tooltip(options)?","quantity":[2,3]},{"name":"10. w |
changeItems: function (event, items) { | |
var self = this; | |
$(items).each(function(e, i){ | |
var model = self.collection.where({id: this.el.data('id')}); | |
model.set({height: this.height, positionX: this.x, positionY: this.y, width: this.width}) | |
}); | |
}, |
$ = jQuery; | |
W = @ ? window; | |
D = W.document ? document; | |
Behaviors = Drupal.behaviors || {}; | |
Behaviors.rate = { | |
attach: (context)-> | |
vote = {} | |
data = {} | |
reg = /\d+/g | |
$(context).find('.fivestar-rest').not('.view-product-review.view-display-id-product_review .fivestar-rest').once(()-> |
/** | |
* Created by user on 22.06.15. | |
*/ | |
(function ($, Drupal, Backbone) { | |
//describe votes models | |
var Vote = Backbone.Model.extend({ | |
initialize: function() { | |
if ($('.first a[data-id="'+ this.get('id') +'"]').length) { | |
new positiveRate({model:this, el: '.first a[data-id="'+ this.get('id') +'"]'}); | |
} |