Skip to content

Commit 88e9240

Browse files
committed
Updated website (automated commit)
1 parent a4ae639 commit 88e9240

File tree

8 files changed

+36
-43
lines changed

8 files changed

+36
-43
lines changed

_sources/install.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ you follow the instructions on this page, which provide a setup based on Python
1212
2.7. This includes all the dependencies to run the notebook and optionally the
1313
basic libraries for scientific computing and data analysis.
1414

15-
.. note::
16-
17-
We have just made a new release, and it will take some time to appear in
18-
Anaconda, Enthought Canopy and Linux distributions.
19-
2015
**Mac or Windows**
2116

2217
1. Download and install `Anaconda <http://continuum.io/downloads.html>`_ or the

_sources/pyreadline.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ The current stable release is 1.7.
3737

3838
Development is hosted at `github
3939
<https://github.com/pyreadline/pyreadline>`_. The `issue tracker
40-
<https://bugs.launchpad.net/pyreadline>`_ is hosted there as well.
40+
<https://github.com/pyreadline/pyreadline/issues>`_ is hosted there as well.

_static/simons-logo.jpg

-128 KB
Binary file not shown.

_static/sloan-logo.jpg

-136 KB
Binary file not shown.

_static/underscore.js

Lines changed: 34 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// Underscore.js 1.4.3
1+
// Underscore.js 1.4.4
22
// http://underscorejs.org
3-
// (c) 2009-2012 Jeremy Ashkenas, DocumentCloud Inc.
3+
// (c) 2009-2013 Jeremy Ashkenas, DocumentCloud Inc.
44
// Underscore may be freely distributed under the MIT license.
55

66
(function() {
@@ -64,7 +64,7 @@
6464
}
6565

6666
// Current version.
67-
_.VERSION = '1.4.3';
67+
_.VERSION = '1.4.4';
6868

6969
// Collection Functions
7070
// --------------------
@@ -224,8 +224,9 @@
224224
// Invoke a method (with arguments) on every item in a collection.
225225
_.invoke = function(obj, method) {
226226
var args = slice.call(arguments, 2);
227+
var isFunc = _.isFunction(method);
227228
return _.map(obj, function(value) {
228-
return (_.isFunction(method) ? method : value[method]).apply(value, args);
229+
return (isFunc ? method : value[method]).apply(value, args);
229230
});
230231
};
231232

@@ -235,17 +236,23 @@
235236
};
236237

