Ubuntu Pastebin

Paste from ahayzen at Thu, 27 Aug 2015 21:12:47 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
        function push(page, properties) {
            // TODO: use async incubation via SDK suggestions
            var pageComponent = addPageToNextColumn(primaryPage, page);

            for (var prop in properties) {
                if (pageComponent.hasOwnProperty(prop)) {
                    pageComponent[prop] = properties[prop];
                }
            }
        }
Download as text