Skip to content

Instantly share code, notes, and snippets.

@fatihacet
Last active May 2, 2024 05:55
Show Gist options
  • Select an option

  • Save fatihacet/2d7928cb8a450d4b81fc to your computer and use it in GitHub Desktop.

Select an option

Save fatihacet/2d7928cb8a450d4b81fc to your computer and use it in GitHub Desktop.

Revisions

  1. fatihacet revised this gist Jan 14, 2015. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion alert.js
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,8 @@
    window.IDE.appControllers.helloworld = function() {
    time = new Date().toString().match(/(\d\d:\d\d:\d\d)/)[0];
    view = new KDCustomHTMLView({
    tagName: 'h2',
    partial: 'HELLO WORLD APP LOADED!!!'
    partial: 'HELLO WORLD APP LOADED at ' + time + ' !!!'
    });

    return view;
  2. fatihacet revised this gist Jan 14, 2015. 1 changed file with 7 additions and 2 deletions.
    9 changes: 7 additions & 2 deletions alert.js
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,8 @@
    window.IDE.appControllers.helloworld = function(view) {
    console.log('......', view);
    window.IDE.appControllers.helloworld = function() {
    view = new KDCustomHTMLView({
    tagName: 'h2',
    partial: 'HELLO WORLD APP LOADED!!!'
    });

    return view;
    }
  3. fatihacet revised this gist Jan 14, 2015. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions alert.js
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,3 @@
    window.IDE.appControllers.helloworld = function() {
    console.log('......')
    window.IDE.appControllers.helloworld = function(view) {
    console.log('......', view);
    }
  4. fatihacet revised this gist Jan 14, 2015. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion alert.js
    Original file line number Diff line number Diff line change
    @@ -1 +1,3 @@
    alert(2);
    window.IDE.appControllers.helloworld = function() {
    console.log('......')
    }
  5. fatihacet created this gist Jan 14, 2015.
    1 change: 1 addition & 0 deletions alert.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    alert(2);