mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-05 23:47:03 +03:00
Bugfix: put back the knockout bindings if/ifnot as they are in use
This commit is contained in:
parent
ba7ed497b2
commit
92836117ee
7 changed files with 206 additions and 145 deletions
|
|
@ -1,5 +1,5 @@
|
|||
// Google Closure Compiler helpers (used only to make the minified file smaller)
|
||||
ko.exportSymbol = function(koPath, object) {
|
||||
ko.exportSymbol = (koPath, object) => {
|
||||
var tokens = koPath.split(".");
|
||||
|
||||
// In the future, "ko" may become distinct from "koExports" (so that non-exported objects are not reachable)
|
||||
|
|
@ -10,6 +10,4 @@ ko.exportSymbol = function(koPath, object) {
|
|||
target = target[tokens[i]];
|
||||
target[tokens[tokens.length - 1]] = object;
|
||||
};
|
||||
ko.exportProperty = function(owner, publicName, object) {
|
||||
owner[publicName] = object;
|
||||
};
|
||||
ko.exportProperty = (owner, publicName, object) => owner[publicName] = object;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue