NIFI-1782 cleanup whitespace and code styles

This closes #411
This commit is contained in:
Scott Aslan 2016-05-03 15:01:10 -04:00 committed by Oleg Zhurakousky
parent 194fc048fb
commit 2824f5a23c
13 changed files with 56 additions and 44 deletions

View File

@ -646,4 +646,3 @@ This product bundles 'Fontello' which is available under an MIT license.
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View File

@ -9,4 +9,3 @@ SIL OFL 1.1
The following binary components are provided under the SIL Open Font License 1.1
(SIL OFL 1.1) FontAwesome (4.6.1 - http://fortawesome.github.io/Font-Awesome/license/)

View File

@ -27,6 +27,9 @@ nf.ng.Canvas.NavigateCtrl = (function () {
NavigateCtrl.prototype = {
constructor: NavigateCtrl,
/**
* Zoom in on the canvas.
*/
zoomIn: function () {
nf.Canvas.View.zoomIn();
@ -39,6 +42,9 @@ nf.ng.Canvas.NavigateCtrl = (function () {
});
},
/**
* Zoom out on the canvas.
*/
zoomOut: function () {
nf.Canvas.View.zoomOut();
@ -51,6 +57,9 @@ nf.ng.Canvas.NavigateCtrl = (function () {
});
},
/**
* Zoom fit on the canvas.
*/
zoomFit: function () {
nf.Canvas.View.fit();
@ -63,6 +72,9 @@ nf.ng.Canvas.NavigateCtrl = (function () {
});
},
/**
* Zoom actual size on the canvas.
*/
zoomActualSize: function () {
nf.Canvas.View.actualSize();

View File

@ -24,6 +24,7 @@ nf.ng.ServiceProvider = (function () {
};
ServiceProvider.prototype = {
constructor: ServiceProvider,
/**
* Registers the given `object` by `name`.
*
@ -33,6 +34,7 @@ nf.ng.ServiceProvider = (function () {
register: function (name, object) {
serviceProvider[name] = object;
},
/**
* Removes the given object from the registry.
*