Profile cover photo
Profile photo
David Grima (equatheque)
Directeur général CURUBI ®
Directeur général CURUBI ®
About
Posts

Post has attachment
David Grima (equatheque) commented on a post on Blogger.
VisualMathEditor version 2.0.57 add "auto save" equation on window closed or Ctrl+S pressed.

Post has attachment
David Grima (equatheque) commented on a post on Blogger.
VisualMathEditor version 2.0.56 fix new MathJax CDN.
Thanks to Dominique Rochefort.

Post has attachment

Is it a good practice to name chainable functions of an object? For example, the first letter capitalized for chainaibles functions that return this and lower case for others.

var car = new Car();
var position = car.Start().TurnLeft().Stop().getPosition();

Do JSLint should implement such controls?

Question about global declarations

1. JSLint Error: '$' was used before it was defined. > It's true.

/*jslint browser: true */
(function () {
    'use strict';
    $.DoSomeThing();
}());

2. JSLint Error: '$' was used before it was defined. > It's true.

/*jslint browser: true */
(function ($) {
    'use strict';
    $.DoSomeThing();
}($));

3. JSLint Ok > By JSLint design

/*jslint browser: true */
/*global $ */
(function () {
    'use strict';
    $.DoSomeThing();
}());

4. JSLint Ok > I think it's the best pattern

/*jslint browser: true */
(function ($) {
    'use strict';
    $.DoSomeThing();
}(window.jQuery));

5. JSLint Ok: > I think it's evil because of $ conflict

/*jslint browser: true */
var $ = window.jQuery;
(function () {
    'use strict';
    $.DoSomeThing();
}());

What do you think about the 3., 4. and 5. patterns?

For more performance and security VisualMathEditor and EquaThEque are now distributed by +CloudFlare CDN.

http://visualmatheditor.equatheque.net/site/documentation.html

http://www.equatheque.net/bibliotheque.php


Post has attachment
Hey geek ! The version 2.0.50 of Visual Math Editor  is now validated by JSLint. Thanks to Douglas Crockford for his javascript code quality tool.
See http://visualmatheditor.equatheque.net
Photo

Post has attachment

Post has attachment
David Grima (equatheque) commented on a post on Blogger.
Now you can post a comment or ask a question. I would answer you as soon as possible.

Post has attachment
Une nouvelle version de mon éditeur d’équation que j’ai renommé pour l’occasion Visual Math Editor.
Wait while more posts are being loaded