Posts by fbadaro • 358 points
10 posts
-
1
votes0
answers377
viewsQ: Controller does not load Angular + Requirejs
I am developing an architecture to work with Angular in a large application with MVC Aspnet, in this application will not be the Angular that will treat the routes, but rather the Aspnet, so in this…
-
1
votes1
answer121
viewsA: Hash in a GET type service
After breaking a little head and having problems with other characters I did this function and worked correctly: encodeURIComponent(str).replace(/[!'()]/g, escape).replace(/\*/g, '') The problem I…
-
1
votes1
answer121
viewsQ: Hash in a GET type service
I have a service where I make a request of type GET that does a search in the groups of my application, the problem is that the user created a group called #nome-do-grupo, and when he goes to do the…
-
4
votes4
answers2383
viewsA: More important than important
Dude, try to increase the specifics of your statement, in this example I’ll put body, but can be an element before as div, .class or #id. Css of the Plugin: .foo div label { width: 150px !important;…
-
2
votes1
answer275
viewsQ: Problem with Post ajax and Javascript Object
I have the following problem, I have a construction function that will assemble an object for me: var companyConstructor = function Company(id, logo, name, language, primaryColor, secondaryColor,…
javascriptasked fbadaro 358 -
3
votes2
answers538
viewsQ: Remove Select2 parameters
I have a problem using the Select2 plugin, I need to make an AJAX request, but I need the final URL to be the following: api/user/findbyname/name And the way it’s coming is this:…
-
1
votes3
answers212
viewsA: Problem with the Bundle
I discovered a two ways to solve this problem, the first is by using a native class of the 4.5 framework new CssRewriteUrlTransform();, getting the code this way: IItemTransform cssFixer = new…
-
7
votes2
answers130
viewsA: Doubt about @media
IE8 does not support media queries, so what you can do is a fallback to it using this guy: https://github.com/scottjehl/Respond And you can implement on your front in two ways: <!-- Respond.js…
-
1
votes3
answers212
viewsQ: Problem with the Bundle
I’m developing a project and it’s time to work on the performance of it, and I went to use the scheme of bundling and minification of MVC 4.5, it worked as expected, it joined all the styles that…
-
2
votes7
answers16282
viewsA: Understanding the JSON file
Guy would be nice also you give a read on the JSON documentation, follow the links: MDN: https://developer.mozilla.org/en/docs/JSON JSON: http://www.json.org/ I see a lot of people confusing JSON…