-
Notifications
You must be signed in to change notification settings - Fork 0
/
bbi.luminate.js
73 lines (40 loc) · 1 KB
/
bbi.luminate.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
/*! BBI Luminate (c) Blackbaud, Inc. */
(function(_win, bbi) {
"use strict";
var alias = "luminate";
bbi.on("init", function() {
bbi.extension({
alias: alias,
defaults: {},
directive: function (ext, bbi, $) {
var settings = ext.settings();
var _yahoo$;
var methods = {
yahoo: function (callback) {
if (typeof _yahoo$ === "function") {
callback(_yahoo$);
return;
}
if (typeof _win.Y !== "undefined" && typeof _win.Y.use === "function") {
_win.Y.use('jquery-ui', function (Y) {
var j = bbi("jQuery").getInstance(0);
_yahoo$ = jQuery;
j.setLocation("window", _yahoo$);
j.setLocation("luminate", _yahoo$);
callback(_yahoo$);
return;
});
}
callback();
}
};
var __construct = (function () {
}());
return {
fetchYahoo: methods.yahoo
};
}
});
var instance = bbi.instantiate(alias);
});
}.call({}, window, bbiGetInstance()));