Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3019

Re: SAPUI5 pocket calculator in JavaScript

$
0
0

Hi Ewen

 

You may want to look at this

    var oDataButtons = [{

      text:"{ON/OFF}",

      text:"{√}",

      text:"{%}",

      text:"{/}"

    }, {

      text:"{7}",

      text:"{8}",

      text:"{9}",

      text:"{*}"

    }, {

      text:"{4}",

      text:"{5}",

      text:"{6}",

      text:"{-}"

    }, {

      text:"{1}",

      text:"{2}",

      text:"{3}",

      text:"{+}"

    }, {

      text:"{0}",

      text:"{.}",

      text:"{=}"

    }];

 

You cannot have object of the same key. you have 4 identical keys in an object.


Viewing all articles
Browse latest Browse all 3019

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>