Skip to content

Commit

Permalink
Literate documentation and some minor API changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bergie committed Mar 9, 2011
1 parent b27669d commit 7dbbc11
Show file tree
Hide file tree
Showing 3 changed files with 338 additions and 176 deletions.
2 changes: 1 addition & 1 deletion vie-aloha.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
if (typeof containerInstance.editables === 'undefined') {
containerInstance.editables = {};
}
VIE.RDFa.findElementProperties(containerInstance.id, this, false).each(function() {
VIE.RDFa.findPredicateElements(containerInstance.id, this, false).each(function() {
var containerProperty = jQuery(this);

// Call the configured beforeEditing function that may modify
Expand Down
4 changes: 2 additions & 2 deletions vie-containermanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ VIE.ContainerManager = {
instances: VIE.EntityManager.allEntities,

findContainerProperties: function(element, allowPropertiesInProperties) {
return VIE.RDFa.findElementProperties(element, allowPropertiesInProperties);
return VIE.RDFa.findPredicateElements(element, allowPropertiesInProperties);
},

getContainerIdentifier: function(element) {
Expand All @@ -22,7 +22,7 @@ VIE.ContainerManager = {
element.attr('about', '');
}
element.find('[about]').attr('about', '');
VIE.RDFa.findElementProperties(element, false).html('');
VIE.RDFa.findPredicateElementsForSubject(element, false).html('');

return element;
},
Expand Down
Loading

0 comments on commit 7dbbc11

Please sign in to comment.