mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-02-07 01:54:16 +01:00
Wrap OC.Contacts in immediate function
This commit is contained in:
parent
a1c8fe7f1e
commit
71a4ca334b
@ -1,5 +1,3 @@
|
|||||||
'use strict';
|
|
||||||
|
|
||||||
Modernizr.load({
|
Modernizr.load({
|
||||||
test: Modernizr.input.placeholder,
|
test: Modernizr.input.placeholder,
|
||||||
nope: [
|
nope: [
|
||||||
@ -153,7 +151,7 @@ OC.notify = function(params) {
|
|||||||
(function(window, $, OC) {
|
(function(window, $, OC) {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
OC.Contacts = OC.Contacts || {
|
OC.Contacts = OC.Contacts || {
|
||||||
init:function() {
|
init:function() {
|
||||||
if(oc_debug === true) {
|
if(oc_debug === true) {
|
||||||
$.error = console.error;
|
$.error = console.error;
|
||||||
@ -1667,7 +1665,8 @@ OC.Contacts = OC.Contacts || {
|
|||||||
cb();
|
cb();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
})(window, jQuery, OC);
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user