PHP Classes

File: public/assets/bower_components/bootstrap-colorpicker/spec/color/hex-color-spec.js

Recommend this page to a friend!
  Classes of Abed Nego Ragil Putra   PHP Inventory Management System with Scanner   public/assets/bower_components/bootstrap-colorpicker/spec/color/hex-color-spec.js   Download  
File: public/assets/bower_components/bootstrap-colorpicker/spec/color/hex-color-spec.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Inventory Management System with Scanner
Manage inventory stock using scanner application
Author: By
Last change:
Date: 1 year ago
Size: 329 bytes
 

Contents

Class file image Download
var Color = require("../../src/js/colorpicker-color.js"); it("should return color in raw format", function(){ var color = new Color('aabbcc'); expect(color.toHex(true)).toEqual("#aabbcc"); }); it("should return color formatted", function(){ var color = new Color('aabbcc'); expect(color.toHex()).toEqual("aabbcc"); });