-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Dirk Lüth
committed
Aug 5, 2015
1 parent
4a04419
commit aa7bfa7
Showing
384 changed files
with
695 additions
and
669 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
/*! | ||
* Qoopido.js library | ||
* | ||
* version: 3.7.1 | ||
* date: 2015-07-25 | ||
* version: 3.7.2 | ||
* date: 2015-08-05 | ||
* author: Dirk Lueth <[email protected]> | ||
* website: https://github.com/dlueth/qoopido.js | ||
* | ||
|
@@ -45,11 +45,10 @@ | |
prototype = modules["emitter"].extend({ | ||
_uuid: null, | ||
_constructor: function(url, id, version) { | ||
var self = this, uuid = generateUuid(), properties = lookup[uuid] = { | ||
var self = prototype._parent._constructor.call(this), uuid = generateUuid(), properties = lookup[uuid] = { | ||
dfd: new DeferedPromise(), | ||
url: url | ||
}; | ||
prototype._parent._constructor.call(self); | ||
self._uuid = uuid; | ||
if (id && version) { | ||
properties.id = id; | ||
|
@@ -60,6 +59,7 @@ | |
value: "©" + id | ||
}; | ||
} | ||
return self; | ||
}, | ||
fetch: function() { | ||
var self = this, properties = lookup[self._uuid], defered = properties.dfd, url = properties.url, id = properties.id, version = properties.version, storage = properties.storage, stored = storage && storage.version && localStorage[storage.version]; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
/*! | ||
* Qoopido.js library | ||
* | ||
* version: 3.7.1 | ||
* date: 2015-07-25 | ||
* version: 3.7.2 | ||
* date: 2015-08-05 | ||
* author: Dirk Lueth <[email protected]> | ||
* website: https://github.com/dlueth/qoopido.js | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
/*! | ||
* Qoopido.js library | ||
* | ||
* version: 3.7.1 | ||
* date: 2015-07-25 | ||
* version: 3.7.2 | ||
* date: 2015-08-05 | ||
* author: Dirk Lueth <[email protected]> | ||
* website: https://github.com/dlueth/qoopido.js | ||
* | ||
|
@@ -20,8 +20,7 @@ | |
_settings: null, | ||
_state: null, | ||
_constructor: function(data, settings) { | ||
var self = this; | ||
prototype._parent._constructor.call(self); | ||
var self = prototype._parent._constructor.call(this); | ||
self._settings = modules["function/merge"]({}, defaultSettings, settings || {}); | ||
self._state = { | ||
length: null, | ||
|
@@ -32,6 +31,7 @@ | |
if (data !== undefined && data !== null) { | ||
self.setData(data); | ||
} | ||
return self; | ||
}, | ||
getState: function() { | ||
var self = this; | ||
|
Oops, something went wrong.