Merge pull request #3059 from PHaeJin/typo2

Fix some broken links
This commit is contained in:
Thomas Kluyver 2017-11-20 11:20:58 +00:00 committed by GitHub
commit 9f7ee6830e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -949,7 +949,7 @@ define([
ActionHandler.prototype.get_name = function(name_or_data){
/**
* given an `action` or `name` of a action, return the name attached to this action.
* given an `action` or `name` of an action, return the name attached to this action.
* if given the name of and corresponding actions does not exist in registry, return `null`.
**/

View File

@ -114,7 +114,7 @@ define([
if (threshold <=0) {
return false;
}
// line-height from http://stackoverflow.com/questions/1185151
// line-height from https://stackoverflow.com/questions/1185151
var fontSize = this.element.css('font-size') || '14px';
var lineHeight = Math.floor((parseFloat(fontSize.replace('px','')) || 14) * 1.3);
return (this.element.height() > threshold * lineHeight);
@ -399,7 +399,7 @@ define([
// Once the iframe is loaded, the subarea is dynamically inserted
iframe.on('load', function() {
// Workaround needed by Firefox, to properly render svg inside
// iframes, see http://stackoverflow.com/questions/10177190/
// iframes, see https://stackoverflow.com/questions/10177190/
// svg-dynamically-added-to-iframe-does-not-render-correctly
this.contentDocument.open();

View File

@ -80,7 +80,7 @@ define([
var mac_humanize_map = {
// all these are unicode, will probably display badly on anything except macs.
// these are the standard symbol that are used in MacOS native menus
// cf http://apple.stackexchange.com/questions/55727/
// cf https://apple.stackexchange.com/questions/55727/
// for htmlentities and/or unicode value
'cmd':'⌘',
'shift':'⇧',

View File

@ -491,7 +491,7 @@ define([
// The dragleave event is fired when we hover a child element (which
// is often immediatly after we got the dragenter), so we keep track
// of the number of dragenter/dragleave we got, as discussed here :
// http://stackoverflow.com/q/7110353/116067
// https://stackoverflow.com/q/7110353/116067
// This doesn't seem to be 100% reliable, so we clear the dropzone
// class when the cell is rendered as well
this.code_mirror.on("dragenter", function(cm, evt) {