Skip to content
Wisebit (alias Enum Wizard) - create and manage bit aliases
JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
LICENSE
README.md
demo.gif
index.html
knockout-min.js
manifest.appcache
wisebit.js

README.md

A quick and easy-to-use tool to create lists of bits to use in rights management or whatever you find it useful for

Originally drafted on JSBin, then put on GitHub Wisebit repo.

By @Sherbrow.

Using Knockout.js.

wisebit.switchEngine("Engine Name");

wisebit.registerEngine("Engine Name", function(
  // `this` is the wisebit viewmodel
  values // [ { name: "State", base: 2 }, ... ]
  // `this.keyedValues` = { "State": 2, ... }
) { return "string"; });

wisebit.addValue("State");

wisebit.addValues([ { name: "State", base: 2 }, ... ]);

wisebit.examples.push({ name: "Ex1", callback: function(wisebit){}});

wisebit.reset();

Help

Demo on gfycat or as a gif and result on wisebit

You can’t perform that action at this time.