Error using numeral.js in Asp.Net MVC application

0

I am trying to convert the table data to the correct monetary value, and I am using numeral.js, I have the following script

@section scripts{

    <script src="~/Scripts/jquery.bootgrid.js"></script>
    <script src="~/Scripts/numeral/numeral.min.js"></script>

    @Scripts.Render("~/bundles/jquerybootgrid")
    <script src="~/Scripts/Projeto/ControlarGrid.js"></script>

    <script type="text/javascript">        

        numeral.language("pt-br");

        var controller = "Produtos";
        var urlListar = "@Url.Action("Listar")";
        $(document).ready(configurarControles);
    </script>
}

where I have a script folder ... and a language with the en to use as default, but when it starts the script an error occurs in numeral.language("pt-br") taking into account that I am calling the file numerao.min.js

    
asked by anonymous 08.03.2017 / 14:57

0 answers