aboutsummaryrefslogtreecommitdiff
path: root/js/reveal.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/reveal.js')
-rw-r--r--js/reveal.js18
1 files changed, 10 insertions, 8 deletions
diff --git a/js/reveal.js b/js/reveal.js
index 4946df5..ac3135d 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -4099,18 +4099,20 @@
}
/**
- * Returns an array of objects where each object represents the attributes on its respective slide.
+ * Returns an array of objects where each object represents the
+ * attributes on its respective slide.
*/
- function getSlidesMetaInfo() {
+ function getSlidesAttributes() {
- var slides = getSlides();
- return slides.map( function (slide) {
- var meta = {};
+ return getSlides().map( function( slide ) {
+
+ var attributes = {};
for( var i = 0; i < slide.attributes.length; i++ ) {
var attribute = slide.attributes[ i ];
- meta[ attribute.name ] = attribute.value;
+ attributes[ attribute.name ] = attribute.value;
}
- return meta;
+ return attributes;
+
} );
}
@@ -5473,7 +5475,7 @@
// Returns an Array of objects representing the attributes on
// the slides
- getSlidesMetaInfo: getSlidesMetaInfo,
+ getSlidesAttributes: getSlidesAttributes,
// Returns the total number of slides
getTotalSlides: getTotalSlides,