diff --git a/node/src/files/build/semantic.zip.REMOVED.git-id b/node/src/files/build/semantic.zip.REMOVED.git-id new file mode 100644 index 000000000..171cf5005 --- /dev/null +++ b/node/src/files/build/semantic.zip.REMOVED.git-id @@ -0,0 +1 @@ +d5e1ea160c8a801e628f9ad3f892d998ee5f9622 \ No newline at end of file diff --git a/src/modules/rating.js b/src/modules/rating.js index af7d1f4c1..519af7e8b 100755 --- a/src/modules/rating.js +++ b/src/modules/rating.js @@ -16,17 +16,6 @@ $.fn.rating = function(parameters) { $allModules = $(this), moduleSelector = $allModules.selector || '', - settings = $.extend(true, {}, $.fn.rating.settings, parameters), - - namespace = settings.namespace, - className = settings.className, - metadata = settings.metadata, - selector = settings.selector, - error = settings.error, - - eventNamespace = '.' + namespace, - moduleNamespace = 'module-' + namespace, - time = new Date().getTime(), performance = [], @@ -38,11 +27,22 @@ $.fn.rating = function(parameters) { $allModules .each(function() { var - $module = $(this), - $icon = $module.find(selector.icon), + settings = $.extend(true, {}, $.fn.rating.settings, parameters), + + namespace = settings.namespace, + className = settings.className, + metadata = settings.metadata, + selector = settings.selector, + error = settings.error, + + eventNamespace = '.' + namespace, + moduleNamespace = 'module-' + namespace, + + $module = $(this), + $icon = $module.find(selector.icon), - element = this, - instance = $module.data(moduleNamespace), + element = this, + instance = $module.data(moduleNamespace), module ;