vendor/assets/javascripts/semantic-ui/modules/shape.js in semantic-ui-rails-0.0.2.1 vs vendor/assets/javascripts/semantic-ui/modules/shape.js in semantic-ui-rails-0.1.0
- old
+ new
@@ -1,14 +1,16 @@
-/* ******************************
- Semantic Module: Shape
- Author: Jack Lukic
- Notes: First Commit March 25, 2013
+/*
+ * # Semantic - Shape
+ * http://github.com/jlukic/semantic-ui/
+ *
+ *
+ * Copyright 2013 Contributors
+ * Released under the MIT license
+ * http://opensource.org/licenses/MIT
+ *
+ */
- An experimental plugin for manipulating 3D shapes on a 2D plane
-
-****************************** */
-
;(function ( $, window, document, undefined ) {
$.fn.shape = function(parameters) {
var
$allModules = $(this),
@@ -570,28 +572,28 @@
if(settings.debug) {
if(settings.performance) {
module.performance.log(arguments);
}
else {
- module.debug = Function.prototype.bind.call(console.info, console, settings.moduleName + ':');
+ module.debug = Function.prototype.bind.call(console.info, console, settings.name + ':');
module.debug.apply(console, arguments);
}
}
},
verbose: function() {
if(settings.verbose && settings.debug) {
if(settings.performance) {
module.performance.log(arguments);
}
else {
- module.verbose = Function.prototype.bind.call(console.info, console, settings.moduleName + ':');
+ module.verbose = Function.prototype.bind.call(console.info, console, settings.name + ':');
module.verbose.apply(console, arguments);
}
}
},
error: function() {
- module.error = Function.prototype.bind.call(console.error, console, settings.moduleName + ':');
+ module.error = Function.prototype.bind.call(console.error, console, settings.name + ':');
module.error.apply(console, arguments);
},
performance: {
log: function(message) {
var
@@ -723,10 +725,10 @@
};
$.fn.shape.settings = {
// module info
- moduleName : 'Shape Module',
+ name : 'Shape',
// debug content outputted to console
debug : true,
// verbose debug output
\ No newline at end of file