Imagine being paid to improve your favorite CMS!

It could be you! Umbraco HQ are hiring and are looking for both talents and senior developers. Wonderful workplace, friendly colleagues and competitive salary.

Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Chris Morley 8 posts 89 karma points
    Nov 14, 2016 @ 11:16
    Chris Morley
    1

    Leblender Controllers not compatable with "use strict" javascript mode

    When we were bundling All our Javascript together in DependencyHandler.axd, another package was setting javascript to "use strict". This caused Leblender "LeBlender.Dialog.Parameterconfig.Controller" to throw an error on scope.Add : "ReferenceError: newItem is not defined"

    Currently: $scope.add = function () { newItem = {}; ...

    Suggested: $scope.add = function () { var newItem = {}; ...

    Details: Using: 1.0.8.4 Umbraco 7.3.1

  • David Twamley 9 posts 101 karma points
    Nov 21, 2016 @ 17:37
    David Twamley
    100

    Thanks for the fix. I experienced the same and the fix worked for me as well. I put in a PR for it.

    https://github.com/Lecoati/LeBlender/pull/55

  • Chris Morley 8 posts 89 karma points
    1 week ago
    Chris Morley
    0

    Glad to see this is now been merged into the codebase and looks to be set to be released for version 1.0.9

Please Sign in or register to post replies

Write your reply to:

Draft