Skip to content

Commit 1659eaa

Browse files
committed
added missing tet file
1 parent 59ec307 commit 1659eaa

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

tests/chat_code.txt

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<script type="text/javascript">
2+
var _smartsupp = _smartsupp || {};
3+
_smartsupp.key = 'XYZ123456';
4+
_smartsupp.cookieDomain = '.foo.bar';
5+
_smartsupp.sendEmailTanscript = false;
6+
_smartsupp.ratingEnabled = true; // by default false
7+
_smartsupp.ratingType = 'advanced'; // by default 'simple'
8+
_smartsupp.ratingComment = true; // default false
9+
_smartsupp.alignX = 'left'; // or 'left'
10+
_smartsupp.alignY = 'side'; // by default 'bottom'
11+
_smartsupp.widget = 'button'; // by default 'widget'
12+
_smartsupp.offsetX = 20; // offset from left / right, default 10
13+
_smartsupp.offsetY = 120; // offset from top, default 100
14+
_smartsupp.gaKey = 'UA-123456';
15+
_smartsupp.gaOptions = {'cookieDomain': '.foo.bar'};
16+
_smartsupp.hideWidget = true;
17+
window.smartsupp||(function(d) {
18+
var s,c,o=smartsupp=function(){ o._.push(arguments)};o._=[];
19+
s=d.getElementsByTagName('script')[0];c=d.createElement('script');
20+
c.type='text/javascript';c.charset='utf-8';c.async=true;
21+
c.src='//www.smartsuppchat.com/loader.js';s.parentNode.insertBefore(c,s);
22+
})(document);smartsupp('email', 'johny@depp.com');
23+
smartsupp('name', 'Johny Depp');
24+
smartsupp('variables', {orderTotal: {label: 'Total orders', value: '150'}, lastOrder: {label: 'Last ordered', value: '2015-07-09'}});
25+
</script>

0 commit comments

Comments
 (0)