JSLint extensions
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2695 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
/*globals svgEditor, svgCanvas, $*/
|
||||
/*jslint vars: true, eqeq: true*/
|
||||
/*
|
||||
* ext-helloworld.js
|
||||
*
|
||||
@@ -10,10 +12,10 @@
|
||||
/*
|
||||
This is a very basic SVG-Edit extension. It adds a "Hello World" button in
|
||||
the left panel. Clicking on the button, and then the canvas will show the
|
||||
user the point on the canvas that was clicked on.
|
||||
user the point on the canvas that was clicked on.
|
||||
*/
|
||||
|
||||
svgEditor.addExtension("Hello World", function() {
|
||||
svgEditor.addExtension("Hello World", function() {'use strict';
|
||||
|
||||
return {
|
||||
name: "Hello World",
|
||||
|
||||
Reference in New Issue
Block a user