Skip to content

Commit

Permalink
added missing tet file
Browse files Browse the repository at this point in the history
  • Loading branch information
marekgach committed Dec 1, 2015
1 parent 59ec307 commit 1659eaa
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions tests/chat_code.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<script type="text/javascript">
var _smartsupp = _smartsupp || {};
_smartsupp.key = 'XYZ123456';
_smartsupp.cookieDomain = '.foo.bar';
_smartsupp.sendEmailTanscript = false;
_smartsupp.ratingEnabled = true; // by default false
_smartsupp.ratingType = 'advanced'; // by default 'simple'
_smartsupp.ratingComment = true; // default false
_smartsupp.alignX = 'left'; // or 'left'
_smartsupp.alignY = 'side'; // by default 'bottom'
_smartsupp.widget = 'button'; // by default 'widget'
_smartsupp.offsetX = 20; // offset from left / right, default 10
_smartsupp.offsetY = 120; // offset from top, default 100
_smartsupp.gaKey = 'UA-123456';
_smartsupp.gaOptions = {'cookieDomain': '.foo.bar'};
_smartsupp.hideWidget = true;
window.smartsupp||(function(d) {
var s,c,o=smartsupp=function(){ o._.push(arguments)};o._=[];
s=d.getElementsByTagName('script')[0];c=d.createElement('script');
c.type='text/javascript';c.charset='utf-8';c.async=true;
c.src='//www.smartsuppchat.com/loader.js';s.parentNode.insertBefore(c,s);
})(document);smartsupp('email', '[email protected]');
smartsupp('name', 'Johny Depp');
smartsupp('variables', {orderTotal: {label: 'Total orders', value: '150'}, lastOrder: {label: 'Last ordered', value: '2015-07-09'}});
</script>

0 comments on commit 1659eaa

Please sign in to comment.