This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Normalizes text by converting it to lower case, and | |
* replacing all non-accepted characters with underscores. | |
* | |
* @static | |
* @method normalize | |
* @param {String} text | |
* The text to normalize | |
* @param {String} replacement | |
* Defaults to '_'. A string to replace one or more unacceptable characters. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function loadMoreStuff(callback, options) { | |
// standard options stuff | |
var o = Q.extend({ | |
max: -1, | |
limit: 10 | |
}, loadMoreStuff.options, options); | |
// use streams api | |
Q.Message.get(publisherId, streamName, o, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r c3f7255b9205 platform/plugins/Streams/web/js/tools/access.js | |
--- a/platform/plugins/Streams/web/js/tools/access.js Wed Jun 18 12:38:37 2014 -0400 | |
+++ b/platform/plugins/Streams/web/js/tools/access.js Wed Jun 18 14:05:18 2014 -0400 | |
@@ -81,7 +81,7 @@ | |
} | |
$this.closest('tr').remove(); | |
if (criteria.ofUserId) { | |
- delete me.child('Streams_userChooser_').exclude[criteria.ofUserId]; | |
+ delete me.child('Streams_userChooser').exclude[criteria.ofUserId]; | |
} else if (criteria.ofContactLabel) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r c3f7255b9205 platform/plugins/Streams/web/js/tools/access.js | |
--- a/platform/plugins/Streams/web/js/tools/access.js Wed Jun 18 12:38:37 2014 -0400 | |
+++ b/platform/plugins/Streams/web/js/tools/access.js Wed Jun 18 14:05:18 2014 -0400 | |
@@ -81,7 +81,7 @@ | |
} | |
$this.closest('tr').remove(); | |
if (criteria.ofUserId) { | |
- delete me.child('Streams_userChooser_').exclude[criteria.ofUserId]; | |
+ delete me.child('Streams_userChooser').exclude[criteria.ofUserId]; | |
} else if (criteria.ofContactLabel) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From a93d584bfd081e352e06ea094cb07d07e1e8c15c Mon Sep 17 00:00:00 2001 | |
From: Greg Magarshak <[email protected]> | |
Date: Wed, 18 Jun 2014 12:38:03 -0400 | |
Subject: [PATCH] Started working on the modern Streams/access tool | |
--- | |
.../plugins/Streams/classes/Streams/Avatar.php | 5 ++- | |
.../plugins/Streams/classes/Streams/Stream.php | 6 +-- | |
.../Streams/handlers/Streams/access/put.php | 6 +-- | |
.../Streams/handlers/Streams/access/tool.php | 45 ++++++++++++---------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is the most open letter ever. | |
Other authors claim their letters are "open" | |
because you can all read them, but in reality, | |
they are nothing but the rants of one person, | |
which you might not even completely agree with, | |
or will piss you off. | |
By contrast, this letter is truly open and | |
gives you the freedom to fork and modify it. | |
Pissed about Mike Arrington investing? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Q.Promise constructor. | |
* Call the .fulfill(...) or .reject(...) method to | |
* signal that the promise is fulfilled or rejected. | |
* Implemented according to http://promises-aplus.github.io/promises-spec/ | |
* with two exceptions: | |
* 2.2.5) fulfill and reject can in fact accept "this", and pass it on | |
* 2.3.3.3.1) the first callback to .then() doesn't treat its arguments specially | |
*/ | |
Q.Promise = function () { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Q.Promise constructor. | |
* Call the .fulfill(...) or .reject(...) method to | |
* signal that the promise is fulfilled or rejected. | |
* Implemented according to http://promises-aplus.github.io/promises-spec/ | |
* with two exceptions: | |
* 2.2.5) fulfill and reject can in fact accept "this", and pass it on | |
* 2.3.3.3.1) the first callback to .then() doesn't treat its arguments specially | |
*/ | |
Q.Promise = function () { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @module Db | |
*/ | |
class Db_Mysql implements iDb | |
{ | |
/** | |
* This class lets you create and use PDO database connections. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@li226-103 Q]$ hg strip 2970 | |
saved backup bundle to /live/Q/.hg/strip-backup/d81bd91d5db2-backup.hg | |
Started to generate API documentation | |
[root@li226-103 Q]$ hg log | head | |
2970[tip]:2967,2969 3c779bf0f46f 2013-03-21 10:25 -0400 gregory | |
merged develop - hopefully this will fix the bugs | |
2969 417d2a852997 2013-03-21 04:28 +0400 dmitriy | |
Removed 'behavior' css3pie property from css rules and made separate UI-ie.css files with that 'behavior' property. |