237238
// Convenience version of a common use case of `filter`: selecting only objects
238-
// with specific `key:value` pairs.
239-
_.where = function(obj, attrs) {
240-
if (_.isEmpty(attrs)) return [];
241-
return _.filter(obj, function(value) {
239+
// containing specific `key:value` pairs.
240+
_.where = function(obj, attrs, first) {
241+
if (_.isEmpty(attrs)) return first ? null : [];
242+
return _[first ? 'find' : 'filter'](obj, function(value) {
242243
for (var key in attrs) {
243244
if (attrs[key] !== value[key]) return false;
244245
}
245246
return true;
246247
});
247248
};
248249

250+
// Convenience version of a common use case of `find`: getting the first object
251+
// containing specific `key:value` pairs.
252+
_.findWhere = function(obj, attrs) {
253+
return _.where(obj, attrs, true);
254+
};
255+
249256
// Return the maximum element or (element-based computation).
250257
// Can't optimize arrays of integers longer than 65,535 elements.
251258
// See: https://bugs.webkit.org/show_bug.cgi?id=80797
@@ -567,34 +574,31 @@
567574
// Function (ahem) Functions
568575
// ------------------
569576

570-
// Reusable constructor function for prototype setting.
571-
var ctor = function(){};
572-
573577
// Create a function bound to a given object (assigning `this`, and arguments,
574-
// optionally). Binding with arguments is also known as `curry`.
575-
// Delegates to **ECMAScript 5**'s native `Function.bind` if available.
576-
// We check for `func.bind` first, to fail fast when `func` is undefined.
578+
// optionally). Delegates to **ECMAScript 5**'s native `Function.bind` if
579+
// available.
577580
_.bind = function(func, context) {
578-
var args, bound;
579581
if (func.bind === nativeBind && nativeBind) return nativeBind.apply(func, slice.call(arguments, 1));
580-
if (!_.isFunction(func)) throw new TypeError;
581-
args = slice.call(arguments, 2);
582-
return bound = function() {
583-
if (!(this instanceof bound)) return func.apply(context, args.concat(slice.call(arguments)));
584-
ctor.prototype = func.prototype;
585-
var self = new ctor;
586-
ctor.prototype = null;
587-
var result = func.apply(self, args.concat(slice.call(arguments)));
588-
if (Object(result) === result) return result;
589-
return self;
582+
var args = slice.call(arguments, 2);
583+
return function() {
584+
return func.apply(context, args.concat(slice.call(arguments)));
585+
};
586+
};
587+
588+
// Partially apply a function by creating a version that has had some of its
589+
// arguments pre-filled, without changing its dynamic `this` context.
590+
_.partial = function(func) {
591+
var args = slice.call(arguments, 1);
592+
return function() {
593+
return func.apply(this, args.concat(slice.call(arguments)));
590594
};
591595
};
592596

593597
// Bind all of an object's methods to that object. Useful for ensuring that
594598
// all callbacks defined on an object belong to it.
595599
_.bindAll = function(obj) {
596600
var funcs = slice.call(arguments, 1);
597-
if (funcs.length == 0) funcs = _.functions(obj);
601+
if (funcs.length === 0) funcs = _.functions(obj);
598602
each(funcs, function(f) { obj[f] = _.bind(obj[f], obj); });
599603
return obj;
600604
};
@@ -1019,7 +1023,7 @@
10191023
max = min;
10201024
min = 0;
10211025
}
1022-
return min + (0 | Math.random() * (max - min + 1));
1026+
return min + Math.floor(Math.random() * (max - min + 1));
10231027
};
10241028

10251029
// List of HTML entities for escaping.
@@ -1075,7 +1079,7 @@
10751079
// Useful for temporary DOM ids.
10761080
var idCounter = 0;
10771081
_.uniqueId = function(prefix) {
1078-
var id = '' + ++idCounter;
1082+
var id = ++idCounter + '';
10791083
return prefix ? prefix + id : id;
10801084
};
10811085

@@ -1110,6 +1114,7 @@
11101114
// Underscore templating handles arbitrary delimiters, preserves whitespace,
11111115
// and correctly escapes quotes within interpolated code.
11121116
_.template = function(text, data, settings) {
1117+
var render;
11131118
settings = _.defaults({}, settings, _.templateSettings);
11141119

11151120
// Combine delimiters into one regular expression via alternation.
@@ -1148,7 +1153,7 @@
11481153
source + "return __p;\n";
11491154

11501155
try {
1151-
var render = new Function(settings.variable || 'obj', '_', source);
1156+
render = new Function(settings.variable || 'obj', '_', source);
11521157
} catch (e) {
11531158
e.source = source;
11541159
throw e;

install.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -226,11 +226,6 @@ <h1>Installing IPython<a class="headerlink" href="#installing-ipython" title="Pe
226226
you follow the instructions on this page, which provide a setup based on Python
227227
2.7. This includes all the dependencies to run the notebook and optionally the
228228
basic libraries for scientific computing and data analysis.</p>
229-
<div class="admonition note">
230-
<p class="first admonition-title">Note</p>
231-
<p class="last">We have just made a new release, and it will take some time to appear in
232-
Anaconda, Enthought Canopy and Linux distributions.</p>
233-
</div>
234229
<p><strong>Mac or Windows</strong></p>
235230
<p>1. Download and install <a class="reference external" href="http://continuum.io/downloads.html">Anaconda</a> or the
236231
free edition of <a class="reference external" href="https://www.enthought.com/products/epd_free.php">Enthought Canopy</a>.</p>

pyreadline.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ <h2>Mailing list<a class="headerlink" href="#mailing-list" title="Permalink to t
251251
<div class="section" id="status-and-development">
252252
<h2>Status and development<a class="headerlink" href="#status-and-development" title="Permalink to this headline"></a></h2>
253253
<p>The current stable release is 1.7.</p>
254-
<p>Development is hosted at <a class="reference external" href="https://github.com/pyreadline/pyreadline">github</a>. The <a class="reference external" href="https://bugs.launchpad.net/pyreadline">issue tracker</a> is hosted there as well.</p>
254+
<p>Development is hosted at <a class="reference external" href="https://github.com/pyreadline/pyreadline">github</a>. The <a class="reference external" href="https://github.com/pyreadline/pyreadline/issues">issue tracker</a> is hosted there as well.</p>
255255
</div>
256256
</div>
257257

search.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@
4343
<script type="text/javascript">
4444
jQuery(function() { Search.loadIndex("searchindex.js"); });
4545
</script>
46-
47-
<script type="text/javascript" id="searchindexloader"></script>
4846

4947

5048
</head>

0 commit comments

Comments
 (0)