},
/**
- * Checks if a cerain protection level is cascadeable.
+ * Checks if a certain protection level is cascadeable.
*
* @param {string} level
* @return {boolean}
*/
matchAttribute: function ( objects, attrName ) {
return $.map( objects, function ( object ) {
- return object[attrName];
+ return object[ attrName ];
} ).filter( function ( item, index, a ) {
return index === a.indexOf( item );
} ).length === 1;