Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #18721 from KevinGrandon/bug_1002264_remove_system…
Browse files Browse the repository at this point in the history
…_publish

Bug 1002264 - [System] Remove System.publish function
  • Loading branch information
KevinGrandon committed Apr 29, 2014
2 parents 17c3192 + 1bac58c commit 6c6f82d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions apps/system/js/simslot_manager.js
@@ -1,4 +1,4 @@
/* global SIMSlot, System, SIMSlotManager */
/* global SIMSlot, SIMSlotManager */
'use strict';

(function(window) {
Expand Down Expand Up @@ -180,7 +180,7 @@
publishSIMSlotIsReady: function() {
if (!this.ready) {
this.ready = true;
System.publish('simslotready');
window.dispatchEvent(new CustomEvent('simslotready'));
}
},

Expand Down
5 changes: 0 additions & 5 deletions apps/system/js/system.js
Expand Up @@ -33,11 +33,6 @@
*/
slowTransition: false,

publish: function sys_publish(eventName, detail) {
var evt = new CustomEvent(eventName, { detail: detail });
window.dispatchEvent(evt);
},

debug: function sys_debug() {
if (DEBUG) {
console.log('[System]' +
Expand Down

0 comments on commit 6c6f82d

Please sign in to comment.