Skip to content

Commit 3c21760

Browse files
committed
further examples
1 parent 7b5df4b commit 3c21760

File tree

4 files changed

+42
-0
lines changed

4 files changed

+42
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<blockquote class="lang-specific javascript--browser">
2+
<p>The JavaScript library offers several overloaded version
3+
of the <code class="prettyprint">temporalData</code> method.</p>
4+
</blockquote>
5+
6+
>
7+
```javascript--browser
8+
Breinify.activity(function(data) {
9+
console.log(data);
10+
});
11+
```
12+
13+
'Object,String': function (user, type) {
14+
Breinify.activityUser(user, type, null, null, null, false, function (data) {
15+
_privates.ajax(url, data);
16+
});
17+
},
18+
'Object,String,Object': function (user, type, tags) {
19+
Breinify.activityUser(user, type, null, null, tags, false, function (data) {
20+
_privates.ajax(url, data);
21+
});
22+
},
23+
'Object,String,String,Object': function (user, type, description, tags) {
24+
Breinify.activityUser(user, type, null, description, tags, false, function (data) {
25+
_privates.ajax(url, data);
26+
});
27+
},
28+
'Object,String,String,String,Object': function (user, type, category, description, tags) {
29+
Breinify.activityUser(user, type, category, description, tags, false, function (data) {
30+
_privates.ajax(url, data);
31+
});
32+
},
33+
'Object,String,String,String,Object,Function': function (user, type, category, description, tags, callback) {
34+
Breinify.activityUser(user, type, category, description, tags, false, function (data) {
35+
_privates.ajax(url, data, callback, callback);
36+
});
37+
},
38+
'Object,String,String,String,Object,Boolean,Function': function (user, type, category, description, tags, sign, callback) {
39+
Breinify.activityUser(user, type, category, description, tags, sign, function (data) {
40+
_privates.ajax(url, data, callback, callback);
41+
});
42+
}

documentation/snippets/language-pageview-activity.md

Whitespace-only changes.

documentation/snippets/language-purchase-activity.md

Whitespace-only changes.
File renamed without changes.

0 commit comments

Comments
 (0)