Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #99838
    admin
    Keymaster

    I set up a simple page with a button on it and I get the following error:
    Uncaught TypeError: Class extends value undefined is not a constructor or null
    The error is in smart.core.js line 405
    Here is the code:
    <!doctype html>
    <html>
    <head>
    <meta charset=”utf-8″>
    <title>Smart Test</title>
    <meta http-equiv=”X-UA-Compatible” content=”IE=edge” />
    <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
    <meta name=”viewport” content=”width=device-width, initial-scale=1.0, maximum-scale=1.0″ />
    <link rel=”stylesheet” type=”text/css” href=”source/styles/smart.default.css” />
    <script type=”text/javascript” src=”source/smart.core.js”></script>
    </head>
    <body>
    <smart-button>click</smart-button>
    </body>
    </html>

    #99843
    admin
    Keymaster

    Hi Babs,
    Here’s an example of smart-button with smart.core.js – https://codepen.io/anon/pen/dEZLEe?&editable=true. Did you download the Free version from our website? It has demos and they work.
    Regards,
    Peter Stoev
    Smart HTML Elements Team
    https://www.htmlelements.com
     
     
     

    #99844
    admin
    Keymaster

    Hi admin
    I tried that codepen example and if you look in Chrome developers console it gives the same error as the one I reported!
    In Firefox the error is reported a bit differently.
    The button works, but it reports errors.
    https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError
    Paul.

    #99845
    admin
    Keymaster

    Hi Babs,
    The reported error is resolved.
    Regards,
    Peter Stoev
    Smart HTML Elements Team
    https://www.htmlelements.com

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.