Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13980767
D10104.id24301.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
3 KB
Referenced Files
None
Subscribers
None
D10104.id24301.diff
View Options
diff --git a/resources/celerity/map.php b/resources/celerity/map.php
--- a/resources/celerity/map.php
+++ b/resources/celerity/map.php
@@ -8,7 +8,7 @@
return array(
'names' => array(
'core.pkg.css' => 'cd8c18d3',
- 'core.pkg.js' => 'ba6a742f',
+ 'core.pkg.js' => 'c3965034',
'darkconsole.pkg.js' => 'df001cab',
'differential.pkg.css' => '4a93db37',
'differential.pkg.js' => '7528cfc9',
@@ -172,7 +172,7 @@
'rsrc/externals/javelin/core/init.js' => 'b88ab49e',
'rsrc/externals/javelin/core/init_node.js' => 'd7dde471',
'rsrc/externals/javelin/core/install.js' => '1ffb3a9c',
- 'rsrc/externals/javelin/core/util.js' => 'a23de73d',
+ 'rsrc/externals/javelin/core/util.js' => 'e7995242',
'rsrc/externals/javelin/docs/Base.js' => '74676256',
'rsrc/externals/javelin/docs/onload.js' => 'e819c479',
'rsrc/externals/javelin/ext/fx/Color.js' => '7e41274a',
@@ -390,7 +390,6 @@
'rsrc/js/application/doorkeeper/behavior-doorkeeper-tag.js' => 'e5822781',
'rsrc/js/application/files/behavior-icon-composer.js' => '8ef9ab58',
'rsrc/js/application/files/behavior-launch-icon-composer.js' => '48086888',
- 'rsrc/js/application/harbormaster/behavior-reorder-steps.js' => 'b716477f',
'rsrc/js/application/herald/HeraldRuleEditor.js' => '3fc2c8f2',
'rsrc/js/application/herald/PathTypeahead.js' => 'f7fc67ec',
'rsrc/js/application/herald/herald-rule-editor.js' => '7ebaeed3',
@@ -591,7 +590,6 @@
'javelin-behavior-error-log' => 'a5d7cf86',
'javelin-behavior-fancy-datepicker' => 'a5573bcd',
'javelin-behavior-global-drag-and-drop' => '3672899b',
- 'javelin-behavior-harbormaster-reorder-steps' => 'b716477f',
'javelin-behavior-herald-rule-editor' => '7ebaeed3',
'javelin-behavior-high-security-warning' => '8fc1c918',
'javelin-behavior-history-install' => '7ee2b591',
@@ -689,7 +687,7 @@
'javelin-typeahead-source' => 'fcba4ecc',
'javelin-typeahead-static-source' => '316b8fa1',
'javelin-uri' => '6eff08aa',
- 'javelin-util' => 'a23de73d',
+ 'javelin-util' => 'e7995242',
'javelin-vector' => '23cbb8ac',
'javelin-view' => '0f764c35',
'javelin-view-html' => 'e5b406f9',
@@ -1620,13 +1618,6 @@
'javelin-install',
'javelin-util',
),
- 'b716477f' => array(
- 'javelin-behavior',
- 'javelin-stratcom',
- 'javelin-workflow',
- 'javelin-dom',
- 'phabricator-draggable-list',
- ),
'bba9eedf' => array(
'javelin-behavior',
'javelin-stratcom',
diff --git a/webroot/rsrc/externals/javelin/core/util.js b/webroot/rsrc/externals/javelin/core/util.js
--- a/webroot/rsrc/externals/javelin/core/util.js
+++ b/webroot/rsrc/externals/javelin/core/util.js
@@ -279,28 +279,27 @@
};
-JX.log = JX.bag;
-
-if (__DEV__) {
- if (!window.console || !window.console.log) {
- if (window.opera && window.opera.postError) {
- window.console = {log: function(m) { window.opera.postError(m); }};
- } else {
- window.console = {log: function(m) { }};
- }
+if (!window.console || !window.console.log) {
+ if (window.opera && window.opera.postError) {
+ window.console = {log: function(m) { window.opera.postError(m); }};
+ } else {
+ window.console = {log: function(m) { }};
}
+}
- /**
- * Print a message to the browser debugging console (like Firebug). This
- * method exists only in ##__DEV__##.
- *
- * @param string Message to print to the browser debugging console.
- * @return void
- */
- JX.log = function(message) {
- window.console.log(message);
- };
+/**
+ * Print a message to the browser debugging console (like Firebug).
+ *
+ * @param string Message to print to the browser debugging console.
+ * @return void
+ */
+JX.log = function(message) {
+ window.console.log(message);
+};
+
+
+if (__DEV__) {
window.alert = (function(native_alert) {
var recent_alerts = [];
var in_alert = false;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Oct 20, 12:28 PM (4 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6718494
Default Alt Text
D10104.id24301.diff (3 KB)
Attached To
Mode
D10104: Always install JX.log, even in production
Attached
Detach File
Event Timeline
Log In to Comment