Questions tagged [boilerplate]

In computer programming, boilerplate is the term used to describe sections of code that have to be included in many places with little or no alteration. It is more often used when referring to languages which are considered verbose, i.e. the programmer must write a lot of code to do minimal jobs.

524 questions
0
votes
2 answers

MonoTouch boilerplate code generation

Hi I'm building a small framework to help me build app quickly. I'm using Generics all sort of techniques that help me avoid to write boilerplate code repetitively. I think it's a good idea, for my framework, to generate some code based on model…
user1449165
0
votes
1 answer

jQuery Plugin Boilerplate

i'm using the jquery boilerplate () and am having trouble accessing my options thru my differents methods. For example Plugin.prototype = { init: function() { console.log(this.options); // This output my options …
Steve
  • 309
  • 3
  • 17
0
votes
1 answer

Backbone boilerplate range error when render a detail view for selected model

I'm just starting out with backbone and using the boilerplate ( https://github.com/tbranyen/backbone-boilerplate ). My application is divided into the 3 columns: a fixed navigation list, a list of items and a detail view. When a navigation link is…
Phipps73
  • 71
  • 3
0
votes
0 answers

how to call a variable from jquery boilerplate

anyone know how to pass the defaults value to the element. this is in Jquery boilerplate. like for example the propertyname should be "this is a test" now. TIA ;(function ( $, window, undefined ) { var pluginName = 'defaultPluginName', …
koko
  • 31
  • 2
  • 6
0
votes
0 answers

On how to make a Visual Studio Template that exports from SVN, runs some code gen, etc?

I've not written a template or starter-kit for Visual Studio, so I'm not really sure which is the most appropriate for doing what I need, or if I need something even more general/powerful. What I want to do is have a template project that exports…
lucidquiet
  • 6,124
  • 7
  • 51
  • 88
0
votes
1 answer

Python template include a page if condition

i'm developing a small app with Python and Google app engine. I'm using boilerplate (https://github.com/coto/gae-boilerplate) as front-end which follows gae direction and python templates, so nothing diffrent than plain stuff. Now, what i would like…
EsseTi
  • 4,079
  • 5
  • 36
  • 63
0
votes
1 answer

Why do form control event names change when code is copied from a different project?

Scenario is: I have a button called X in project A One of the events for X is the following: private void X_KeyDown(object sender, KeyEventArgs e) {//if the user presses Ctrl + V if (e.KeyCode == Keys.Control && e.KeyCode == Keys.V) { …
whytheq
  • 34,466
  • 65
  • 172
  • 267
0
votes
1 answer

Why does Google Maps appear to be allergic to their "Hello, World!" map being put into HTML Boilerplate 3 and its jQuery?

I have a fairly trivial adaptation of the Google Maps being imported into Boilerplate 3 with its HTML. Do I need to activate the key? (I'd expect some form of more informative error message if I did.) My code is getting a blank screen; the code…
Christos Hayward
  • 5,777
  • 17
  • 58
  • 113
0
votes
1 answer

Why is my Google Maps "Hello world?" page displaying as empty?

I have the source of my page below; I tried to load Google Maps into Boilerplate 3, and am getting a blank page with no JavaScript errors. How could this be improved?