Skip to content

Instantly share code, notes, and snippets.

View ziodave's full-sized avatar

David Riccitelli ziodave

View GitHub Profile
@ziodave
ziodave / gist:da1cc1c3575adb0cd61f
Last active December 31, 2015 14:47 — forked from belackriv/gist:008087f6f005aee1167f
Marrionette Table without composite view
//
//Regions
//
var NoWrapRegion = Backbone.Marionette.Region.extend({
attachHtml: function (view) {
this.el.innerHTML="";
var children = view.el.childNodes;
while (children.length > 0) {
this.el.appendChild(children[0]);
{
"title": "collectd-rome",
"services": {
"query": {
"list": {
"0": {
"query": "plugin: \"cpu\" AND plugin_instance: \"0\" AND host:\"rome\"",
"alias": "cpu1",
"color": "#7EB26D",
"id": 0,