Skip to content

Commit

Permalink
alloylever version 0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kmdjs committed May 11, 2016
1 parent f3b2aec commit a28429f
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 25 deletions.
35 changes: 23 additions & 12 deletions dist/alloy_lever.js
Original file line number Diff line number Diff line change
Expand Up @@ -3163,15 +3163,26 @@ App.loadFile("component/alloy_lever/index.html", function (tpl) {
window.AlloyLever= AlloyLever;
});
})();
new AlloyLever({
hide:true,
reportTo:'xxx',
height:'55%',
index:1,
logs:[],
tx:0,
ty:0,
timeline:[],
xhrs:[],
resources:{cookie:'',storage:''}
},'body');
(function(){
try {
if(!document.body){
alert('please put the alloylever script reference between <body> and </body>');
return;
}
new AlloyLever({
hide: true,
reportTo: 'xxx',
height: '55%',
index: 1,
logs: [],
tx: 0,
ty: 0,
timeline: [],
xhrs: [],
resources: {cookie: '', storage: ''}
}, 'body');
}catch(e) {
alert(e);
};

})()
Loading

0 comments on commit a28429f

Please sign in to comment.