Skip to content

Instantly share code, notes, and snippets.

@xalunda
xalunda / ko-chart.js
Created May 2, 2018 15:24 — forked from mika76/ko-chart.js
Chart.js Knockout bindings
/*global ko, Chart */
(function(ko, Chart) {
ko.bindingHandlers.chartType = {
init: function(element, valueAccessor, allBindings, viewModel, bindingContext) {
if (!allBindings.has('chartData')) {
throw Error('chartType must be used in conjunction with chartData and (optionally) chartOptions');
}
},
@xalunda
xalunda / genesis_public_key
Created February 8, 2018 13:27
genesis_public_key
0411638836d4f6313b8c668a4ed1587ca8cd736ecf5880875f1bb9d7da70e136c026e3029775f5604361f615a606ef188c2c36ad3f1a658d8a603598739a728c10