DSIMA
 All Classes Namespaces Files Functions Variables
general.js File Reference

Functions

function log (str)
 Display logging information. More...
 
function activateTabs ()
 Tabs activation. More...
 
function activateTogglers ()
 Activate the togglers. More...
 
function hashFnv32a (str, asString, seed)
 Calculate a 32 bit FNV-1a hash Source: http://stackoverflow.com/questions/7616461/generate-a-hash-from-string-in-javascript-jquery Found here: https://gist.github.com/vaiorabbit/5657561 Ref. More...
 
document ready (function(){activateTabs();activateTogglers();log("Loaded.");})
 

Variables

var logVar ="Loading...\n"
 This file contains the general javascript code. More...
 

Function Documentation

function activateTabs ( )
function activateTogglers ( )

Activate the togglers.

function hashFnv32a (   str,
  asString,
  seed 
)

Calculate a 32 bit FNV-1a hash Source: http://stackoverflow.com/questions/7616461/generate-a-hash-from-string-in-javascript-jquery Found here: https://gist.github.com/vaiorabbit/5657561 Ref.

: http://isthe.com/chongo/tech/comp/fnv/

Parameters
strString with the input value.
asStringBoolean [asString=false] set to true to return the hash value as 8-digit hex string instead of an integer.
seedSeed optionally pass the hash of the previous chunk.
Returns
An integer or a string.
function log (   str)

Display logging information.

Parameters
strContent to log.
document ready ( function(){activateTabs();activateTogglers();log("Loaded.");}  )

Variable Documentation

var logVar ="Loading...\n"

This file contains the general javascript code.

Log content string variable.