Skip to content

Commit c3f0296

Browse files
committed
- added missing function in fallback
- updated version
1 parent 4e49d6d commit c3f0296

File tree

5 files changed

+14
-7
lines changed

5 files changed

+14
-7
lines changed

dist/breinify-api.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* breinify-api
3-
* v1.0.0-snapshot
3+
* v1.0.2-snapshot
44
**/
55
/*
66
* We inject a dependencyScope variable, which will be used
@@ -12373,7 +12373,7 @@ dependencyScope.jQuery = $;;
1237312373
});
1237412374

1237512375
var BreinifyConfig = function (config) {
12376-
this.version = '1.0.0-snapshot';
12376+
this.version = '1.0.2-snapshot';
1237712377

1237812378
/*
1237912379
* Validate the passed config-parameters.
@@ -12534,7 +12534,7 @@ dependencyScope.jQuery = $;;
1253412534

1253512535
var BreinifyUser = function (user, onReady) {
1253612536
var instance = this;
12537-
instance.version = '1.0.0-snapshot';
12537+
instance.version = '1.0.2-snapshot';
1253812538

1253912539
// set the values provided
1254012540
instance.setAll(user);
@@ -12766,7 +12766,7 @@ dependencyScope.jQuery = $;;
1276612766
* The one and only instance of the library.
1276712767
*/
1276812768
var Breinify = {
12769-
version: '1.0.0-snapshot',
12769+
version: '1.0.2-snapshot',
1277012770
jQueryVersion: $.fn.jquery
1277112771
};
1277212772

@@ -13042,6 +13042,7 @@ dependencyScope.jQuery = $;;
1304213042
click: function() {},
1304313043
pageloaded: function() {}
1304413044
},
13045+
select: function() { return null; },
1304513046
texts: function() { return []; },
1304613047
text: function() { return null; },
1304713048
setText: function() {},

dist/breinify-api.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
11
{
22
"name": "breinify-api",
3-
"version": "1.0.0-snapshot",
3+
"version": "1.0.2-snapshot",
44
"description": "This is a JavaScript library simplifying the usage of the Breinify API",
55
"authors": [
66
"Philipp Meisen <philipp@breinify.com>",
77
"Marco Recchioni <marco@breinify.com>",
88
"Diane Keng <diane@breinify.com>"
99
],
10+
1011
"license": "MIT",
1112
"private": false,
1213
"repository": {
1314
"type": "git",
1415
"url": "git+https://github.com/breinify/brein-api-library-javascript-browser.git"
1516
},
1617
"main": "dist/breinify-api.js",
18+
"scripts": {
19+
"test": "grunt test"
20+
},
1721
"dependencies": {
1822
},
1923
"devDependencies": {

specs/BreinifyUser-spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ describe('BreinifyUser', function () {
2727
expect(user.all()).toEqual({
2828
'additional': {
2929
'userAgent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.1.1 Safari/538.1',
30+
'referrer': '',
3031
'location': null
3132
}
3233
});

src/snippets/suffix-global.js.snippet

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
click: function() {},
6969
pageloaded: function() {}
7070
},
71+
select: function() { return null; },
7172
texts: function() { return []; },
7273
text: function() { return null; },
7374
setText: function() {},

0 commit comments

Comments
 (0)