SHARE
TWEET

Untitled

a guest Mar 20th, 2017 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // --- View Model.
  2. function AppViewModel() {
  3.  
  4.   // Setting This
  5.   var self = this
  6.  
  7.   // Declaring Observables
  8.   this.locationInput = ko.observable("");
  9.  
  10.   this.locationList = ko.observablearray([]);
  11.    
  12. <script src="./js/knockout.js"></script>
  13.   <script src="./js/jquery.min.js"></script>
  14.   <script src="./js/app.js"></script>
RAW Paste Data
Top