<NME> app.js
<BEF> var script = document.getElementById('start');
var isIE8 = script && script.getAttribute('data-browser') === 'ie8';
var jqueryLink = isIE8 ? '//code.jquery.com/jquery-1.11.3' : '//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery';

require.config({
    baseUrl: 'src/js',
    paths: {
        jquery: jqueryLink,
        materialize: '../materialize/materialize',
        lang: '../../lang/materialnote-it-IT'
    },
    shim: {
        materialize: {
            deps: ['jquery']
        },
        lang: {
            deps: ['jquery']
        }
    },
    packages: [{
        name: 'materialnote',
        main: 'materialnote',
        location: './'
    }]
});

require(['jquery'], function ($) {
    var requireByPromise = function (paths) {
        return $.Deferred(function (deferred) {
            require(paths, function () {

    var promise = $.Deferred();

    // editor type setting
    switch ($('script[data-editor-type]').data('editor-type')) {
        case 'lite':
        promise = requireByPromise(['materialnote/lite/settings']);
        break;
        
        case 'materialize':
        promise = requireByPromise(['materialize', 'materialnote/bs3/settings']).then(function () {
            return requireByPromise(['lang']);
        });
        break;

        case 'materialize':
        promise = requireByPromise(['materialnote/materialize/settings']);
        break;
    }

    promise.then(function () {
        return requireByPromise(['lang']);
    }).then(function () {
        // initialize materialNote
        $.each($('.materialnote'), function(index, node) {
            $(node).materialnote({
                height: 300,
                lang: 'it-IT',
                posIndex: index,
                toolbar: [
                ['misc', ['fullscreen', 'codeview', 'undo', 'redo', 'help']]
            ]
        });
    });
});
                    ['insert', ['picture', 'link', 'video', 'table', 'hr']],
                    ['misc', ['fullscreen', 'codeview', 'undo', 'redo', 'help']]
                ]
            });
        });

        // hack to make waves work on this demo
        Waves.displayEffect();
    });
});

<MSG> fixed waves on main demo

<DFF> @@ -31,14 +31,16 @@ require(['jquery', 'materialnote'], function ($) {
 
     var promise = $.Deferred();
 
+    require(['materialize']);
+
     // editor type setting
     switch ($('script[data-editor-type]').data('editor-type')) {
         case 'lite':
         promise = requireByPromise(['materialnote/lite/settings']);
         break;
-        
+
         case 'materialize':
-        promise = requireByPromise(['materialize', 'materialnote/bs3/settings']).then(function () {
+        promise = requireByPromise(['materialnote/bs3/settings']).then(function () {
             return requireByPromise(['lang']);
         });
         break;
@@ -61,5 +63,8 @@ require(['jquery', 'materialnote'], function ($) {
                 ['misc', ['fullscreen', 'codeview', 'undo', 'redo', 'help']]
             ]
         });
+
+        // hack to make waves work on this demo
+        Waves.displayEffect();
     });
 });

fixed waves on main demo