"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "modules/base/js/owa.js" between
Open-Web-Analytics-1.6.9.tar.gz and Open-Web-Analytics-1.7.0.tar.gz

About: Open Web Analytics (OWA) is web analytics software to track and analyze how people use your web sites and applications.

owa.js  (Open-Web-Analytics-1.6.9):owa.js  (Open-Web-Analytics-1.7.0)
var OWA = { /**
* OWA Global Object
*
* @author Peter Adams <peter@openwebanalytics.com>
* @copyright Copyright &copy; 2006 Peter Adams <peter@openwebanalytics.com>
* @license http://www.openwebanalytics.com/licenses/ BSD-3 Clause
*/
var OWA = {
items: {}, items: {},
hooks: { hooks: {
actions: {}, actions: {},
filters: {} filters: {}
}, },
loadedJsLibs: {}, loadedJsLibs: {},
overlay: '', overlay: '',
config: { config: {
ns: 'owa_', ns: 'owa_',
skipping to change at line 996 skipping to change at line 1003
eraseMultipleCookies: function(names, domain) { eraseMultipleCookies: function(names, domain) {
for (var i=0; i < names.length; i++) { for (var i=0; i < names.length; i++) {
this.eraseCookie(names[i], domain); this.eraseCookie(names[i], domain);
} }
}, },
loadScript: function (url, callback){ loadScript: function (url, callback){
return LazyLoad.js(url, callback); var script = document.createElement("script");
script.type = "text/javascript";
if (script.readyState) { //IE
script.onreadystatechange = function(){
if (script.readyState == "loaded" || script.readyState == "co
mplete") {
script.onreadystatechange = null;
callback();
}
};
} else { //Others
script.onload = function() {
callback();
};
}
script.src = url;
document.getElementsByTagName("head")[0].appendChild(script);
}, },
loadCss: function (url, callback){ loadCss: function (url, callback){
return LazyLoad.css(url, callback); // Create new link Element
var link = document.createElement('link');
// set the attributes for link element
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = url;
// Get HTML head element to append
// link element to it
document.getElementsByTagName('HEAD')[0].appendChild(link);
}, },
parseCookieString: function parseQuery(v) { parseCookieString: function parseQuery(v) {
var queryAsAssoc = new Array(); var queryAsAssoc = new Array();
var queryString = unescape(v); var queryString = unescape(v);
var keyValues = queryString.split("|||"); var keyValues = queryString.split("|||");
//alert(keyValues); //alert(keyValues);
for (var i in keyValues) { for (var i in keyValues) {
if (keyValues.hasOwnProperty(i)) { if (keyValues.hasOwnProperty(i)) {
var key = keyValues[i].split("=>"); var key = keyValues[i].split("=>");
 End of changes. 3 change blocks. 
3 lines changed or deleted 48 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)