mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-05 07:27:04 +03:00
Clone 3.5.1 from github
This commit is contained in:
parent
5d281486d0
commit
091c4ec811
65 changed files with 6957 additions and 7 deletions
15
vendors/knockout/src/google-closure-compiler-utils.js
vendored
Normal file
15
vendors/knockout/src/google-closure-compiler-utils.js
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
// Google Closure Compiler helpers (used only to make the minified file smaller)
|
||||
ko.exportSymbol = function(koPath, object) {
|
||||
var tokens = koPath.split(".");
|
||||
|
||||
// In the future, "ko" may become distinct from "koExports" (so that non-exported objects are not reachable)
|
||||
// At that point, "target" would be set to: (typeof koExports !== "undefined" ? koExports : ko)
|
||||
var target = ko;
|
||||
|
||||
for (var i = 0; i < tokens.length - 1; i++)
|
||||
target = target[tokens[i]];
|
||||
target[tokens[tokens.length - 1]] = object;
|
||||
};
|
||||
ko.exportProperty = function(owner, publicName, object) {
|
||||
owner[publicName] = object;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue