Skip to content

Instantly share code, notes, and snippets.

@MarkArts
MarkArts / multyArray.js
Created June 6, 2015 19:07
Wrapper around a array with multiy filter and sort
var Sort = function()
{
this.data = []; // end point of the data
this._initOrder = []; // Objects in order of initialization for cache optimazation
this._filters = {};
this._sorts = {};
}
<!DOCTYPE html>
<html>
<head>
<title>Polymer Rails Example</title>
<link rel="import" href="../polymer/polymer.html">
<link rel="import" href="../paper-button/paper-button.html">
</head>
<body>
<paper-button raised>Fancy</paper-button>