dictionary.getGlobal()

dictionary.getGlobal()
Returns: null

Description:  Used to retrieve the values directly from the global scope.

The values retrieved will still belong to the global scope and not will be part of the local scope. For example consider that global is {test: “test”} :

var testDictionary = klevu.dictionary("test");
testDictionary.getGlobal(); // {test: "test"}
testDictionary.getElements(); // {}

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>