The full docs for the Product endpoint are available here: https://docs.shopify.com/api/reference/product
The example URL i provided was just a dummy one, and not a real URL
// Establish new jQuery DataTables options object | |
$scope.dtOptions = DTOptionsBuilder.newOptions() | |
.withDOM('<<t>p>'); |
The full docs for the Product endpoint are available here: https://docs.shopify.com/api/reference/product
The example URL i provided was just a dummy one, and not a real URL
var arr = [[1,2,[3]],4]; | |
// Call the method | |
var flattened = flatten(arr); | |
// Print the result out to the console.. | |
console.log(flattened); | |
function flatten(arr) { | |
var flatArray = []; |
MVC Practice. | |
Sample database connection string: | |
Data Source=mhknbn2kdz.database.windows.net;Initial Catalog=AdventureWorks2012;Integrated Security=False;User ID=sqlfamily;Password=sqlf@m1ly;Pooling=False | |
Things to touch on (in order) | |
1. Any questions / things that confuse you before starting) | |
2. Class libraries (adding references) |
{ | |
"Name":"Stripey Socks", | |
"Slug":"stripey-socks", | |
"ShortDescription":"Get some stripes rawr", | |
"LongDescription":"Three separate boxes full of stripey socks delivered to your doorstep each month. The perfect gift for your Gran!", | |
"ProductShortCode":"GF", | |
"DespatchDayOfMonth":5, | |
"DeliveryDates":[ | |
{ | |
"Date":"2016-06-05T00:00:00", |
@model Product | |
<h1>@Model.Name</h1> |
public interface IRepository<T> where T : class | |
{ | |
T Find(int id); | |
List<T> All(); | |
void Delete(int id); | |
void Update(T obj); | |
} | |
public class ProductRepository : IRepository<Product> | |
{ |
RSpec.configure do |config| | |
config.before(:suite) do | |
DatabaseCleaner.clean_with(:truncation) | |
end | |
config.before(:each) do | |
DatabaseCleaner.strategy = :transaction | |
end | |
config.before(:each, js: true) do |
{ | |
} |