This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"equipments":[{"quantity":1,"equipmentName":"iPad","serialNumber":"Sad"},{"quantity":2,"equipmentName":"phone","serialNumber":"Zach"}],"questions":[{"order":1,"question":"Are there rats in the warehouse?","comment":"","answer":"Yes"},{"order":2,"question":"Is the temperature of the warehouse right?","comment":"","answer":"No"}],"inventoryItems":[{"productId":"11223344","productName":"ARIXTRA INJ PF SYRINGE7.5MG/.6ML SPL 2S","lotNumber":"LtN_0075218B-DE81-439B-8FBE-8E82A706F16D","packageQuantity":1,"eachQuantity":0,"quantity":64}],"transactions":[{"id":null,"trackingNumber":"empty","transferInEmployeeId":"empty","transferInLastName":"empty","transferInFirstName":"empty","address1":"empty","address2":"empty","city":"empty","state":"NA","zip":"empty","territory":"empty","confirmationNumber":"empty","transactionType":"empty","warehouseName":"empty","authorizationNumber":"empty","inventories":[{"productId":"06de10f0-aeb2-4bad-8822-fb92239c43b2","productName":"ARIXTRA INJ PF SYRINGE7.5MG/.6ML SPL 2S","lotNumber":" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function (root, factory) { | |
if ( typeof define === 'function' && define.amd ) { | |
define([], factory(root)); | |
} else if ( typeof exports === 'object' ) { | |
module.exports = factory(root); | |
} else { | |
root.myPlugin = factory(root); | |
} | |
})(typeof global !== "undefined" ? global : this.window || this.global, function (root) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function memorySizeOf(obj) { | |
var bytes = 0; | |
function sizeOf(obj) { | |
if(obj !== null && obj !== undefined) { | |
switch(typeof obj) { | |
case 'number': | |
bytes += 8; | |
break; | |
case 'string': |