Skip to content

Commit

Permalink
Revert "globalizejs#637-Make basic globalize-compiler example more ge…
Browse files Browse the repository at this point in the history
…neric"

This reverts commit ff64909.
  • Loading branch information
jacalata committed Aug 17, 2017
1 parent ff64909 commit 8f8a1d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions examples/globalize-compiler/app.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
var like, number;

// Set default locale as "en".
Globalize.locale( "en" );

// Use Globalize to format dates.
document.getElementById( "date" ).textContent = Globalize.formatDate( new Date(), {
datetime: "medium"
Expand Down
1 change: 0 additions & 1 deletion examples/globalize-compiler/development.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ <h2>Demo output</h2>
Globalize.load( weekData[ 0 ] );
Globalize.loadMessages( messages[ 0 ] );
Globalize.loadTimeZone( ianaTzData[ 0 ] );
Globalize.locale("en");

// Load and execute our App.
$.getScript( "app.js" );
Expand Down

0 comments on commit 8f8a1d2

Please sign in to comment.