mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-09-21 21:26:16 +00:00
Correct spelling mistakes.
This commit is contained in:
committed by
Alex Osborne
parent
e08d3ad45d
commit
aa705bef2e
@@ -451,7 +451,7 @@ public class BdbModule implements Lifecycle, Checkpointable, Closeable, Disposab
|
||||
dbc.database.sync();
|
||||
}
|
||||
|
||||
// Do a force checkpoint. Thats what a sync does (i.e. doSync).
|
||||
// Do a force checkpoint. That's what a sync does (i.e. doSync).
|
||||
CheckpointConfig chkptConfig = new CheckpointConfig();
|
||||
chkptConfig.setForce(true);
|
||||
|
||||
|
||||
@@ -128,7 +128,7 @@ public class Warc2Arc {
|
||||
int offset = r.getHeader().getContentBegin();
|
||||
// This mimetype is not exactly what you'd expect to find in
|
||||
// an ARC though technically its 'correct'. To get right one,
|
||||
// need to parse the HTTP Headers. Thats messy. Not doing for
|
||||
// need to parse the HTTP Headers. That's messy. Not doing for
|
||||
// now.
|
||||
String mimetype = r.getHeader().getMimetype();
|
||||
// Clean out ISO time string '-', 'T', ':', and 'Z' characters.
|
||||
|
||||
@@ -98,7 +98,7 @@ public class Sheet implements BeanFactoryAware, BeanNameAware {
|
||||
}
|
||||
|
||||
/**
|
||||
* Ensure any properties targetted by this Sheet know to
|
||||
* Ensure any properties targeted by this Sheet know to
|
||||
* check the right property paths for overrides at lookup time,
|
||||
* and that the override values are compatible types for their
|
||||
* destination properties.
|
||||
@@ -130,7 +130,7 @@ public class Sheet implements BeanFactoryAware, BeanNameAware {
|
||||
try {
|
||||
hkp = (HasKeyedProperties) bean;
|
||||
} catch (ClassCastException cce) {
|
||||
// targetted bean has no overridable properties
|
||||
// targeted bean has no overridable properties
|
||||
throw new TypeMismatchException(bean,HasKeyedProperties.class,cce);
|
||||
}
|
||||
// install knowledge of this path
|
||||
|
||||
@@ -43,7 +43,7 @@ public class Histotable<K> extends TreeMap<K,Long> {
|
||||
private static final long serialVersionUID = 310306238032568623L;
|
||||
|
||||
/**
|
||||
* Record one more occurence of the given object key.
|
||||
* Record one more occurrence of the given object key.
|
||||
*
|
||||
* @param key Object key.
|
||||
*/
|
||||
@@ -52,7 +52,7 @@ public class Histotable<K> extends TreeMap<K,Long> {
|
||||
}
|
||||
|
||||
/**
|
||||
* Record <i>count</i> more occurence(s) of the given object key.
|
||||
* Record <i>count</i> more occurrence(s) of the given object key.
|
||||
*
|
||||
* @param key Object key.
|
||||
*/
|
||||
|
||||
@@ -62,7 +62,7 @@ public class IdentityCacheableWrapper<K> implements IdentityCacheable {
|
||||
}
|
||||
|
||||
//
|
||||
// AutoKryo suppport
|
||||
// AutoKryo support
|
||||
//
|
||||
public static void autoregisterTo(AutoKryo kryo) {
|
||||
kryo.register(IdentityCacheableWrapper.class);
|
||||
|
||||
@@ -76,7 +76,7 @@ implements LongFPSet, Serializable {
|
||||
}
|
||||
|
||||
private void grow() {
|
||||
// Catastrophic event. Log its occurance.
|
||||
// Catastrophic event. Log its occurrence.
|
||||
logger.info("Doubling fingerprinting slots to "
|
||||
+ (1 << this.capacityPowerOfTwo));
|
||||
long[] oldValues = values;
|
||||
|
||||
@@ -79,7 +79,7 @@ of this is that <i>every</i> .doc file has a piece table, even those that
|
||||
were not "fast-saved".
|
||||
|
||||
<p>The reader returned by
|
||||
{@link org.achive.util.ms.Doc#getText(SeekInputStream)} consults the piece
|
||||
{@link org.archive.util.ms.Doc#getText(SeekInputStream)} consults the piece
|
||||
table to determine where in the WordDocument subfile the next piece of text
|
||||
is located. It also uses the piece table to determine how bytes should be
|
||||
converted to Unicode characters.
|
||||
|
||||
@@ -362,7 +362,7 @@ public class ArchiveTest
|
||||
|
||||
/**
|
||||
* wayback-like replay of ARC record at offset
|
||||
* @param arcReader an ARCReader intance
|
||||
* @param arcReader an ARCReader instance
|
||||
* @throws IOException
|
||||
*/
|
||||
private void replayRecord(ARCReader arcReader) throws IOException {
|
||||
|
||||
@@ -471,7 +471,7 @@ implements Serializable,
|
||||
}
|
||||
|
||||
/**
|
||||
* Stop the crawl temporarly.
|
||||
* Stop the crawl temporarily.
|
||||
*/
|
||||
public synchronized void requestCrawlPause() {
|
||||
if (state == State.PAUSING || state == State.PAUSED) {
|
||||
|
||||
@@ -637,7 +637,7 @@ public class CrawlJob implements Comparable<CrawlJob>, ApplicationListener<Appli
|
||||
}
|
||||
|
||||
/**
|
||||
* Return all known ConfigPaths, as an aid to viewing or editting.
|
||||
* Return all known ConfigPaths, as an aid to viewing or editing.
|
||||
*
|
||||
* @return all ConfigPaths known to the ApplicationContext, in a
|
||||
* map by name, or an empty map if no ApplicationContext
|
||||
|
||||
@@ -2,7 +2,7 @@ package org.archive.crawler.framework;
|
||||
|
||||
public enum CrawlStatus {
|
||||
|
||||
/** Inital value. May not be ready to run/incomplete. */
|
||||
/** Initial value. May not be ready to run/incomplete. */
|
||||
CREATED("Created"),
|
||||
|
||||
/** Job has been successfully submitted to a CrawlJobHandler. */
|
||||
@@ -28,7 +28,7 @@ public enum CrawlStatus {
|
||||
|
||||
|
||||
/**
|
||||
* Job finished normally when the specifed amount of data (MB) had been
|
||||
* Job finished normally when the specified amount of data (MB) had been
|
||||
* downloaded
|
||||
*/
|
||||
FINISHED_DATA_LIMIT("Finished - Maximum amount of data limit hit"),
|
||||
@@ -43,12 +43,12 @@ public enum CrawlStatus {
|
||||
FINISHED_WRITE_LIMIT("Finished - Maximum bytes written"),
|
||||
|
||||
/**
|
||||
* Job is going to be temporarly stopped after active threads are finished.
|
||||
* Job is going to be temporarily stopped after active threads are finished.
|
||||
*/
|
||||
WAITING_FOR_PAUSE("Pausing - Waiting for threads to finish"),
|
||||
|
||||
|
||||
/** Job was temporarly stopped. State is kept so it can be resumed */
|
||||
/** Job was temporarily stopped. State is kept so it can be resumed */
|
||||
PAUSED("Paused"),
|
||||
|
||||
|
||||
|
||||
@@ -93,7 +93,7 @@ import org.springframework.context.Lifecycle;
|
||||
public interface Frontier extends Lifecycle, Reporter {
|
||||
|
||||
/**
|
||||
* Get the next URI that should be processed. If no URI becomes availible
|
||||
* Get the next URI that should be processed. If no URI becomes available
|
||||
* during the time specified null will be returned.
|
||||
*
|
||||
* @return the next URI that should be processed.
|
||||
@@ -104,10 +104,10 @@ public interface Frontier extends Lifecycle, Reporter {
|
||||
/**
|
||||
* Returns true if the frontier contains no more URIs to crawl.
|
||||
*
|
||||
* <p>That is to say that there are no more URIs either currently availible
|
||||
* <p>That is to say that there are no more URIs either currently available
|
||||
* (ready to be emitted), URIs belonging to deferred hosts or pending URIs
|
||||
* in the Frontier. Thus this method may return false even if there is no
|
||||
* currently availible URI.
|
||||
* currently available URI.
|
||||
*
|
||||
* @return true if the frontier contains no more URIs to crawl.
|
||||
*/
|
||||
@@ -235,7 +235,7 @@ public interface Frontier extends Lifecycle, Reporter {
|
||||
* the processing chain. Can include failure to acquire prerequisites, to
|
||||
* establish a connection with the host and any number of other problems.
|
||||
* Does not count those that will be retried, only those that have
|
||||
* permenantly failed.
|
||||
* permanently failed.
|
||||
*
|
||||
* @return Number of URIs that failed to process.
|
||||
*/
|
||||
@@ -336,7 +336,7 @@ public interface Frontier extends Lifecycle, Reporter {
|
||||
* that are stored in cache (usually this means in memory
|
||||
* rather then on disk, but that is an implementation
|
||||
* detail) will be considered. Others will be entierly
|
||||
* ignored, as if they dont exist. This is usefull for quick
|
||||
* ignored, as if they don't exist. This is useful for quick
|
||||
* peeks at the top of the URI list.
|
||||
* @return A URIFrontierMarker that is set for the 'start' of the frontier's
|
||||
* URI list.
|
||||
@@ -370,7 +370,7 @@ public interface Frontier extends Lifecycle, Reporter {
|
||||
* invoking it.
|
||||
*
|
||||
* @param marker
|
||||
* A marker specifing from what position in the Frontier the
|
||||
* A marker specifying from what position in the Frontier the
|
||||
* list should begin.
|
||||
* @param numberOfMatches
|
||||
* how many URIs to add at most to the list before returning it
|
||||
|
||||
@@ -287,7 +287,7 @@ implements Reporter, ProgressStatisticsReporter,
|
||||
currentCuri.setFetchStatus(S_SERIOUS_ERROR);
|
||||
context = currentCuri.shortReportLine() + " in " + currentProcessorName;
|
||||
}
|
||||
String message = "Serious error occured trying " +
|
||||
String message = "Serious error occurred trying " +
|
||||
"to process '" + context + "'\n" + extraInfo;
|
||||
logger.log(Level.SEVERE, message.toString(), err);
|
||||
setPriority(DEFAULT_PRIORITY);
|
||||
@@ -307,7 +307,7 @@ implements Reporter, ProgressStatisticsReporter,
|
||||
currentCuri.getAnnotations().add("err="+e.getClass().getName());
|
||||
currentCuri.getData().put(A_RUNTIME_EXCEPTION, e);
|
||||
String message = "Problem " + e +
|
||||
" occured when trying to process '"
|
||||
" occurred when trying to process '"
|
||||
+ currentCuri.toString()
|
||||
+ "' at step " + previousStep
|
||||
+ " in " + currentProcessorName +"\n";
|
||||
|
||||
+1
-1
@@ -51,7 +51,7 @@ public class AntiCalendarCostAssignmentPolicy extends UnitCostAssignmentPolicy {
|
||||
Matcher m = TextUtils.getMatcher(CALENDARISH, curi.toString());
|
||||
if (m.find()) {
|
||||
cost++;
|
||||
// TODO: consider if multiple occurences should cost more
|
||||
// TODO: consider if multiple occurrences should cost more
|
||||
}
|
||||
TextUtils.recycleMatcher(m);
|
||||
return cost;
|
||||
|
||||
@@ -492,9 +492,9 @@ public class BdbMultipleWorkQueues {
|
||||
/**
|
||||
* Method used by BdbFrontier during checkpointing.
|
||||
* <p>The backing bdbje database has been marked deferred write so we save
|
||||
* on writes to disk. Means no guarantees disk will have whats in memory
|
||||
* on writes to disk. Means no guarantees disk will have what's in memory
|
||||
* unless a sync is called (Calling sync on the bdbje Environment is not
|
||||
* sufficent).
|
||||
* sufficient).
|
||||
* <p>Package access only because only Frontiers of this package would ever
|
||||
* need access.
|
||||
* @see <a href="http://www.sleepycat.com/jedocs/GettingStartedGuide/DB.html">Deferred Write Databases</a>
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
<ol>
|
||||
<li> <em>Core classes</em> - these can often be configured but not
|
||||
replaced.
|
||||
<li> <em>Pluggable classes</em> - these must implment a given interface
|
||||
<li> <em>Pluggable classes</em> - these must implement a given interface
|
||||
or extend a specific class but 3rd parties can introduce their own
|
||||
implementations.
|
||||
</ol>
|
||||
@@ -86,7 +86,7 @@
|
||||
When a URI is crawled, a {@link org.archive.crawler.framework.ToeThread
|
||||
ToeThread} will execute a series of <tt>processors</tt> on it.
|
||||
<p>
|
||||
The processors are split into 5 distinct chains that are exectued in sequence:
|
||||
The processors are split into 5 distinct chains that are executed in sequence:
|
||||
|
||||
<ol>
|
||||
<li>Pre-fetch processing chain
|
||||
@@ -129,7 +129,7 @@
|
||||
implementations can be made of these to define any arbitrary scope.
|
||||
It should be noted though that usually any type of limitations to the scope
|
||||
of a crawl can be more easily achived using one of the existing scopes and
|
||||
modifing it with appropriate filters.
|
||||
modifying it with appropriate filters.
|
||||
<p>
|
||||
{@link org.archive.crawler.framework.CrawlScope CrawlScope} - Base class for
|
||||
scopes.<br>
|
||||
|
||||
@@ -39,7 +39,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||
* disk space and pause the crawl if free space on monitored
|
||||
* filesystems falls below certain thresholds.
|
||||
*
|
||||
* @deprecated Is highly system dependant.
|
||||
* @deprecated Is highly system dependent.
|
||||
* Use {@link org.archive.crawler.monitor.DiskSpaceMonitor} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
|
||||
@@ -38,7 +38,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
||||
/**
|
||||
* Processor to preload URI with as much precalculated policy-based
|
||||
* info as possible before it reaches frontier criticial sections.
|
||||
* info as possible before it reaches frontier critical sections.
|
||||
*
|
||||
* Frontiers also maintain a direct reference to this class, in case
|
||||
* they need to perform remedial preparation for URIs that do not
|
||||
@@ -195,7 +195,7 @@ public class FrontierPreparer extends Scoper {
|
||||
if (getPreferenceDepthHops() == 0) {
|
||||
return HIGH;
|
||||
// this implies seed redirects are treated as path
|
||||
// length 1, which I belive is standard.
|
||||
// length 1, which I believe is standard.
|
||||
// curi.getPathFromSeed() can never be null here, because
|
||||
// we're processing a link extracted from curi
|
||||
} else if (getPreferenceDepthHops() > 0 &&
|
||||
|
||||
@@ -368,7 +368,7 @@ public class PreconditionEnforcer extends Processor {
|
||||
*
|
||||
* <p>
|
||||
* One day, do optimization and avoid running the bulk of the code below.
|
||||
* Argument for running the code everytime is that overrides and refinements
|
||||
* Argument for running the code every time is that overrides and refinements
|
||||
* may change what comes back from credential store.
|
||||
*
|
||||
* @param curi CrawlURI we're checking for any required preconditions.
|
||||
|
||||
@@ -47,7 +47,7 @@ public class Preselector extends Scoper {
|
||||
* Recheck if uri is in scope. This is meaningful if the scope is altered
|
||||
* during a crawl. URIs are checked against the scope when they are added to
|
||||
* queues. Setting this value to true forces the URI to be checked against
|
||||
* the scope when it is comming out of the queue, possibly after the scope
|
||||
* the scope when it is coming out of the queue, possibly after the scope
|
||||
* is altered.
|
||||
*/
|
||||
{
|
||||
|
||||
@@ -252,7 +252,7 @@ public class StatisticsTracker
|
||||
protected long crawlStartTime;
|
||||
/** wall-clock time the crawl ended */
|
||||
protected long crawlEndTime = -1; // Until crawl ends, this value is -1.
|
||||
/** wall-clock time of last pause, while pause in progres */
|
||||
/** wall-clock time of last pause, while pause in progress */
|
||||
protected long crawlPauseStarted = 0;
|
||||
/** duration tally of all time spent in paused state */
|
||||
protected long crawlTotalPausedTime = 0;
|
||||
|
||||
@@ -35,7 +35,7 @@ import org.restlet.resource.FileRepresentation;
|
||||
|
||||
/**
|
||||
* Representation wrapping a FileRepresentation, displaying its contents
|
||||
* in a TextArea for editting.
|
||||
* in a TextArea for editing.
|
||||
*
|
||||
* @author gojomo
|
||||
*/
|
||||
|
||||
@@ -139,7 +139,7 @@ public class EngineApplication extends Application {
|
||||
"<a href='javascript:history.back();void(0);'>back</a>.\n");
|
||||
}
|
||||
else{
|
||||
pw.append("<h1>An error occured</h1>\n");
|
||||
pw.append("<h1>An error occurred</h1>\n");
|
||||
pw.append(
|
||||
"You may be able to recover and try something " +
|
||||
"else by going " +
|
||||
|
||||
@@ -35,7 +35,7 @@ import org.restlet.data.Response;
|
||||
* Enhanced version of Restlet Directory, which allows the local
|
||||
* filesystem directory to be determined dynamically based on the
|
||||
* request details. Also, via use of an EnhDirectoryResource, adds
|
||||
* other capabilities (editting, etc.).
|
||||
* other capabilities (editing, etc.).
|
||||
*
|
||||
* @author gojomo
|
||||
*/
|
||||
|
||||
@@ -243,7 +243,7 @@ implements Lifecycle, Checkpointable, BeanNameAware, DisposableBean {
|
||||
}
|
||||
if (env != null) {
|
||||
try {
|
||||
// This sync flushes whats in RAM. Its expensive operation.
|
||||
// This sync flushes what's in RAM. Its expensive operation.
|
||||
// Without, data can be lost. Not for transactional operation.
|
||||
env.sync();
|
||||
} catch (DatabaseException e) {
|
||||
|
||||
@@ -64,7 +64,7 @@ public class CheckpointUtils {
|
||||
* Utility function to serialize an object to a file in current checkpoint
|
||||
* dir. Facilities
|
||||
* to store related files alongside the serialized object in a directory
|
||||
* named with a <code>.auxillary</code> suffix.
|
||||
* named with a <code>.auxiliary</code> suffix.
|
||||
*
|
||||
* @param o Object to serialize.
|
||||
* @param dir Directory to serialize into.
|
||||
|
||||
@@ -801,7 +801,7 @@ public class LogReader
|
||||
pos = lastPos - BUFFERSIZE;
|
||||
}
|
||||
raf.seek(pos);
|
||||
// If less then BUFFERSIZE avaliable read the remaining bytes
|
||||
// If less then BUFFERSIZE available read the remaining bytes
|
||||
if ((lastPos - pos) < BUFFERSIZE) {
|
||||
int remainer = (int) (lastPos - pos);
|
||||
buffer = new byte[remainer];
|
||||
@@ -818,11 +818,11 @@ public class LogReader
|
||||
}
|
||||
}
|
||||
}
|
||||
// reset last postion
|
||||
// reset last position
|
||||
lastPos = pos;
|
||||
} while ((numOfLines <= n) && (pos != 0));
|
||||
|
||||
// print last n line starting from last postion
|
||||
// print last n line starting from last position
|
||||
for (pos = lastPos; pos < endPos; pos += buffer.length) {
|
||||
raf.seek(pos);
|
||||
if ((endPos - pos) < BUFFERSIZE) {
|
||||
|
||||
@@ -85,7 +85,7 @@ public class RecoveryLogMapper {
|
||||
* recoverLogFileName, will throw throw SeedUrlNotFoundException. Use
|
||||
* {@link #RecoveryLogMapper(String)} if you want to just log such cases and
|
||||
* keep going. (Those should not happen if the recover log is written
|
||||
* correctly, but we see them in pratice.)
|
||||
* correctly, but we see them in practice.)
|
||||
*
|
||||
* @param recoverLogFileName
|
||||
* @throws java.io.FileNotFoundException
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
description:
|
||||
AdaptiveRevisitFrontier. EXPERIMENTAL Frontier that will repeatedly visit all
|
||||
encountered URIs. Wait time between visits is configurable and is determined
|
||||
by seperate Processor(s). See WaitEvaluators. See documentation for ARFrontier
|
||||
by separate Processor(s). See WaitEvaluators. See documentation for ARFrontier
|
||||
limitations.
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ For retryable problems, seconds to wait before a retry
|
||||
|
||||
|
||||
use-uri-uniq-filter-description:
|
||||
Should the Frontier use a seperate 'already included' datastructure
|
||||
Should the Frontier use a separate 'already included' datastructure
|
||||
or rely on the queues'.
|
||||
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ whose content change detection is not available.
|
||||
|
||||
initial-wait-interval-seconds-description:
|
||||
The initial wait time between revisits. Will then be updated according to
|
||||
crawler experiance. I.e. shorter wait, visit more often, if document has
|
||||
crawler experience. I.e. shorter wait, visit more often, if document has
|
||||
changed between visits, and vica versa.
|
||||
|
||||
|
||||
@@ -30,8 +30,8 @@ completed.
|
||||
|
||||
|
||||
min-wait-interval-seconds-description:
|
||||
The minum settable wait time between revisits. Once a URIs wait time
|
||||
reaches this value, it will not be shortened further, regardlesss of
|
||||
The minimum settable wait time between revisits. Once a URIs wait time
|
||||
reaches this value, it will not be shortened further, regardless of
|
||||
subsequent visits that discover changes.
|
||||
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ recheck-scope-description:
|
||||
Recheck if uri is in scope. This is meaningful if the scope is altered
|
||||
during a crawl. URIs are checked against the scope when they are added to
|
||||
queues. Setting this value to true forces the URI to be checked against
|
||||
the scope when it is comming out of the queue, possibly after the scope
|
||||
the scope when it is coming out of the queue, possibly after the scope
|
||||
is altered.
|
||||
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ A processor that halts further progress once a fixed
|
||||
amount of time has elapsed since the start of a crawl.
|
||||
It is possible to configure this processor per host, but
|
||||
it should be noted that Heritrix does not track runtime
|
||||
per host seperately. Especially when using facilities
|
||||
per host separately. Especially when using facilities
|
||||
like the BdbFrontier's hold-queues, the actual amount of
|
||||
time spent crawling a host may have little relevance to
|
||||
total elapsed time. Note however that using overrides
|
||||
|
||||
+1
-1
@@ -83,7 +83,7 @@ CodeMirror.defineMode("xmlpure", function(config, parserConfig) {
|
||||
return null;
|
||||
}
|
||||
|
||||
// return true if the current token is seperated from the tokens before it
|
||||
// return true if the current token is separated from the tokens before it
|
||||
// which means either this is the start of the line, or there is at least
|
||||
// one space or tab character behind the token
|
||||
// otherwise returns false
|
||||
|
||||
@@ -237,7 +237,7 @@ select {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
float: none !important; } }
|
||||
/* Styles for screens that are atleast 768px; */
|
||||
/* Styles for screens that are at least 768px; */
|
||||
@media only screen and (min-width: 48em) {
|
||||
.row .large-1 {
|
||||
position: relative;
|
||||
@@ -2927,7 +2927,7 @@ form.custom {
|
||||
top: 0px;
|
||||
left: 0px; }
|
||||
|
||||
/* Styles for screens that are atleast 768px; */
|
||||
/* Styles for screens that are at least 768px; */
|
||||
@media only screen and (min-width: 48em) {
|
||||
.joyride-tip-guide {
|
||||
width: 300px;
|
||||
|
||||
+1
-1
@@ -352,7 +352,7 @@
|
||||
|
||||
hidden_fix : {
|
||||
/**
|
||||
* Sets all hidden parent elements and self to visibile.
|
||||
* Sets all hidden parent elements and self to visible.
|
||||
*
|
||||
* @method adjust
|
||||
* @param {jQuery Object} $child
|
||||
|
||||
+1
-1
@@ -122,7 +122,7 @@
|
||||
|
||||
if (!this.settings.init) this.init();
|
||||
|
||||
// non configureable settings
|
||||
// non configurable settings
|
||||
this.settings.$content_el = $this;
|
||||
this.settings.$body = $(this.settings.tipContainer);
|
||||
this.settings.body_offset = $(this.settings.tipContainer).position();
|
||||
|
||||
+1
-1
@@ -105,7 +105,7 @@
|
||||
if (topOffset <= self.settings.threshold) {
|
||||
$("[data-magellan-arrival='" + destination_name + "']").trigger('arrival');
|
||||
}
|
||||
// In large screens we may hit the bottom of the page and dont reach the top of the last magellan-destination, so lets force it
|
||||
// In large screens we may hit the bottom of the page and don't reach the top of the last magellan-destination, so lets force it
|
||||
if (scrolltopPlusHeight >= $(self.scope).height() && lastDestinationTop > windowScrollTop && lastDestinationTop < scrolltopPlusHeight) {
|
||||
$('[data-magellan-arrival]').last().trigger('arrival');
|
||||
}
|
||||
|
||||
@@ -4186,7 +4186,7 @@ setDocument = Sizzle.setDocument = function( node ) {
|
||||
// Regex strategy adopted from Diego Perini
|
||||
assert(function( div ) {
|
||||
// Select is set to empty string on purpose
|
||||
// This is to test IE's treatment of not explictly
|
||||
// This is to test IE's treatment of not explicitly
|
||||
// setting a boolean content attribute,
|
||||
// since its presence should be enough
|
||||
// http://bugs.jquery.com/ticket/12359
|
||||
@@ -6164,7 +6164,7 @@ jQuery.fn.extend({
|
||||
if ( hasScripts ) {
|
||||
doc = scripts[ scripts.length - 1 ].ownerDocument;
|
||||
|
||||
// Reenable scripts
|
||||
// Re-enable scripts
|
||||
jQuery.map( scripts, restoreScript );
|
||||
|
||||
// Evaluate executable scripts on first document insertion
|
||||
@@ -6836,7 +6836,7 @@ jQuery.extend({
|
||||
value += "px";
|
||||
}
|
||||
|
||||
// Fixes #8908, it can be done more correctly by specifing setters in cssHooks,
|
||||
// Fixes #8908, it can be done more correctly by specifying setters in cssHooks,
|
||||
// but it would mean to define eight (for every problematic property) identical functions
|
||||
if ( !jQuery.support.clearCloneStyle && value === "" && name.indexOf("background") === 0 ) {
|
||||
style[ name ] = "inherit";
|
||||
@@ -8830,7 +8830,7 @@ function propFilter( props, specialEasing ) {
|
||||
value = hooks.expand( value );
|
||||
delete props[ name ];
|
||||
|
||||
// not quite $.extend, this wont overwrite keys already present.
|
||||
// not quite $.extend, this won't overwrite keys already present.
|
||||
// also - reusing 'index' from above because we have the correct "name"
|
||||
for ( index in value ) {
|
||||
if ( !( index in props ) ) {
|
||||
|
||||
@@ -137,7 +137,7 @@ var Zepto = (function() {
|
||||
// `$.zepto.fragment` takes a html string and an optional tag name
|
||||
// to generate DOM nodes nodes from the given html string.
|
||||
// The generated DOM nodes are returned as an array.
|
||||
// This function can be overriden in plugins for example to make
|
||||
// This function can be overridden in plugins for example to make
|
||||
// it compatible with browsers that don't support the DOM fully.
|
||||
zepto.fragment = function(html, name, properties) {
|
||||
if (html.replace) html = html.replace(tagExpanderRE, "<$1></$2>")
|
||||
@@ -162,7 +162,7 @@ var Zepto = (function() {
|
||||
// `$.zepto.Z` swaps out the prototype of the given `dom` array
|
||||
// of nodes with `$.fn` and thus supplying all the Zepto functions
|
||||
// to the array. Note that `__proto__` is not supported on Internet
|
||||
// Explorer. This method can be overriden in plugins.
|
||||
// Explorer. This method can be overridden in plugins.
|
||||
zepto.Z = function(dom, selector) {
|
||||
dom = dom || []
|
||||
dom.__proto__ = $.fn
|
||||
@@ -171,7 +171,7 @@ var Zepto = (function() {
|
||||
}
|
||||
|
||||
// `$.zepto.isZ` should return `true` if the given object is a Zepto
|
||||
// collection. This method can be overriden in plugins.
|
||||
// collection. This method can be overridden in plugins.
|
||||
zepto.isZ = function(object) {
|
||||
return object instanceof zepto.Z
|
||||
}
|
||||
@@ -179,7 +179,7 @@ var Zepto = (function() {
|
||||
// `$.zepto.init` is Zepto's counterpart to jQuery's `$.fn.init` and
|
||||
// takes a CSS selector and an optional context (and handles various
|
||||
// special cases).
|
||||
// This method can be overriden in plugins.
|
||||
// This method can be overridden in plugins.
|
||||
zepto.init = function(selector, context) {
|
||||
// If nothing given, return an empty Zepto collection
|
||||
if (!selector) return zepto.Z()
|
||||
@@ -241,7 +241,7 @@ var Zepto = (function() {
|
||||
|
||||
// `$.zepto.qsa` is Zepto's CSS selector implementation which
|
||||
// uses `document.querySelectorAll` and optimizes for some special cases, like `#id`.
|
||||
// This method can be overriden in plugins.
|
||||
// This method can be overridden in plugins.
|
||||
zepto.qsa = function(element, selector){
|
||||
var found
|
||||
return (isDocument(element) && idSelectorRE.test(selector)) ?
|
||||
@@ -838,7 +838,7 @@ window.Zepto = Zepto
|
||||
chrome = ua.match(/Chrome\/([\d.]+)/) || ua.match(/CriOS\/([\d.]+)/),
|
||||
firefox = ua.match(/Firefox\/([\d.]+)/)
|
||||
|
||||
// Todo: clean this up with a better OS/browser seperation:
|
||||
// Todo: clean this up with a better OS/browser separation:
|
||||
// - discern (more) between multiple browsers on android
|
||||
// - decide if kindle fire in silk mode is android or not
|
||||
// - Firefox on Android doesn't specify the Android version
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
</head>
|
||||
<body>Provides the client-side aspect of the heritrix integration self test.
|
||||
<p>The <i>selftest</i> webapp is the repository for the serverside of the
|
||||
intergration test.</p> <p>The integration self test is run from the command
|
||||
integration test.</p> <p>The integration self test is run from the command
|
||||
line. Invocation makes the crawler go up against itself trawling the
|
||||
<i>selftest</i> webapp. When done, the product -- arc and log files -- are
|
||||
analyzed by code herein to verify test pass or fail.</p> <p>The integration
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
in org.archive.crawler.Heritrix#selftest and by directives set in
|
||||
the selftest <i>web.xml</i> file.</p>
|
||||
|
||||
<p>Link to a file thats only accessible if we've successfully
|
||||
<p>Link to a file that's only accessible if we've successfully
|
||||
logged in: <a href="basic-loggedin.html">basic-loggedin.html</a>
|
||||
page.</p>
|
||||
|
||||
|
||||
@@ -11,6 +11,6 @@
|
||||
<p>Pointer to a document that should be found in spite of
|
||||
bad BASE: <a href="goodtwo.html">Good #2</a> ONLY, in selftest,
|
||||
using above base, this document will be outside of selftest
|
||||
scope. Thats OK.</p>
|
||||
scope. That's OK.</p>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<body>
|
||||
<p><a href="2.html">Hop #2</a></p>
|
||||
|
||||
<p>The selftest home page links to this index.html. Thats one hop.
|
||||
<p>The selftest home page links to this index.html. That's one hop.
|
||||
Going to next page is second hop.</p>
|
||||
</body>
|
||||
|
||||
|
||||
@@ -701,7 +701,7 @@ function viewDocumentation(compDesc, compName, docTextArray) {
|
||||
XML Schema for http://archive.org/arc/1.0/ namespace.
|
||||
|
||||
This schema adds Dublin Core element refinements for Internet
|
||||
Achive ARC file metadata. It also adds new elements
|
||||
Archive ARC file metadata. It also adds new elements
|
||||
that subclass the 'dc:any' type and the 'dc:metadata'
|
||||
element container.
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
XML Schema for http://archive.org/arc/1.0/ namespace.
|
||||
|
||||
This schema adds Dublin Core element refinements for Internet
|
||||
Achive ARC file metadata. It also adds new elements
|
||||
Archive ARC file metadata. It also adds new elements
|
||||
that subclass the 'dc:any' type and the 'dc:metadata'
|
||||
element container.
|
||||
|
||||
|
||||
@@ -11,6 +11,6 @@
|
||||
<p>Pointer to a document that should be found in spite of
|
||||
bad BASE: <a href="goodtwo.html">Good #2</a> ONLY, in selftest,
|
||||
using above base, this document will be outside of selftest
|
||||
scope. Thats OK.</p>
|
||||
scope. That's OK.</p>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user