Merge pull request #5036 from pborreli/typos

This commit is contained in:
Hannah Wolfe 2015-03-17 17:44:06 +00:00
commit 0b9455e8bb
13 changed files with 14 additions and 14 deletions

View File

@ -79,7 +79,7 @@ var PostsController = Ember.ArrayController.extend(PaginationControllerMixin, {
init: function () {
// let the PaginationControllerMixin know what type of model we will be paginating
// this is necesariy because we do not have access to the model inside the Controller::init method
// this is necessary because we do not have access to the model inside the Controller::init method
this._super({modelType: 'post'});
}
});

View File

@ -82,7 +82,7 @@ var ValidationEngine = Ember.Mixin.create({
},
/**
* Passses the model to the validator specified by validationType.
* Passes the model to the validator specified by validationType.
* Returns a promise that will resolve if validation succeeds, and reject if not.
* Some options can be specified:
*

View File

@ -162,7 +162,7 @@
};
}
// If it has a class of "up" spin it an extra 180degress to point up
// If it has a class of "up" spin it an extra 180degrees to point up
&.up:hover,
&.up:focus {
@include icon($i-chevron-down) {

View File

@ -454,7 +454,7 @@ body.zen {
}
}//#publish-bar
.extended-tags { // When the tag bar is exapanded
.extended-tags { // When the tag bar is expanded
position: static;
min-height: 100%;

View File

@ -22,7 +22,7 @@ function getAppRelativePath(name, relativeTo) {
return path.relative(relativeTo, getAppAbsolutePath(name));
}
// Load apps through a psuedo sandbox
// Load apps through a pseudo sandbox
function loadApp(appPath) {
var sandbox = new AppSandbox();
@ -55,7 +55,7 @@ function getAppByName(name, permissions) {
loader = {
// Load a app and return the instantiated app
installAppByName: function (name) {
// Install the apps dependendencies first
// Install the apps dependencies first
var appPath = getAppAbsolutePath(name),
deps = new AppDependencies(appPath);

View File

@ -9,7 +9,7 @@ var moment = require('moment'),
// Simple utility function to allow
// passing of the ghostConfig
// object here to be used locally
// to ensure clean depedency graph
// to ensure clean dependency graph
// (i.e. no circular dependencies).
function setConfig(config) {
ghostConfig = config;

View File

@ -382,7 +382,7 @@ frontendControllers = {
return next();
}
// If there is any date based paramter in the slug
// If there is any date based parameter in the slug
// we will check it against the post published date
// to verify it's correct.
if (params.year || params.month || params.day) {

View File

@ -98,7 +98,7 @@ to003 = function (options) {
});
});
// Now we can perfom the normal populate
// Now we can perform the normal populate
return Promise.all(ops).then(function () {
return populate(options);
});

View File

@ -115,7 +115,7 @@ GhostServer.prototype.logUpgradeWarning = function () {
/**
* Starts the ghost server listening on the configured port.
* Alternatively you can pass in your own express instance and let Ghost
* start lisetning for you.
* start listening for you.
* @param {Object=} externalApp Optional express app instance.
* @return {Promise}
*/

View File

@ -69,7 +69,7 @@ ghost_head = function (options) {
metaDescription = excerpt.call(self.post, {hash: {words: '40'}}).string;
}
if (tags[0] !== '') {
keywords = hbs.handlebars.Utils.escapeExpression(tagsHelper.call(self.post, {hash: {autolink: 'false', seperator: ', '}}).string);
keywords = hbs.handlebars.Utils.escapeExpression(tagsHelper.call(self.post, {hash: {autolink: 'false', separator: ', '}}).string);
}
head.push('<link rel="canonical" href="' + url + '" />');

View File

@ -183,7 +183,7 @@ function init(options) {
initNotifications();
// ##Configuration
// return the correct mime type for woff filess
// return the correct mime type for woff files
express['static'].mime.define({'application/font-woff': ['woff']});
// enabled gzip compression by default

View File

@ -56,7 +56,7 @@ GhostMailer.prototype.getDomain = function () {
};
// Sends an e-mail message enforcing `to` (blog owner) and `from` fields
// This assumes that api.settings.read('email') was aready done on the API level
// This assumes that api.settings.read('email') was already done on the API level
GhostMailer.prototype.send = function (message) {
var self = this,
to,

View File

@ -65,7 +65,7 @@ utils = {
return string;
},
// The token is encoded URL safe by replcaing '+' with '-', '\' with '_' and removing '='
// The token is encoded URL safe by replacing '+' with '-', '\' with '_' and removing '='
// NOTE: the token is not encoded using valid base64 anymore
encodeBase64URLsafe: function (base64String) {
return base64String.replace(/\+/g, '-').replace(/\//g, '_').replace(/=+$/, '');