diff --git a/Gemfile.lock b/Gemfile.lock index 05506709f..9b1bd78bb 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -55,3 +55,9 @@ DEPENDENCIES bundler jekyll rack-jekyll + +RUBY VERSION + ruby 2.1.1p76 + +BUNDLED WITH + 1.15.0 diff --git a/_includes/js/repeater.html b/_includes/js/repeater.html index 907a18e6a..8af2b9407 100644 --- a/_includes/js/repeater.html +++ b/_includes/js/repeater.html @@ -507,7 +507,7 @@

Data Source

-

The dataSource's callback function should run after gathering the desired data for rendering. This function requires the code to pass a +

The dataSource's callback function should run after gathering the desired data for rendering. This function requires the code to pass a data object as an argument. Contents of the object will vary depending on the view extension used. The attributes below include common expected attributes:

@@ -534,6 +534,11 @@

Data Source

.repeater-end element. + + items + array + Array of objects representing the item data that will be displayed within the repeater. Use this value to populate the records in the .repeater-list element. The item objects can contain any number of attributes. Necessary attributes are defined by the repeater extension. + page number @@ -560,6 +565,17 @@

Data Source

The default values are { count: 0, end: 0, items: [], page: 0, pages: 1, start: 0 }.

+
+

Security

+

+ Use the dataSource method to keep your page safe from XSS. +

+

+
+

Events

@@ -604,7 +620,7 @@

Events

-
rendered.fu.repeaterFires whenever the repeater has rendered data returned from the dataSource. Passses an object containing + Fires whenever the repeater has rendered data returned from the dataSource. Passes an object containing data, options, and renderOptions.